Centre number Candidate number
Surname
Forename(s)
Candidate signature
I declare this is my own work.
AS
COMPUTER SCIENCE
Paper 2
Monday 18 May 2026 Afternoon Time allowed: 1 hour 30 minutes
Materials For Examiner’s Use
For this paper you must have:
• a calculator. Question Mark
1
Instructions
2
• Use black ink or black ball-point pen.
• Fill in the boxes at the top of this page. 3
• Answer all questions. 4
• You must answer the questions in the spaces provided. Do not write outside
5
the box around each page or on blank pages.
• If you need extra space for your answer(s), use the lined pages at the end of 6
this book. Write the question number against your answer(s). 7
• Do all rough work in this book. Cross through any work you do not want to
8
be marked.
9
Information 10
• The marks for questions are shown in brackets.
11
• The maximum mark for this paper is 75.
12
Advice 13
• In some questions you are required to indicate your answer by completely
shading a lozenge alongside the appropriate answer as shown. TOTAL
• If you want to change your answer you must cross out your original answer
as shown.
• If you wish to return to an answer previously crossed out, ring the answer
you now wish to select as shown.
*jun267516201*
IB/G/Jun26/G4003/V7 7516/2
, 2
Do not write
outside the
Answer all questions in the spaces provided. box
0 1 . 1 Define the term ‘integer’.
[1 mark]
0 1 . 2 Explain why all integers are also considered to be rational numbers.
[1 mark]
0 1 . 3 Shade two lozenges to indicate which of the values A–E are irrational.
[2 marks]
A π
B –12
1
C 1
3
D √2
E 0.125
*02*
IB/G/Jun26/7516/2
, 3
Do not write
outside the
0 1 . 4 Write down the binary representation of the hexadecimal number 9A box
[1 mark]
0 1 . 5 State the number of different values that can be represented with n bits.
[1 mark]
6
Turn over for the next question
Turn over ►
*03*
IB/G/Jun26/7516/2