Advice is only as good as the exam year it was written for. Before you follow a revision tip, find out which syllabus it assumes, then check that syllabus against the document Cambridge lists for your own year.
Computer Science is a subject where the way you write a solution, including the notation, is part of what you practise. Online guides written for a later or different version can quietly push you toward habits your exam does not use. The pseudocode for the applicable syllabus and Python transition and execution topics explain where to look.
How can I tell if advice matches my exam year?
Run four quick checks on any guide, video or note set:
- Is a syllabus year stated? If not, mark it “unchecked”.
- Does it say Python-only, pseudocode-only or both? Write that down.
- Does your own syllabus document say the same thing? Open the 0478 page on Cambridge and read the section for your year.
- Does a specimen or past question in your own year use that style? If you cannot find one, ask your teacher or exam centre.
Only advice that passes all four belongs in your main revision file.
Worked example
A student reads a tip: “Always loop with for i in range(1, 6) and index the list with i.” Their list holds four marks, and the exam question says the array positions are numbered from 1.
Step 1, what does the Python tip do? range(1, 6) gives 1, 2, 3, 4, 5. That is five values, and the last one is 5, not 6.
Step 2, compare with the data. The list has four marks. A Python list with four items has indexes 0 to 3, so index 4 and index 5 do not exist, and the tip breaks.
Step 3, compare with the question. The question numbers the positions 1 to 4. The loop needs to visit 1, 2, 3, 4, which is four visits, so the bound must be 4.
Step 4, rewrite for the question. The corrected reasoning is: visit positions 1 to 4, using position 1 for the first mark. If you then translate to Python to test it, remember that the same first mark is at index 0.
So the tip was not wrong as Python. It was wrong as a one-size rule, because it ignored the convention in the question.
The mistake to watch for
Mistaken approach: copying a Python trick into a written answer without checking whether the question states its own convention.
The trick may be perfectly valid Python. The problem is the mismatch: the exam marks your reading of the question as written, so your loop bounds, indexes and notation must follow what that question and your syllabus set out.
Correction: read the first two lines of the question for any stated convention (where arrays start, which notation). Write your solution to that. Use Python afterwards as a testing tool, not as the thing you submit.
A simple way to keep two versions apart
Keep a two-column page in your notes:
| Idea | Convention in my exam | Convention in my Python test |
|---|---|---|
| First array position | As the question states | Index 0 |
| Loop visiting 4 items | Bound set by the question | range(4) visits 0 to 3 |
| Notation in answers | As the syllabus for my year shows | Python syntax |
You can test a small algorithm safely in the Python reasoning sandbox and trace the same steps in the pseudocode trace trainer. Treat the notation limits on each tool’s page as the boundary, since the notation for your own year needs a source check.
Self-check
1. A guide has no syllabus year. What do you do?
Show answer
Mark the advice as unchecked, find which syllabus year the guide assumes, and compare it with the syllabus document Cambridge lists for your exam year before using it.2. Python range(2, 7) is used to visit list positions. How many values does it give, and what is the last one?
Show answer
It gives 2, 3, 4, 5, 6, which is five values. The last is 6, because the end value 7 is excluded.3. A question states that array positions start at 1 and the array has 6 items. What is the last position?
Show answer
Position 6. With counting from 1, six items occupy positions 1 to 6. In a Python list of six items the last index would be 5.Where to go next
Make sure your route is confirmed using the 0478 code guide, and read keep 2029 Python-only assessment guidance separate from earlier requirements for the lesson on keeping year-specific advice apart. Practice the notation side in check the exam year before choosing notation.
A teacher working with you one-to-one can check each of your notes against your confirmed year. That is what online one-to-one Computer Science tuition offers, starting with a paid trial lesson from RM80.