All mock tests are FREE till 31 December — register to save your progress
Unit 8 · Theory of Computation and Compilers Paper 2 CS · June 2024 (Cancelled Exam)

Match List I with List II
List IList II
A. Back TrackingI. Automata
B. Infinite languages with matching numbersII. Undecidable Problem
C. Canonical LR ParserIII. Predictive Parser
D. Post Correspondence ProblemIV. Large number of states

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. A-III, B-I, C-IV, D-II

Explanation

Backtracking is what a predictive parser avoids, so it is paired with predictive parsing (III). Infinite languages with matching counts are handled by (pushdown) automata (I). Canonical LR parsers have a large number of states (IV). Post's Correspondence Problem is undecidable (II).

More Theory of Computation and Compilers questions