Multiple choice

Which of the following tables is a permanent database that has an entry for each terminal symbol?

  1. Terminal Table

  2. Literal Table

  3. Identifier Table

  4. None of these

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The Terminal Table is a permanent database in compiler design that stores entries for each terminal symbol (tokens) in the language. Terminal symbols are the basic atomic elements that cannot be further broken down, such as keywords, operators, and identifiers. The Literal Table stores string/numeric constants, the Identifier Table tracks variable names, and these are distinct from the Terminal Table.