Compiler Design
Lexical Analysis & Parsing
GATE 2025
Medium
Which ONE of the following statements is FALSE regarding the symbol table?
- ASymbol table is responsible for keeping track of the scope of variables.
- BSymbol table can be implemented using a binary search tree.
- Symbol table is not required after the parsing phase.
- DSymbol table is created during the lexical analysis phase.
Explanation
The symbol table remains essential throughout semantic analysis, code generation, and optimization — it is very much still needed after parsing, making this statement FALSE. The other three statements are standard, correct facts about symbol tables.
Source: GATE CS 2025 (Session 1 / CS1) (2025)
This question is part of a 15-day revision cycle — sign in and Project Forge will bring it back the day before you'd forget it.