Multiple choice

The table created by lexical analysis to describes all literals used in the source program, is

  1. terminal table

  2. literal table

  3. identifier table

  4. reductions

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

In lexical analysis, the terminal table (or literal table) describes all literals and constants used in the source program. It stores token information for literals during the scanning phase. The identifier table tracks variables, reductions are part of parsing, and terminal table is the correct terminology for literals.