Home » Compiler Design » Compiler design miscellaneous » Question

Compiler design miscellaneous

  1. Match all items in List I with correct options from those given in List II

    1. P - 4, Q - 1, R - 2, S - 3
    2. P - 3, Q - 1, R - 4, S - 2
    3. P - 3, Q - 4, R - 1, S - 2
    4. P - 2, Q - 1, R - 4, S - 3
Correct Option: B

Regular expressions are meant for lexical analysis to define tokens.Pushdown Automata is used to accept context free language which are used for syntax analysis.
Data flow analysis is a technique for code optimization.
Register allocation is used for code generation.
So P-3, Q-1, R-4, S-2.



Your comments will be displayed only after manual approval.