Match all items in Group-1 with correct options from those given in Group-2.
2025
Match all items in Group-1 with correct options from those given in Group-2.

- A.
P-4, Q-1, R-2, S-3
- B.
P-3, Q-1, R-4, S-2
- C.
P-2, Q-1, R-4, S-3
- D.
P-3, Q-4, R-1, S-2
Attempted by 59 students.
Show answer & explanation
Correct answer: B
The correct matching is P-3, Q-1, R-4, S-2. Regular expressions are used in lexical analysis to define tokens. Pushdown automata recognize context-free languages during syntax analysis. Dataflow analysis is a technique used in code optimization to gather information about data flow. Register allocation assigns variables to registers during code generation, which is part of optimization.