GATEverse Practice, past papers & mock tests
GATE 2018
Theory of ComputationPush Down Automata: CFL & DCFLhardMCQ2 marks
Consider the following languages: I. { a^m b^n c^p d^q | m + p = n + q, where m, n, p, q >= 0 } II. { a^m b^n c^p d^q | m = n and p = q, where m, n, p, q >= 0 } III. { a^m b^n c^p d^q | m = n = p and p ≠ q, where m, n, p, q >= 0 } IV. { a^m b^n c^p d^q | mn = p + q, where m, n, p, q >= 0 } Which of the languages above are context-free?
Save your progress

Related Theory of Computation PYQs