AQA A-level Computer Science (7517)Specification point 4.12.2.1

AQA 7517 4.12.2.1: Functional language programs

The free BugBot lessons that teach this point, a robot to try it on, and the past-paper questions that test it.

Lessons that teach it

  1. A13.1 The functional paradigm Functional programming
    Side effects, pure functions and referential transparency, immutability and statelessness, with the robot's side effects kept at the edges.
  2. A13.3 First-class objects and higher-order functions Functional programming
    Functions as values in variables, lists and dictionaries, passed as arguments and returned as results, lambdas, closures and a robot…
  3. A13.5 Map, filter and fold Functional programming
    The three higher-order functions, foldl and foldr, and a pipeline over a log of sensor readings.
  4. A13.8 Project: the way out Functional programming
    Sweep the bay, decide with a pipeline of pure functions built by composition, map, filter and fold, then drive out.

Try it on a robot

The task from A13.1 The functional paradigm, running here. Change the program and press Run.

The specification is AQA's own document; this page says which of our lessons teach point 4.12.2.1 and is not endorsed by the board.