[amp_mcq option1=”Terminal table” option2=”Literal table” option3=”Identifier table” option4=”Reductions E. None of the above” correct=”option2″]
The correct answer is: B. Literal table
A literal table is a table created by lexical analysis to describe all literals used in the source program. A literal is a constant value that is represented in the source program in its actual form, such as a number, string, or character.
A terminal table is a table that contains all of the terminal symbols in the grammar of a language. A terminal symbol is a symbol that cannot be further divided into smaller symbols.
An identifier table is a table that contains all of the identifiers in the source program. An identifier is a name that is used to refer to a variable, function, or other object in the program.
Reductions are a set of rules that are used to transform a string of symbols into a new string of symbols. Reductions are used in parsing to convert a parse tree into a more compact representation.
None of the above is the correct answer because it does not describe a table that is created by lexical analysis.