Skip to content
Tape‑n‑Trace
PracticeSearch 26 tools

← All exercises

8 marks · CO3 · AnalyseQuestion Bank #32 · Module 3 · Context-free grammars

Answer in prose

Obtain a CFG generating strings of a’s and b’s where L = {w : |w| mod 3 = 0}.

Marked by handThis is a prose question — no honest automatic grader exists for it, so the tool does not pretend to have one. Write your answer as you would in the exam, then use the hints to check yourself.
Hints1 available