45 TOC · Automata & Languages questions from the Computer Science Fundamentals bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Sign up free to see every answer with its explanation and ask the AI tutor.
A.a finite-state machine with exactly one transition per state and input symbol, accepting regular languages
B.a pattern notation using union, concatenation, and star that exactly describes the regular languages
C.an abstract model with an infinite tape and head that defines the limit of what is computable
D.a finite, non-empty set of symbols from which strings of a language are formed
Answer + AI explanation with a free account
2. Which term means: "a finite-state machine with exactly one transition per state and input symbol, accepting regular languages"?
Junior
A.nondeterministic finite automaton (NFA)
B.undecidable problem
C.pumping lemma
D.deterministic finite automaton (DFA)
Answer + AI explanation with a free account
3. Which statement is correct?
Junior
A.deterministic finite automaton (DFA) — a finite-state machine allowing multiple or epsilon transitions, equivalent in power to a DFA
B.deterministic finite automaton (DFA) — a problem for which no algorithm can always halt with the correct answer, such as the halting problem
C.deterministic finite automaton (DFA) — a finite-state machine with exactly one transition per state and input symbol, accepting regular languages
D.deterministic finite automaton (DFA) — the four-level classification of grammars: type 0 recursively enumerable down to type 3 regular
Answer + AI explanation with a free account
4. What is nondeterministic finite automaton (NFA)?
Junior
A.a finite-state machine allowing multiple or epsilon transitions, equivalent in power to a DFA
B.a finite, non-empty set of symbols from which strings of a language are formed
C.a pattern notation using union, concatenation, and star that exactly describes the regular languages
D.the undecidable question of whether an arbitrary program will eventually stop on a given input
Answer + AI explanation with a free account
5. Which term means: "a finite-state machine allowing multiple or epsilon transitions, equivalent in power to a DFA"?
Junior
A.nondeterministic finite automaton (NFA)
B.decidable language
C.pumping lemma
D.Turing machine
Answer + AI explanation with a free account
6. Which statement is correct?
Junior
A.nondeterministic finite automaton (NFA) — the undecidable question of whether an arbitrary program will eventually stop on a given input
B.nondeterministic finite automaton (NFA) — the four-level classification of grammars: type 0 recursively enumerable down to type 3 regular
C.nondeterministic finite automaton (NFA) — a finite-state machine allowing multiple or epsilon transitions, equivalent in power to a DFA
D.nondeterministic finite automaton (NFA) — an abstract model with an infinite tape and head that defines the limit of what is computable
Answer + AI explanation with a free account
7. What is regular language?
Junior
A.a problem for which no algorithm can always halt with the correct answer, such as the halting problem
B.a language whose strings a Turing machine accepts, though it may loop forever on rejected strings
C.a language for which a Turing machine always halts with a correct yes or no answer
D.a language that can be recognized by a finite automaton and described by a regular expression
Answer + AI explanation with a free account
8. Which term means: "a language that can be recognized by a finite automaton and described by a regular expression"?
Junior
A.recursively enumerable language
B.regular language
C.alphabet
D.undecidable problem
Answer + AI explanation with a free account
9. Which statement is correct?
Junior
A.regular language — an abstract model with an infinite tape and head that defines the limit of what is computable
B.regular language — a language that can be recognized by a finite automaton and described by a regular expression
C.regular language — a finite, non-empty set of symbols from which strings of a language are formed
D.regular language — a grammar that allows some string to have more than one distinct parse tree
Answer + AI explanation with a free account
10. What is regular expression?
Junior
A.a language for which a Turing machine always halts with a correct yes or no answer
B.a finite automaton augmented with a stack, recognizing exactly the context-free languages
C.a pattern notation using union, concatenation, and star that exactly describes the regular languages
D.the undecidable question of whether an arbitrary program will eventually stop on a given input
Answer + AI explanation with a free account
11. Which term means: "a pattern notation using union, concatenation, and star that exactly describes the regular languages"?
Junior
A.halting problem
B.recursively enumerable language
C.undecidable problem
D.regular expression
Answer + AI explanation with a free account
12. Which statement is correct?
Junior
A.regular expression — a finite, non-empty set of symbols from which strings of a language are formed
B.regular expression — a finite automaton augmented with a stack, recognizing exactly the context-free languages
C.regular expression — a pattern notation using union, concatenation, and star that exactly describes the regular languages
D.regular expression — a grammar that allows some string to have more than one distinct parse tree
Answer + AI explanation with a free account
13. What is alphabet?
Junior
A.a finite, non-empty set of symbols from which strings of a language are formed
B.a pattern notation using union, concatenation, and star that exactly describes the regular languages
C.a property every regular language must satisfy, used to prove certain languages are not regular
D.the undecidable question of whether an arbitrary program will eventually stop on a given input
Answer + AI explanation with a free account
14. Which term means: "a finite, non-empty set of symbols from which strings of a language are formed"?
Junior
A.recursively enumerable language
B.pushdown automaton (PDA)
C.alphabet
D.regular expression
Answer + AI explanation with a free account
15. Which statement is correct?
Junior
A.alphabet — a finite, non-empty set of symbols from which strings of a language are formed
B.alphabet — a language that can be recognized by a finite automaton and described by a regular expression
C.alphabet — a finite automaton augmented with a stack, recognizing exactly the context-free languages
D.alphabet — a grammar that allows some string to have more than one distinct parse tree
Answer + AI explanation with a free account
16. What is context-free grammar (CFG)?
Mid
A.a set of production rules with a single nonterminal on each left side, generating context-free languages
B.a property every regular language must satisfy, used to prove certain languages are not regular
C.a language whose strings a Turing machine accepts, though it may loop forever on rejected strings
D.a pattern notation using union, concatenation, and star that exactly describes the regular languages
Answer + AI explanation with a free account
17. Which term means: "a set of production rules with a single nonterminal on each left side, generating context-free languages"?
Mid
A.context-free grammar (CFG)
B.nondeterministic finite automaton (NFA)
C.ambiguous grammar
D.Chomsky hierarchy
Answer + AI explanation with a free account
18. Which statement is correct?
Mid
A.context-free grammar (CFG) — a pattern notation using union, concatenation, and star that exactly describes the regular languages
B.context-free grammar (CFG) — a set of production rules with a single nonterminal on each left side, generating context-free languages
C.context-free grammar (CFG) — the undecidable question of whether an arbitrary program will eventually stop on a given input
D.context-free grammar (CFG) — the four-level classification of grammars: type 0 recursively enumerable down to type 3 regular
Answer + AI explanation with a free account
19. What is pushdown automaton (PDA)?
Mid
A.a finite, non-empty set of symbols from which strings of a language are formed
B.a language for which a Turing machine always halts with a correct yes or no answer
C.a finite automaton augmented with a stack, recognizing exactly the context-free languages
D.a language whose strings a Turing machine accepts, though it may loop forever on rejected strings
Answer + AI explanation with a free account
20. Which term means: "a finite automaton augmented with a stack, recognizing exactly the context-free languages"?
Mid
A.pumping lemma
B.context-free grammar (CFG)
C.regular expression
D.pushdown automaton (PDA)
Answer + AI explanation with a free account
21. Which statement is correct?
Mid
A.pushdown automaton (PDA) — a finite automaton augmented with a stack, recognizing exactly the context-free languages
B.pushdown automaton (PDA) — a property every regular language must satisfy, used to prove certain languages are not regular
C.pushdown automaton (PDA) — a problem for which no algorithm can always halt with the correct answer, such as the halting problem
D.pushdown automaton (PDA) — a pattern notation using union, concatenation, and star that exactly describes the regular languages
Answer + AI explanation with a free account
22. What is Turing machine?
Mid
A.a pattern notation using union, concatenation, and star that exactly describes the regular languages
B.the four-level classification of grammars: type 0 recursively enumerable down to type 3 regular
C.a set of production rules with a single nonterminal on each left side, generating context-free languages
D.an abstract model with an infinite tape and head that defines the limit of what is computable
Answer + AI explanation with a free account
23. Which term means: "an abstract model with an infinite tape and head that defines the limit of what is computable"?
Mid
A.nondeterministic finite automaton (NFA)
B.decidable language
C.pushdown automaton (PDA)
D.Turing machine
Answer + AI explanation with a free account
24. Which statement is correct?
Mid
A.Turing machine — a language for which a Turing machine always halts with a correct yes or no answer
B.Turing machine — a language that can be recognized by a finite automaton and described by a regular expression
C.Turing machine — a property every regular language must satisfy, used to prove certain languages are not regular
D.Turing machine — an abstract model with an infinite tape and head that defines the limit of what is computable
Answer + AI explanation with a free account
25. What is Chomsky hierarchy?
Mid
A.the four-level classification of grammars: type 0 recursively enumerable down to type 3 regular
B.a set of production rules with a single nonterminal on each left side, generating context-free languages
C.a finite automaton augmented with a stack, recognizing exactly the context-free languages
D.an abstract model with an infinite tape and head that defines the limit of what is computable
Answer + AI explanation with a free account
26. Which term means: "the four-level classification of grammars: type 0 recursively enumerable down to type 3 regular"?
Mid
A.ambiguous grammar
B.Chomsky hierarchy
C.deterministic finite automaton (DFA)
D.halting problem
Answer + AI explanation with a free account
27. Which statement is correct?
Mid
A.Chomsky hierarchy — the four-level classification of grammars: type 0 recursively enumerable down to type 3 regular
B.Chomsky hierarchy — a finite, non-empty set of symbols from which strings of a language are formed
C.Chomsky hierarchy — a finite automaton augmented with a stack, recognizing exactly the context-free languages
D.Chomsky hierarchy — a language for which a Turing machine always halts with a correct yes or no answer
Answer + AI explanation with a free account
28. What is ambiguous grammar?
Mid
A.a grammar that allows some string to have more than one distinct parse tree
B.a finite automaton augmented with a stack, recognizing exactly the context-free languages
C.the four-level classification of grammars: type 0 recursively enumerable down to type 3 regular
D.a property every regular language must satisfy, used to prove certain languages are not regular
Answer + AI explanation with a free account
29. Which term means: "a grammar that allows some string to have more than one distinct parse tree"?
Mid
A.ambiguous grammar
B.context-free grammar (CFG)
C.pushdown automaton (PDA)
D.regular expression
Answer + AI explanation with a free account
30. Which statement is correct?
Mid
A.ambiguous grammar — an abstract model with an infinite tape and head that defines the limit of what is computable
B.ambiguous grammar — a finite-state machine allowing multiple or epsilon transitions, equivalent in power to a DFA
C.ambiguous grammar — a grammar that allows some string to have more than one distinct parse tree
D.ambiguous grammar — a set of production rules with a single nonterminal on each left side, generating context-free languages
Answer + AI explanation with a free account
Showing 30 of 45 TOC · Automata & Languages questions — the full set, with answers, explanations and an AI tutor on every question, is inside.
Free to start
Answers, AI explanations, and a free readiness check
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. One full AI mock interview, scored like a real panel, is free when you sign up.