Y11 GCSE Computer Science

PRIMM Activities: OCR Reference Language Selection

Focus topics: IF-THEN-ELSE, ELSEIF, and CASE SELECT / SWITCH.

Activity 1: Predict & Run

Read each selection program, choose the best output, then run it to check.

Predict 1: Simple IF-ELSE

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 2: IF, ELSEIF, ELSE

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 3: SWITCH Day Checker

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 4: Grade Boundaries

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 5: Input with SWITCH

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