MCQ
Q.
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
Correct Answer: B
Top down parsin: We begin with the start symbol and compare the right side of the different productions against the first piece of input to see which of the productions should be used.