Y11 GCSE Computer Science

PRIMM Activities: OCR Reference Language Operators

Focus topics: comparison, arithmetic, and boolean operators.

Activity 1: Predict & Run

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

Predict 1: Comparison Operators

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 2: DIV, MOD, and Exponent

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 3: Boolean Operators

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 4: Arithmetic + Comparison

Code Editor (read only)

            
Console
Press "Run this code" to see output.

Predict 5: Input with Operators

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