1.

Consider the context-free grammars over the alphabet {a, b, c} given below. S and T are non-terminals.G1: S → aSb | T, T → cT | ∈G2: S → bSa | T, T → cT | ∈The language L(G1) ∩ L(G2) is

A. Finite
B. Not finite but regular
C. Context-Free but not regular
D. Recursive but not context-free
Answer» C. Context-Free but not regular


Discussion

No Comment Found

Related MCQs