MCQ Collection
Theory of Automata & Formal Languages MCQs
MCQs on automata theory, grammars, regular languages, and formal language concepts.
Choose an option to check your answer.
Correct Answer: B. a language accepted by a Turing machine that may not halt on non-members
Explanation:
The correct answer is a language accepted by a Turing machine that may not halt on non-members.
Choose an option to check your answer.
Correct Answer: B. removing useless, unreachable, or non-generating symbols and unnecessary productions
Explanation:
CFG simplification is correctly described as removing useless, unreachable, or non-generating symbols and unnecessary productions.
Choose an option to check your answer.
Correct Answer: D. a CFG form where productions are mainly A -> BC or A -> a, with limited epsilon handling
Explanation:
Chomsky Normal Form is correctly described as a CFG form where productions are mainly A -> BC or A -> a, with limited epsilon handling.
Choose an option to check your answer.
Correct Answer: C. a language accepted by a Turing machine that may not halt on non-members
Explanation:
recognizable language is correctly described as a language accepted by a Turing machine that may not halt on non-members.
Choose an option to check your answer.
Correct Answer: C. removing useless, unreachable, or non-generating symbols and unnecessary productions
Explanation:
In this course context, CFG simplification means removing useless, unreachable, or non-generating symbols and unnecessary productions.
Choose an option to check your answer.
Correct Answer: C. a CFG form where productions are mainly A -> BC or A -> a, with limited epsilon handling
Explanation:
In this course context, Chomsky Normal Form means a CFG form where productions are mainly A -> BC or A -> a, with limited epsilon handling.
Choose an option to check your answer.
Correct Answer: A. a language accepted by a Turing machine that may not halt on non-members
Explanation:
In this course context, recognizable language means a language accepted by a Turing machine that may not halt on non-members.
Choose an option to check your answer.
Correct Answer: B. removing useless, unreachable, or non-generating symbols and unnecessary productions
Explanation:
The suitable explanation is removing useless, unreachable, or non-generating symbols and unnecessary productions.
Choose an option to check your answer.
Correct Answer: D. a CFG form where productions are mainly A -> BC or A -> a, with limited epsilon handling
Explanation:
The suitable explanation is a CFG form where productions are mainly A -> BC or A -> a, with limited epsilon handling.
Choose an option to check your answer.
Correct Answer: B. a language accepted by a Turing machine that may not halt on non-members
Explanation:
The suitable explanation is a language accepted by a Turing machine that may not halt on non-members.
Choose an option to check your answer.
Correct Answer: A. a grammar symbol that does not contribute to deriving terminal strings from the start symbol
Explanation:
The correct answer is a grammar symbol that does not contribute to deriving terminal strings from the start symbol.
Choose an option to check your answer.
Correct Answer: A. a CFG form where productions begin with a terminal followed by zero or more non-terminals
Explanation:
The correct answer is a CFG form where productions begin with a terminal followed by zero or more non-terminals.