GATEverse Practice, past papers & mock tests
GATE 2017 · CS2 - Afternoon
Theory of ComputationPush Down Automata: CFL & DCFLmediumMCQ2 marks
Consider the following languages: L1 = { a^p | p is a prime number } L2 = { a^n b^m c^(2m) | n >= 0, m >= 0 } L3 = { a^n b^n c^(2n) | n >= 0 } L4 = { a^n b^n | n >= 1 } Which of the following are CORRECT? I. L1 is context-free but not regular. II. L2 is not context-free. III. L3 is not context-free but recursive. IV. L4 is deterministic context-free.
Save your progress

Related Theory of Computation PYQs