Y11 GCSE Computer Science

PRIMM Activities: OCR Iteration

Focus topic: FOR loops (count-controlled iteration) using OCR pseudocode.

Activity 1: Predict & Run

Read each OCR pseudocode snippet, predict what happens, then run it to check.

Predict 1: Count-controlled FOR loop

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 2: FOR loop with STEP 2

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 3: Countdown FOR loop

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 4: FOR loop with multiplication output

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 5: Reverse FOR loop with STEP -2

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Activity 2: Investigate (Parsons Problem)

Code Bank

Your Program

Activity 3: Modify

Code Editor
Console
Run your code to check it.

Activity 4: Make