Professional Documents
Culture Documents
25 is [ ]
A) 3 B) 4 C) 5 D) 6
2. Among simple LR (SLR), canonical LR, and look-ahead LR (LALR), which of the
following pairs identify the method that is very easy to implement and the method that is
the most powerful, in that order? [ ]
(A) SLR, LALR
(B) Canonical LR, LALR
(C) SLR, canonical LR
(D) LALR, canonical LR
(A) ambiguous
(B) left-recursive
(C) right-recursive
(D) an operator-grammar
5. The action of passing the source program into the proper syntactic classes is known as
[ ]
A) Lexical analysis B) Syntax analysis C) Interpretation analysis D) Parsing
12.In lexical analysis the original string that comprises the token is called a
_______________.
17.A right most derivation in reverse often called a canonical reduction sequence is
obtained by -----
20._________ is the sequence of characters that are matched with pattern of the token