• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

GATE | Sudo GATE 2020 Mock II (10 January 2019) | Question 43

Let G1 and G2 be two grammars such that: G1:
S →AS | ε
A → A1 | 0A1 | 01 
G2:
S → AB | aaB
A →  a | Aa
B → b 
Which of the following statement is correct about the following statements:

(A)

Only G1 is Ambiguous grammar.

(B)

Only G2 is Ambiguous grammar.

(C)

Both G1 and G2 are Ambiguous grammar.

(D)

None of the above is true.

Answer

Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!

Last Updated :
Share your thoughts in the comments