The following Context-Free Grammar (CFG) : S → aB | bA A → a | as | bAA B → b…
PYQ UGC NET 2014
The following Context-Free Grammar (CFG) :
S → aB | bA
A → a | as | bAA
B → b | bs | aBB
will generate
- A.
odd numbers of a’s and odd numbers of b’s
- B.
even numbers of a’s and even numbers of b’s
- C.
equal numbers of a’s and b’s
- D.
different numbers of a’s and b’s
Attempted by 57 students.
Sign up free to check your answer
Sign up freeLoading lesson…

