Menu

Parsing Questions

MCQ
31.
Which of the following is TRUE?
forum Discussion
MCQ
32.
Consider the grammar defined by the following production rules:
  S --> T * P 
    T --> U | T * U
    P --> Q + P | Q
    Q --> Id
    U --> Id
Which one of the following is TRUE?
forum Discussion
MCQ
33.
The grammar A ? AA | (A) | e is not suitable for predictive-parsing because the grammar is?
forum Discussion
MCQ
34.
Consider the grammar.

E ? E + n | E 
forum Discussion
MCQ
35.
Which grammar rules violate the requirements of an operator grammar?

1.  P ? Q R                    
2.  P ? Q s R
3.  P ? ?       
4.  P ? Q t R r
forum Discussion
MCQ
36.
Which of the following suffices to convert an arbitrary CFG to an LL(1) grammar?
forum Discussion
MCQ
37.
In a bottom-up evaluation of a syntax directed definition its inherited attributes can do which of the following?
forum Discussion
MCQ
38.
Inherited attribute is a natural choice in ___________
forum Discussion
MCQ
39.
YACC builds up __________
forum Discussion
MCQ
40.
In an absolute loading scheme which loader function is accomplished by assembler?
forum Discussion