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
Console
Press "Run this code" to see output.
Predict 2: Assignment and Constants
Console
Press "Run this code" to see output.
Predict 3: Input and String Output
Console
Press "Run this code" to see output.
Predict 4: Global Variable and Output
Console
Press "Run this code" to see output.
Predict 5: int(input()) and Calculation
Console
Press "Run this code" to see output.
Activity 2: Investigate (Parsons Problem)
- Drag and reorder the blocks to build the correct OCR pseudocode program.
- Required output order: first print
Welcome <studentName>.
- Then print
School: Ridgeway.
- The comment line should be at the top before any code runs.
Activity 3: Modify
- The starter program already asks for the user name and outputs
Hello NAME.
- Add code to ask for the user's age.
- Then output the user's age plus
nextYearOffset.
Console
Run your code to check it.
Activity 4: Make
- Use the complete OCR Reference Language IDE to solve the challenge.
- Include at least one
// comment.
- Use variables,
input(...), and multiple print(...) outputs.
- Ask for student name and three test scores.
- Calculate the average and print a clear report line for the user.