By LearnAllStudents Editorial Team. Source check dates are listed below.
Official resources
Cambridge: Computer Science 0478 papers
Official source. Match the qualification, code and relevant year before using its documents.
Open official resources for Cambridge: Computer Science 0478 papersOCR: GCSE Computer Science J277 assessment resources
Official source. Match the qualification, code and relevant year before using its documents.
Open official resources for OCR: GCSE Computer Science J277 assessment resourcesStart from the official course page
Use Cambridge’s 0478 collection for that IGCSE course and OCR’s J277 assessment resources for that GCSE course. For Cambridge International A Level 9618, follow the matching syllabus page linked below and use its official collection. These links locate resources; they do not confirm that a particular named tutor covers every board or programming language.
A trace-table practice task
Original practice, not a copied exam question: initialise total = 0. Read the values 3, 1 and 4 in order, adding each to total. The trace is 0 → 3 → 4 → 8. A response should record the value after each iteration rather than showing only the final output. If the question’s assignment notation differs, translate the idea carefully.
Try it yourself
- Trace the same plan for 5, −2 and 6.
- What changes if total is reset inside the loop?
- Which identifier should you check before mixing a question paper with a mark scheme?
Answers: 0 → 5 → 3 → 9; previous accumulated values would be lost; match the qualification/code, component, series and year. The final number alone does not show whether the loop was understood.
Check a program against the question, not only the sample output
A sample can miss a boundary case. Identify the permitted inputs and try a normal, boundary and invalid case where the task calls for validation. Do not submit downloaded solutions as your own work. For a practical task, follow the actual environment and file requirements supplied by your course.
How a tutor would approach this
Bring the original question, expected output and your trace or code. Confirm the notation and environment before changing the solution.
Frequently asked questions
Can I mix 0478 and J277 materials without checking?
No. They are separate qualifications.
Is a final output enough for a trace question?
Show the intermediate values required by the question.
Does a working sample prove every input is handled?
No. Consider the required input range and boundary cases.
Does this page confirm every tutor’s language coverage?
No. Confirm the exact course and language when arranging support.
Continue in the Exam resources library
Choose another explanation and check your reasoning with its practice answers.
Official sources
- Cambridge: Computer Science 0478 papers (checked 2026-11-23)
- OCR: GCSE Computer Science J277 assessment resources (checked 2026-11-23)
Related pages
Try a free 30-minute demo
Work through a question with a tutor. No payment needed.
Request a free 30-minute demo