MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following statements is false? |
| A. | Top-down parsers are LL parsers where first L stands for left-to-right scan and second L stands for a leftmost derivation. |
| B. | (000)* is a regular expression that matches only strings containing an odd number of zeroes, including the empty string. |
| C. | Bottom-up parsers are in the LR family, where L stands for left-to-right scan and R stands for rightmost derivation. |
| D. | The class of context-free languages is closed under reversal. That is, if L is any context-free language, then the language LR={WR:wϵL} is context free. |
| Answer» C. Bottom-up parsers are in the LR family, where L stands for left-to-right scan and R stands for rightmost derivation. | |