GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2022

GATE 2022 · CS · MCQ · 1 mark · Compiler Design › Syntax Analysis (Parsing)

GATE 2022 Computer Science and Information Technology question: Which one of the following statements is TRUE?

Which one of the following statements is TRUE?

  1. (A)

    The parser for a grammar cannot have reduce-reduce conflict if the parser for does not have reduce-reduce conflict.

  2. (B)

    Symbol table is accessed only during the lexical analysis phase.

  3. (C)

    Data flow analysis is necessary for run-time memory management.

  4. (D)

    parsing is sufficient for deterministic context-free languages.

Show answer

Official answer: D

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion