A. Lexical Analysis(Scanner) 1. What is the output of lexical analyzer? a) A set of RE b) Syntax Tree c) Set of Tokens d) String Character View Answer Answer: c Explanation: A lexical analyzer coverts character sequences to set of tokens. 2. Which symbol table implementation is based on the property of locality of reference? a) Linear list b) Search tree c) Hash Table d) Self Organisation View Answer Answer: c Explanation: Hash table is used as a reference for symbol table because it is efficient. 3. Which of the following is true for operator precedence parsing? a) For all pair of non- terminalb) For all pair of non-terminals c) To delimit the handle d) None of the mentioned View Answer: a Explanation: There are two important properties for these operator precedence parsers is that it does not appear on the right side of any production and no production has two adjacent non-terminals. Implying that no production right side is empty or has two adj...