Back to the 2021 paper

Module 2: Context-free languages and pushdown automata

20212m

The language {ambncm+n∣m,n≥1}\{a^mb^nc^{m+n} \mid 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

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.