← All practice quizzes
Quiz: CFG and PDA
5 questionsNo time limitPass: 60%+10 XP on first pass
Grammars that describe nested structure: CFG definitions, derivations and parse trees, ambiguity (the dangling-else and expression grammars), Chomsky Normal Form, the CYK membership algorithm, and pushdown automata for aⁿbⁿ and balanced brackets — all runnable in Python.
Log in to take the quiz
Free account · see your score, answers and explanations, earn XP