OCR 2.2.1 · Programming

Count-controlled and condition-controlled loops

OCR J277 questions. AQA · OCR · The lesson

1 of 7
Question 11 mark
  • No calculator
  • OCR J277
Spec and skills
  • Paper scope: AQA Paper 1 · OCR Paper 2
  • Topic spec AQA 3.2.2
  • Topic spec OCR 2.2.1
  • Skill: count-controlled-step
  • Learning check
  • AQA 8525 Version 1.3, 16 June 2025 (exams from June 2027); OCR J277 Version 3.1, May 2026

What does this algorithm output?

OCR Exam Reference Language
count = 0for i = 3 to 15 step 4  count = count + 1next iprint(count)