Back to the 2020 paper

Module 2: Context-free languages and pushdown automata

20207m

Show given grammar over alphabet {a,b}\{a, b\} verify whether it is ambiguous or unambiguous:

S→a∣abSb∣aAbS \to a \mid abSb \mid aAb
A→bS∣aAAbA \to bS \mid aAAb

Similar questions

Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.