InterviewSolution
Saved Bookmarks
| 1. |
What is terminal table?(a) Contains all constants in the program(b) Is a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure(c) Consist of a full or partial list of the token is as they appear in the program created by lexical analysis and used for syntax analysis and interpretation(d) Is a permanent table which lists all keywords and special symbols of the language in symbolic formThe question was asked during an interview for a job.This question is from LR Parser in portion Bottom Up Parsing of Compiler |
|
Answer» RIGHT answer is (d) Is a permanent table which lists all KEYWORDS and special symbols of the language in symbolic form The BEST explanation: A permanent database that has entry for each terminal symbols such as arithmetic operators, keywords, punctuation characters such as ‘;’, ‘,’etc FIELDS: Name of the SYMBOL. |
|