Which ONE of the following statements is FALSE regarding the symbol table?

A.

Symbol table is responsible for keeping track of the scope of variables.

B.

Symbol table can be implemented using a binary search tree.

C.

Symbol table is not required after the parsing phase

D.

Symbol table is created during the lexical analysis phase.

Solution:

Symbol table is created during the lexical analysis phase to keep track of information about the variables like scope and lifetime, which can also be implemented using binary search tree and is required in all the phases of compiles.