The grammar G1 is defined with productions S → 0A|...
Guiding State PSC aspirants since 2016 50,000+ students · 1,000+ final selections Exam Calendar Results Call 9116926003
pscnotes
Pick your state
MPSC Prelims previous year questions

The grammar G1 is defined with productions S → 0A|1B, A → 0AA|1S|1, B → 1BB|0S|0. The grammar G2 is defined with productions S → AB|aaB, A → A|Aa, B → b. Which grammar is/are ambiguous?

Asked in Meghalaya PSC QUESTION BOOKLET: SERIES I

  1. Only G1
  2. Only G2
  3. Both G1 and G2
  4. Both G1 and G2 are unambiguous

Answer under review: our editors are checking this question. Try the other MPSC Prelims previous year questions questions meanwhile.

More MPSC Prelims previous year questions questions

All 1,843 MPSC Prelims previous year questions questions →