Theory of Computation MCQ
Test your Theory of Computation knowledge with 100 multiple choice questions covering fundamentals to advanced concepts, with instant feedback and explanations.
What is a finite automaton (FA)?
2What is a regular language?
3What does DFA stand for?
4What is the difference between a DFA and an NFA?
5What is a regular expression?
6What is a context-free grammar (CFG)?
7What type of automaton recognizes context-free languages?
8What is a Turing machine?
9What does the Church-Turing thesis claim?
10What is the Halting Problem?
11What is a decidable language?
12What is the Chomsky hierarchy?
13What does ε (epsilon) represent in formal language theory?
14What is the Kleene star operation?
15What is an ε-NFA?
16What is the language of a grammar?
17What is a terminal symbol in a grammar?
18What is ambiguity in a context-free grammar?
19What is the union of two regular languages?
20What is the complement of a language L over alphabet Σ?
21What is a parse tree?
22What is the language {aⁿbⁿ | n ≥ 0}?
23What does it mean for a language to be recursively enumerable (RE)?
24What is a leftmost derivation?
25What is a dead state in a DFA?
26What is the state minimization of a DFA?
27What does the subset construction algorithm do?
28What is Greibach Normal Form (GNF)?
29What is Chomsky Normal Form (CNF)?
30What is a linear bounded automaton (LBA)?
31What is a transducer?
32What is a language that is RE but not decidable?
33What is the CYK (Cocke-Younger-Kasami) algorithm?
34What is the difference between a recognizer and a decider?
35What does it mean for a problem to be undecidable?
36What is a nondeterministic Turing machine (NTM)?
37What is the significance of the Empty Language ∅ in formal languages?
38What is a production rule in a grammar?
39What is a Moore machine?
40What is the concatenation of languages L₁ and L₂?
What is the Pumping Lemma for regular languages used for?
2What language does the language {aⁿbⁿcⁿ | n ≥ 1} belong to?
3What is a closure property in formal language theory?
4What does the Myhill-Nerode theorem characterize?
5What is Rice's theorem?
6What is the Earley parser algorithm used for?
7What is the difference between LL and LR parsing?
8What is the emptiness problem for CFGs?
9What is reduction in computability theory?
10What is the Post Correspondence Problem (PCP)?
11What is the complexity class P?
12What is the complexity class NP?
13What is an NP-complete problem?
14What was the first problem proven NP-complete?
15What is the Pumping Lemma for context-free languages?
16What is the complexity class PSPACE?
17What is Savitch's theorem?
18What is the complexity class co-NP?
19What is the polynomial hierarchy?
20What is a Mealy machine?
21What is the two-stack PDA and its expressive power?
22What is a time-constructible function?
23What is the relationship between decidability and semi-decidability?
24What is a 3-SAT problem?
25What is the space complexity class L (LOGSPACE)?
26What is the self-reference in Kleene's recursion theorem?
27What is an oracle Turing machine?
28What is interactive proof system (IP class)?
29What is zero-knowledge proof?
30What does the acronym EXPTIME mean?
31How do you systematically convert a regular expression into an NFA?
32How do you prove that the language L = {0ⁿ1ⁿ | n ≥ 0} is not regular?
33Which closure property distinguishes regular languages from context-free languages?
34How would you construct a context-free grammar for the language {aⁱbʲ | i ≠ j}?
35Why is left recursion a problem for top-down (LL) parsers, and how is it resolved?
36How is the product construction used to build a DFA for the intersection of two regular languages?
37What technique converts a CFG into Chomsky Normal Form, and why is it useful?
38Which of the following problems about finite automata is decidable?
39How does the subset construction explain why an n-state NFA can require up to 2ⁿ states when converted to a DFA?
40How can you show that context-free languages are closed under concatenation but not under intersection?
What does the Time Hierarchy Theorem prove?
2What is the Immerman-Szelepcsényi theorem?
3What is the significance of showing that a language is not context-free using the CFL Pumping Lemma?
4What is Ladner's theorem and what does it imply?
5What is an oblivious Turing machine and why is it important for complexity?
6What is descriptive complexity theory?
7What is the Karp-Lipton theorem?
8What is Arthur-Merlin protocol (AM class)?
9What is the connection between Boolean circuits and uniform complexity classes?
10What is the Razborov-Smolensky theorem?
11What is the Toda's theorem in complexity theory?
12What is the #P complexity class?
13What is the relationship between NL and co-NL?
14What is the Baker-Gill-Solovay result about oracles?
15What is the PCP theorem?
16What is derandomization and its connection to circuit lower bounds?
17What is the complexity class BPP?
18What is a universal Turing machine?
19What is the connection between NP-hardness and approximation algorithms?
20What does the Space Hierarchy Theorem establish, and how does it differ from the Time Hierarchy Theorem?