[amp_mcq option1=”Terminal table” option2=”Literal table” option3=”Identifier table” option4=”Reductions E. None of the above” correct=”option1″]
The correct answer is A. Terminal table.
A terminal table is a permanent database that has an entry for each terminal symbol. It is used by the parser to determine whether a string of characters is a valid token.
A literal table is a database that contains information about literals, such as their type and value.
An identifier table is a database that contains information about identifiers, such as their type and scope.
Reductions are a set of rules that are used to reduce a grammar to a simpler form.
None of the above is a permanent database that has an entry for each terminal symbol.