Skip to content
IGCSE·Tuition
Computer Science · Help with common difficulties

I am using future Python-only advice for an earlier exam

A video or a guide sounds confident, but you are not sure it was written for the exam year you are actually sitting.

On this page
  1. How can I tell if advice matches my exam year?
  2. Worked example
  3. The mistake to watch for
  4. A simple way to keep two versions apart
  5. Self-check
  6. Where to go next

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:

  1. Is a syllabus year stated? If not, mark it “unchecked”.
  2. Does it say Python-only, pseudocode-only or both? Write that down.
  3. Does your own syllabus document say the same thing? Open the 0478 page on Cambridge and read the section for your year.
  4. 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:

IdeaConvention in my examConvention in my Python test
First array positionAs the question statesIndex 0
Loop visiting 4 itemsBound set by the questionrange(4) visits 0 to 3
Notation in answersAs the syllabus for my year showsPython 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 answerMark 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 answerIt 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 answerPosition 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.

Questions people ask

How do I know which exam year a guide was written for?

Look for a syllabus year on the cover or first page, or ask the author or your teacher. If no year is stated, treat the advice as unchecked. Then compare it against the syllabus document Cambridge lists for your own exam year.

Can I use Python to practise even if my exam paper uses pseudocode?

Yes, Python is a good way to test an algorithm. Keep the reasoning in a form your exam accepts, and check the syllabus and specimen papers for the notation your year expects before you rely on Python habits in written answers.

Do Python index habits carry over to exam questions?

Not automatically. Python lists start at index 0, but an exam question may state its own convention for arrays. Always read the question for where counting starts before you write a loop bound or an index.

Where do I check the official position?

On the Cambridge subject page for your code, open the syllabus document listed for your exam year and read the section on pseudocode or programming language. Your exam centre can confirm anything that stays unclear.

Sources

  1. Cambridge IGCSE Computer Science 0478 syllabus page

Updated:

Your next step

If you are not sure which advice belongs to your exam year, a one-to-one teacher can sort your notes into keep, check and set aside, starting from your confirmed syllabus.

Paid one-hour trial at your assigned teacher’s confirmed rate, starting from RM80. Other fees, schedules and ongoing arrangements are confirmed directly with your teacher after the trial class.

Tuition is arranged with a parent or guardian. Send them this page on WhatsApp and they can enquire for you.

Parent or guardian? Enquire here

9,000+ students helped through our service