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 --------|--------|----------|------|------|-------|--------

✓ Correct Answer

The correct answer is . This question tests the candidate's understanding of algorithm design and problem-solving within the Computer Sciencesyllabus. The examiner's mark scheme requires...

📋 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...

🔒

Unlock the Examiner's Answer

Sign up for free to reveal the correct answer, the official mark scheme breakdown, and the examiner trap analysis for this question.

Sign Up Free to Unlock →

Join thousands of Cambridge students already using Oracle Prep

About This O-Level Computer Science Question

This structured question appeared in the Cambridge O-Level Computer Science (2210) Oct/Nov 2022 examination, Paper 2 Variant 2. It tests the topic of Algorithm design and problem-solving and is worth 5 marks.

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.

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