Back to the 2022 paper

Module 2: Context-Free Languages (CFL) and PDA

20227m

Construct a CFG for:

{0i1j2k∣i+j≥2k} \{ 0^i 1^j 2^k \mid i + j \ge 2k \}

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.