Translate what the instructions mean
OCR GCSE uses its Exam Reference Language; AQA GCSE uses its own pseudocode. Neither is a second language you must program in for every exam question. Recognise the logic and follow the question's required format.
| Purpose | Python | OCR GCSE style | AQA GCSE style |
|---|---|---|---|
| Assignment | x = 10 | x = 10 | x ← 10 |
| Equality | x == 10 | x == 10 | x = 10 |
| Output | print(x) | print(x) | OUTPUT x |
| Selection | if ...: | if ... then … endif | IF ... THEN … ENDIF |
| Count loop | range(1, 5) | for i = 1 to 4 … next | FOR i = 1 TO 4 … ENDFOR |
| While loop | while ...: | while ... … endwhile | WHILE ... … ENDWHILE |
| Remainder | % | MOD | MOD |
Try a 3-minute active recall test
Cover the table and explain the difference between assignment and equality. Write a Python loop that displays the numbers 1 to 5. Then translate it into your board's reference style.
Reveal possible solution
for number in range(1, 6):
print(number)OCR style: for number = 1 to 5 / print(number) / next. AQA style: FOR number = 1 TO 5 / OUTPUT number / ENDFOR.
Full examples, a trace table, written challenges and interactive questions: Pseudocode vs Python: complete guide.
Original TutorSyntax teaching examples. Not an official OCR/AQA reference sheet. Check your current specification.
