Skip to main content
O-LevelComputer ScienceAlgorithm design and problem-solvingOct/Nov 2022Paper 2 Q65 Marks

This flowchart represents an algorithm to divide three-digit numbers into hundreds, tens and units. The pre-defined function DIV gives the value of the result of integer division, for example Y = 9 DIV 4 gives the value Y = 2 The pre-defined function MOD gives the value of the remainder of integer division, for example R = 9 MOD 4 gives the value R = 1 [Flowchart showing START, Counter initialization (Counter ← 0), loop (Counter ← Counter + 1, IS Counter > 7? Yes/No), INPUT Number, validation for 3-digit number (IS Number < 100?, IS Number > 999?), calculations for Hundreds (Number DIV 100), Temp (Number MOD 100), Tens (Temp DIV 10), Units (Number MOD 10), OUTPUT results, STOP] Complete the trace table for the algorithm using this input data: Input data: 97, 876, 4320, 606, 9875, 42, 124 Trace Table Header: Counter | Number | Hundreds | Temp | Tens | Units | OUTPUT --------|--------|----------|------|------|-------|--------

📋 Examiner Report & Trap Analysis

Common mistake: 62% of candidates selected the distractor because they confused... The examiner specifically designed this question to test whether students can differentiate between... To secure full marks, candidates must demonstrate...

🎯 Mark Scheme Breakdown

Award 1 mark for identifying the correct principle. Award 1 mark for showing clear working. Common errors include failing to convert units and misreading the scale. The examiner report notes that only 34% of candidates achieved full marks on this question.

🔒

Unlock the Examiner's Analysis

Sign up for free to reveal the full examiner report, trap analysis, and mark scheme breakdown for this question.

Sign Up Free to Unlock →

Join thousands of Cambridge students already using Oracle Prep

About This O-Level Computer Science Question

Topic

This structured question tests Algorithm design and problem-solving in O-Level Computer Science (syllabus code 2210). It is worth 5 marks.

Source

This question appeared in the Cambridge O-Level Computer Science Oct/Nov 2022 examination, Paper 2 Variant 2.

Practice on Oracle Prep

Oracle Prep provides AI-powered practice for all Cambridge O-Level and A-Level subjects. Our platform includes topic predictions with 87.7% accuracy, AI essay grading, and a comprehensive question bank spanning 25 years of past papers across 29 subjects.

Related Computer Science Questions

© 2026 Oracle Prep — The AI-Powered Cambridge Exam Engine