GATE Computer Science (CS) 2016 Shift 1 Solved Paper
© examsiri.com
Question : 52 of 65
Marks:
+1,
-0
Consider the following context-free grammars:
G1 : S → aS|B, B → b|bB
G2 : S → aA|bB, A → aA|B|ϵ, B → bB|ϵ
Which one of the following pairs of languages is generated by G1 and G2, respectively?
G1 : S → aS|B, B → b|bB
G2 : S → aA|bB, A → aA|B|ϵ, B → bB|ϵ
Which one of the following pairs of languages is generated by G1 and G2, respectively?
Go to Question: