OCR A Level Computer Science (H446)Specification point 1.2.4

OCR H446 1.2.4: Types of Programming Language

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. A1.6 Programming paradigms and procedural programming Programming techniques and object-oriented programming
    Procedural, object-oriented, declarative and low-level paradigms, the structured approach, and hierarchy charts.
  2. A1.7 Classes and objects Programming techniques and object-oriented programming
    Classes, objects, attributes, methods and constructors; encapsulation, access specifiers, getters and setters, and class diagrams.
  3. A1.8 Inheritance, polymorphism and overriding Programming techniques and object-oriented programming
    Subclasses and super, overriding, polymorphism, and abstract, virtual and static methods, with robot behaviours as subclasses.
  4. A1.9 Aggregation, composition and class diagrams Programming techniques and object-oriented programming
    Has-a relationships, drawing them on class diagrams, and the design principles that favour composition over inheritance.
  5. A1.10 Project: the behaviour controller Programming techniques and object-oriented programming
    Get past a wall to the dock with prioritised behaviour classes, a controller that aggregates them, and an exception to finish.
  6. A9.4 Instruction sets and addressing modes Computer architecture
    Opcodes, operands and instruction formats; immediate, direct, indirect and indexed addressing.
  7. A9.5 Assembly language: the Little Man Computer Computer architecture
    OCR's LMC instruction set: tracing and writing programs with selection and iteration, run in Python.
  8. A9.6 AQA assembly language and bitwise operations Computer architecture
    AQA's instruction set, compare and branch, masks and shifts, and the bit fields that drive BugBot's motors.
  9. A9.10 Project: a processor of your own Computer architecture
    Build a von Neumann machine with register transfers, addressing modes, flags and memory-mapped I/O that plays a scale on the robot.
  10. A10.7 Programming languages and translators Operating systems, software and translators
    Machine code, assembly and imperative high-level languages, the Little Man Computer, and choosing an assembler, compiler, interpreter or…
  11. 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.

Try it on a robot

The task from A1.6 Programming paradigms and procedural programming, running here. Change the program and press Run.

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