Back to the 2019 paper

Module 2: Context-free languages and pushdown automata

20197m

Construct a push-down automata that accepts the following language:
L={uawb∣u and w∈{a,b}∗ and ∣u∣=∣w∣}L = \{uawb \mid u \text{ and } w \in \{a, b\}^* \text{ and } |u| = |w|\}

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.