Back to the 2022 paper

Module 2: Context-free languages and pushdown automata

20222m

The language {ambncm+n/m,n1}\{ a^m b^n c^{m+n} / m, n \ge 1 \} is
(i) regular
(ii) context-free but not regular
(iii) Context-sensitive but not context free
(iv) type-0 but not context sensitive

Similar questions