Pseudocode Practice Questions & Custom Test Builder
Assemble your custom Cambridge exam practice test. Select your syllabus, target topics, and difficulty level to solve interactive coding exercises with instant compiler grading and step-by-step trace tables.
Practice Session Ready
IGCSE 0478/0984
25 Marks
ESTIMATED SCORE
18 Mins
TARGET DURATION
🔒 Free 1-click Google Sign-in to unlock and save progress
Cambridge Practice Question Samples
Explore real exam-style pseudocode questions available in our interactive bank.
Array Sum & Average Calculation
Write a pseudocode algorithm that declares an array Scores of 10 integers. Prompt the
user to input 10 scores, calculate the total sum and average score, and output the total count of
scores greater than 50.
Dry Run Trace Table for Loop Algorithm
Complete the trace table for the given algorithm when the input values are
14, 27, 8, 32, -1.
How to Excel in Cambridge Computer Science Pseudocode (0478/9618)
1. UPPERCASE Keywords
Cambridge mark schemes strictly require keywords to be formatted in ALL CAPS:
DECLARE, INPUT, OUTPUT,
IF ... THEN ... ELSE ... ENDIF, FOR ... TO ... NEXT.
2. Arrow Assignment (←)
In Cambridge pseudocode, variable assignment uses ← (or <-), never
=. The = sign is reserved strictly for equality comparison in
IF conditions.
3. 1-Based Array Indexing
Unlike Python or Java, Cambridge pseudocode arrays are indexed starting from 1 by default:
DECLARE StudentNames : ARRAY[1:30] OF STRING.
Frequently Asked Questions
←), explicit variable declarations with types, and 1-indexed arrays.