GATE CS 2024 (Afternoon) — Question 21

Compiler DesignLexical Analysis & Parsing Architectures (LL(1), LR(1), LALR)MCQ1 mark · −1/3 if wrongEasy

Consider the following two sets: Set X P. Lexical Analyzer Q. Syntax Analyzer R. Intermediate Code Generator S. Code Optimizer Set Y 1. Abstract Syntax Tree 2. Token 3. Parse Tree 4. Constant Folding Which one of the following options is the CORRECT match from Set X to Set Y?
  1. A
    P - 4; Q - 1; R - 3; S - 2
  2. B
    P - 2; Q - 3; R - 1; S - 4
  3. C
    P - 2; Q - 1; R - 3; S - 4
  4. D
    P - 4; Q - 3; R - 2; S - 1
Practise the full 2024-AN paper
Challenge a friend: WhatsApp Telegram
From RENYXERAWhat rank do your marks get?GATE score, likely All-India Rank and qualifying marks for your category.
Practise more on Lexical Analysis & Parsing Architectures (LL(1), LR(1), LALR)Timed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group