Which of the following statement(s) is/are FALSE?

(i) The grammar S → Aa | bAc | dc | bda, A → d is LALR(1) but not SLR(1).

(ii) The grammar S → Aa | bAc | Bc | bBa, A → d, B → d

is LALR(1) but not LR(1).

1
Only (ii)
2
Both (i) and (ii)
3
Neither (i) nor (ii)
4
Only (i)
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation