Which of the following parsing techniques attempts to construct a parse tree from the root down to the leaves? A) Top-down B) Bottom-up C) Shift-reduce D) Predictive |
Card: 1 / 20 |
Fill in the blank: The construction of a predictive parser is aided by two functions associated with a grammar G: ______ and FOLLOW. |
Card: 3 / 20 |
True or False: A grammar is LL(1) if it has multiple entries in the parsing table. |
Card: 5 / 20 |
Riddle: I’m a structure that represents the syntactic structure of a string according to a grammar, with nodes that can be terminals or non-terminals. What am I? |
Card: 9 / 20 |
![]() Unlock all Flashcards with EduRev Infinity Plan Starting from @ ₹99 only
|
Fill in the blank: The algorithm for constructing an SLR parsing table requires the computation of ______ items. |
Card: 11 / 20 |
Which parsing method is known for being the most powerful but also the most complex to implement by hand? A) LL B) SLR C) CLR D) LALR |
Card: 13 / 20 |
True or False: Left recursion in a grammar can lead to infinite loops in top-down parsers. |
Card: 15 / 20 |
What type of grammar transformation is used to eliminate ambiguity caused by common prefixes? |
Card: 17 / 20 |
Fill in the blank: The ______ parsing technique uses a stack to hold grammar symbols and an input buffer to hold the string to be parsed. |
Card: 19 / 20 |