Match the following based on the language accepted by using brute force method of parsing.

Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. a-II, b-IV, c-I, d-III
Explanation
Each grammar generates strings of a's whose lengths grow in fixed steps, and the counts listed relate to the number of sentential forms a brute-force (exhaustive) parser may try. The matching follows the official key.
More Theory of Computation and Compilers questions
- What is the safest order while simplifying Context Free Grammar? ∈
- What is the Move in the cell with number 'M1' of the resultant Table?
- What is the Move in the cell with the number 'M2' of the resultant Table?
- What is the Move in the cell with number 'M3' of the resultant Table?
- What is the Move in the cell with number 'M4' of the resultant Table?
- What is the Move in the cell with number 'M5' of the resultant Table?