All mock tests are FREE till 31 December — register to save your progress
Unit 8 · Theory of Computation and Compilers Paper 2 CS · December 2023

Match List - I with List - II according to input to the compiler phase that process it :

Figure

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

Show answer & explanation

Correct answer: B. (a)-(II), (b)-(I), (c)-(IV), (d)-(III)

Explanation

The character stream goes to the lexical analyzer, tokens to the syntax analyzer, the syntax tree to the semantic analyzer, and the intermediate representation to the code generator.

More Theory of Computation and Compilers questions