Topic pathway

Programming fundamentals

Variables, inputs, outputs, control flow, operators, data types, and core programming techniques.

Exam-board information

CodeQuest is an independent learning platform. It is not endorsed by, affiliated with, or sponsored by OCR, AQA, Edexcel, Pearson, or any exam board. Exam board names and specification references are used only to identify relevant curriculum pathways.

2.2.1

Specification section

Programming fundamentals

The use of variables, constants, operators, inputs, outputs, assignments, sequence, selection, iteration, arithmetic operators, and Boolean operators AND, OR, NOT.

5 lessons
  1. Lesson 01

    Variables, Constants and Assignment

    Read supplied variables and predict what a short program will display.

    • 42 min
    • 10 XP
    • 10 Bits
  2. Lesson 02

    Inputs and Outputs

    Read supplied variables and predict what a short program will display.

    • 42 min
    • 10 XP
    • 10 Bits
  3. Lesson 03

    Sequence, Selection and Iteration

    Read supplied variables and predict what a short program will display.

    • 42 min
    • 10 XP
    • 10 Bits
  4. Lesson 04

    Arithmetic Operators

    Read supplied variables and predict what a short program will display.

    • 42 min
    • 10 XP
    • 10 Bits
  5. Lesson 05

    Boolean Operators: AND, OR and NOT

    Read supplied variables and predict what a short program will display.

    • 42 min
    • 10 XP
    • 10 Bits
2.2.2

Specification section

Data types

The use of integer, real, Boolean, character and string data types, plus casting.

2 lessons
  1. Lesson 01

    Data Types: Integer, Real, Boolean, Character and String

    Read supplied variables and predict what a short program will display.

    • 42 min
    • 10 XP
    • 10 Bits
  2. Lesson 02

    Casting Between Data Types

    Read supplied variables and predict what a short program will display.

    • 42 min
    • 10 XP
    • 10 Bits
2.2.3

Specification section

Additional programming techniques

String manipulation, file handling, records, SQL, arrays, sub programs, functions, procedures, and random number generation.

7 lessons
  1. Lesson 01

    String Manipulation

    Read supplied variables and predict what a short program will display.

    • 42 min
    • 10 XP
    • 10 Bits
  2. Lesson 02

    Arrays

    Describe an array as a fixed-length indexed structure.

    • 42 min
    • 10 XP
    • 10 Bits
  3. Lesson 03

    Functions and Procedures

    Use functions, parameters and return values in executable Python.

    • 42 min
    • 10 XP
    • 10 Bits
  4. Lesson 04

    File Handling

    Describe the purpose and correct order of open, read, write and close operations.

    • 24 min
    • 10 XP
    • 10 Bits
  5. Lesson 05

    Records

    Distinguish a field from a record.

    • 28 min
    • 10 XP
    • 10 Bits
  6. Lesson 06

    SQL Basics

    Use SELECT to choose fields.

    • 24 min
    • 10 XP
    • 10 Bits
  7. Lesson 07

    Random Number Generation

    Explain why programs use random number generation.

    • 24 min
    • 10 XP
    • 10 Bits