| 11. |
Given an NFA with N states, the maximum number of states in an equivalent minimized DFA is at least
|
||||||||
|
Answer:
Option (b) |
| 12. |
Type checking is normally done during ____________
|
||||||||
|
Answer:
Option (c) |
| 13. |
The Grammar {S->aSbb,S->abb} is __________ grammar.
|
||||||||
|
Answer:
Option (b) |
| 14. |
The context free grammar S → SS | 0S1 | 1S0 | ɛ generates _________
|
||||||||
|
Answer:
Option (a) |
| 15. |
Which of the following parser is most powerful?
|
||||||||
|
Answer:
Option (b) |
| 16. |
Consider the following expression grammar G. E -> E - T | T T -> T + F | F F -> (E) | id Which of the following grammars are not left recursive, but equivalent to G.
|
||||||||
|
Answer:
Option (c) |
| 17. |
what is the FOLLOW of start symbol in given grammar? S->aB | ϵ B->bC | ϵ C->cS | ϵ
|
||||||||
|
Answer:
Option (d) |
| 18. |
Value of synthesized attribute at a node can be computed from the value of attributes at the _______of that node in the parse tree.
|
||||||||
|
Answer:
Option (a) |
| 19. |
Which of the following grammar rules violate the requirements of an operator grammar? (i) P -> QR (ii) P -> QsR (iii) P -> ε (iV) P -> QtRr
|
||||||||
|
Answer:
Option (b) |