Please write clearly in block capitals.
Centre number Candidate number
Surname
Forename(s)
Candidate signature
I declare this is my own work.
AS
COMPUTER SCIENCE
Paper 2
Tuesday 21 May 2024 Afternoon Time allowed: 1 hour 30 minutes
Materials
For this paper you must have: For Examiner’s Use
• a calculator.
Question Mark
Instructions 1
• Use black ink or black ball-point pen. 2
• 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
the box around each page or on blank pages. 5
• 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
be marked. 8
9
Information 10
• The marks for questions are shown in brackets.
11
• The maximum mark for this paper is 75.
TOTAL
Advice
• In some questions you are required to indicate your answer by completely
shading a lozenge alongside the appropriate answer as shown.
• 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.
*jun247516201*
IB/G/Jun24/G4001/E11 7516/2
, PMT
2
Do not write
outside the
Answer all questions in the spaces provided. box
0 1 . 1 Describe the set of real numbers.
[1 mark]
15
0 1 . 2 The number 5 can be written as
3
Shade two lozenges to indicate which of the following statements are true.
[2 marks]
A 15 and 3 are not integers
B 15 and 3 are irrational numbers
C 5 is an irrational number
D 5 is a natural number
E 5 is a rational number
0 1 . 3 Shade one lozenge to indicate which of the symbols below represents the set of
rational numbers.
[1 mark]
A ℂ
B ℕ
C ℚ
D ℝ
E ℤ 4
*02*
IB/G/Jun24/7516/2
, PMT
3
Do not write
outside the
0 2 . 1 Convert the bit pattern 10001010 to hexadecimal. box
[1 mark]
0 2 . 2 Represent the decimal number 139 as an 8-bit unsigned binary integer.
[1 mark]
0 2 . 3 Show how the unsigned binary number 00100011 can be added to the unsigned
binary number 00101011 without converting the numbers into decimal.
You must show all your working in binary.
[2 marks]
0 0 1 0 0 0 1 1
+ 0 0 1 0 1 0 1 1
__________________
__________________
Question 2 continues on the next page
Turn over ►
*03*
IB/G/Jun24/7516/2
, PMT
4
Do not write
outside the
0 2 . 4 Show how the 8-bit two’s complement binary integer 00011100 can be box
subtracted from the 8-bit two’s complement binary integer 00111011 without
converting the numbers to decimal.
You must show all your working in binary.
[2 marks]
0 2 . 5 The bit pattern in Figure 1 represents a 10-bit unsigned fixed point binary number
with four bits before and six bits after the binary point.
Figure 1
0 1 1 1 0 1 0 1 1 0
Convert the bit pattern in Figure 1 to decimal.
[2 marks]
8
*04*
IB/G/Jun24/7516/2