logo

Study resource

Context-free languages common mistakes

Study Context-free languages with curriculum-aligned Common Mistakes resources, practice links, and exam-focused support.

At a glance

common mistakes

Resource type

Topic

Context-free languages

AqaA LevelComputer ScienceTheory of computation

Common mistakes

  • Forgetting the stopping case

    Writing a recursive BNF rule without an alternative that stops the recursion.

    Fix itInclude a base alternative, such as a single terminal or empty, so that a complete string can be generated.

Related topics

Study nearby topics next