DP Computer Science

Lessons

Choose your topic. Each lesson brings together the explanation, class activities, handout and animations.

Planned lesson · signed numbers and gates

Signed numbers, then AND, OR and NOT

A 15–20 minute bridge on negative numbers in binary, then AND, OR and NOT with an interactive gate lab, practice questions and Python.

Catch-up sequence · not yet taught

Representation catch-up: five more ways to use bits

Three short sessions on BCD, Gray code, Excess-N, fixed-point and floating-point numbers.

Planned two-lesson Python project

Pixel Forge

Two lessons: create a bitmap sprite, add snapshot undo, then test lossless run-length encoding. Four student-written functions; no imports required.

A1 · Computer fundamentals

Unit overview →
  1. Data representation · Current focus

    Bits need a meaning

    Five 55-minute lessons: numbers, text, images, sound, video and compression.

B2.4 · Programming algorithms

Unit overview →
  1. B2.4 · Searching · Review

    Linear search

    Find the first matching value by checking items in order. Revisit the lesson and practise the stopping condition.

  2. B2.4 · Algorithm efficiency · Review

    Big O notation

    Review Big O notation with the class handout and textbook pages 358–361. Compare how time and auxiliary space grow with input size.

  3. B2.4 · Searching · Review

    Binary search

    Use sorted data to rule out half of the remaining candidates at each step.

  4. B2.4 · Sorting · Current focus

    Bubble sort & selection sort

    Follow how each pass moves values towards their final positions, then implement and compare two sorts.

  5. B2.4.4–5 · HL · Lesson plan

    Recursion and its applications

    Follow recursive calls down to a base case and back again, then explore how the same idea supports larger applications.

Semester lessons

Weeks 2–9 · November 2026 to January 2027. Follow your teacher’s teaching order.

Earlier topics