Y11 GCSE Computer Science

PRIMM Activities: OCR Reference Language

Focus topics: commenting, variables, input, and output.

Activity 1: Predict & Run

Read each program, choose the best prediction, then run to check.

Predict 1: Commenting and Output

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 2: Assignment and Constants

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 3: Input and String Output

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 4: Global Variable and Output

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 5: int(input()) and Calculation

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