Computer Sciences > Gate 2018 > Context Free Grammer
Consider the following languages:

I. {ambncpdq ∣ m + p = n + q, where m, n, p, q ≥ 0}
II. {ambncpdq ∣ m = n and p = q, where m, n, p, q ≥ 0}
III. {ambncpdq ∣ m = n = p and p ≠ q, where m, n, p, q ≥ 0}
IV. {ambncpdq ∣ mn = p + q, where m, n, p, q ≥ 0}


Which of the above languages are context-free?
A
I and IV only
B
I and II only
C
II and III only
D
II and IV only

Correct : Context Free Grammar

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......