Note AcademyNote Academy

Computer Science · May / June 2026 · Paper 21 · Question 6

0478

As printed in the paper

The question as text

Give programming examples for a count-controlled loop and a post-condition loop. Describe each of the loops. count-controlled loop example description post-condition loop example description [4]

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme

One mark for each correct identification and one for each correct description

FOR (Loop) (1) iterates a pre-determined number of times (1)
REPEAT (UNTIL) (1) checks the condition at the end of the loop//will always iterate once (1)

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.