Tayyari Karo Open the app

O Level Computer Science 2210 May/June 2026: past paper questions with answers

Practise 20 real questions from the May/June 2026 exam series, from Paper 1, Paper 2. See the answer and explanation as soon as you answer.

20real questions
2papers
7topics

About the May/June 2026 Computer Science paper

May/June 2026 is one of the exam sessions in our O Level Computer Science (Cambridge (CAIE) 2210) question bank. We have 20 real questions from it. Work through them, open the explanation for each one, and redo the ones you missed a few days later.

Try 4 real questions from May/June 2026

These are real past-paper questions. Think of your answer first, then open the explanation.

May/June 2026 · Paper 2 · Algorithm design and problem solving

Tick one box to identify the type of validation check to test whether a number entered into a computer system is between two set values: A length check; B presence check; C type check; D range check. [1]

Show model answer

D (range check).

A range check tests whether a value lies between two limits.

May/June 2026 · Paper 2 · Programming

Identify four operators that are not arithmetic operators from the list: / > <= + * ^ AND DIV MOD NOT. [4]

Show model answer

> ; <= ; AND ; NOT (in any order).

Comparison (>, <=) and logical (AND, NOT) operators are not arithmetic.

May/June 2026 · Paper 2 · Programming

Give programming examples for a count-controlled loop and a post-condition loop. Describe each of the loops. Count-controlled loop: example ..., description ... Post-condition loop: example ..., description ... [4]

Show model answer

Count-controlled loop example: FOR (loop, e.g. FOR Count <- 1 TO 10 ... NEXT Count); description: iterates a pre-determined number of times. Post-condition loop example: REPEAT ... UNTIL; description: checks the condition at the end of the loop, so it will always iterate at least once.

FOR repeats a set number of times; REPEAT-UNTIL tests its condition after the body, so it runs at least once.

May/June 2026 · Paper 2 · Programming

The function Power(FirstNumber, SecondNumber) returns the value of FirstNumber raised to the power of SecondNumber. FirstNumber and SecondNumber are integers. Write pseudocode statements to: define the function; call the function with the variables A and B and store the return value in the variable Value. [5]

Show model answer

Function definition:
FUNCTION Power(FirstNumber : INTEGER, SecondNumber : INTEGER) RETURNS INTEGER
RETURN FirstNumber ^ SecondNumber
ENDFUNCTION
Function call:
Value <- Power(A, B)
(Alternative calculation using a loop: Num <- 1; FOR I <- 1 TO SecondNumber; Num <- Num * FirstNumber; NEXT I; RETURN Num.)

Marks are for the FUNCTION ... RETURNS ... ENDFUNCTION structure, the parameters, the calculation, the RETURN, and the call.

Topics in May/June 2026

Questions by paper

PaperQuestions
Paper 18
Paper 212

Common questions

What is in the O Level Computer Science May/June 2026 paper on this page?

20 real O Level Computer Science (2210) questions from the May/June 2026 series, from Paper 1, Paper 2. Each one shows its paper and topic.

Do I get the answers and explanations?

Yes. Every question shows the correct answer and a short explanation the moment you answer.

Can I download the May/June 2026 paper PDF?

Premium includes the paper PDFs. The first papers of each subject are free to open in the app.

Is it free?

You can start free with no signup. Premium unlocks every paper, the full question bank and the paper PDFs.

Other Computer Science exam sessions

All O Level Computer Science questions

Computer Science at other levels

Ready to start?

Free to start. No signup needed to try the questions.

Open Tayyari Karo