When each Year 7–9 unit is taught. Select a unit to see its lessons.
IGCSE year plan
Cambridge IGCSE Computer Science (0478) across Years 10 and 11, 3 lessons a week. Select a topic to see what it covers and open its lessons.
GCSE year plan
IB year plan
IB Diploma Computer Science for the 2027 exams, across Years 12 and 13, 4 lessons a week. It follows the IB's suggested order: A1 to A3 and then programming (B1 to B3) in Year 12; the internal assessment, A4 Machine learning and the Paper 1 case study in Year 13. HL extensions are taught alongside each topic.
A Level year plan
Get free resources
New free lessons, worksheets and revision sheets for Computer Science, sent to your inbox.
For teachers and students, Year 7 to A Level
Only what's new and useful
Unsubscribe from any email
IGCSE taster: an exam-style scenario question (assessed)
Year 9 · Project: design, build, test · Lesson 6 of 6Unplugged
What you'll learn
Read an exam scenario and pick out the inputs, processes and outputs
Write an algorithm in pseudocode or Python that meets every requirement
Choose test data and spot an error in an algorithm
Open the slidesSlides open in Google Slides present mode (full screen, laser pointer) for signed-in users with a plan or school access.
IGCSE taster: an exam-style scenario question (assessed)
Year 9 · Project: design, build, test · Lesson 6 of 6Unplugged
NameFormDate
Exam-style scenario question (20 marks)
A. Read the scenario (5 marks)
Scenario: A school runs a step challenge. A program records the number of steps a pupil walks on each of 7 days. Each value must be between 0 and 30000 inclusive. The program must: input and validate the steps for each day; calculate and output the total and the average steps; count and output the number of days with 10000 or more steps; output 'Target met' if that count is 5 or more, otherwise 'Keep going'.
Name the type of validation check needed for the steps. (1 mark)
Give one value of each type of test data for the steps: normal, extreme, abnormal. Say if each is accepted or rejected. (3 marks)
Why must Total be set to 0 before the loop starts? (1 mark)
B. Write the algorithm (10 marks)
Write an algorithm in pseudocode or Python for the step challenge program. Use meaningful variable names.
Space for working.
C. Find the error (3 marks)
This part of another pupil's answer has a logic error. Identify the line, correct it, and give a test value that would show the error.
Count ← 0
FOR Day ← 1 TO 7
INPUT Steps
IF Steps > 10000 THEN
Count ← Count + 1
ENDIF
NEXT Day
D. Improve (2 marks)
Describe one improvement to the program and explain how it helps the pupil using it.