2.2.1(a), 1.2.3(c), 1.2.4(b) · Programming

Sequence, selection and iteration

PG Online Computer Science · Ch 12 Writing and following algorithms

The lesson for this topic

1 of 5
Question 11 mark
  • No calculator
  • OCR H446
Spec and skills
  • Paper scope: Paper 2 · Algorithms and programming
  • Topic spec 2.2.1(a)
  • Topic spec 1.2.3(c)
  • Topic spec 1.2.4(b)
  • Skill: trace-for-loop
  • Learning check
  • Version 3.0, April 2026

What does this program print?

total = 0for i = 2 to 8 step 3    total = total + inext iprint(total)

Independent practice for OCR A-level Computer Science (H446), not endorsed by OCR.

Privacy · Terms