AS
COMPUTER SCIENCE
Paper 2
Tuesday 21 May 2024 Afternoon Time allowed: 1 hour 30 minutes
For Examiner’s Use
Question Mark
1
2
3
4
5
6
7
8
9
10
11
TOTAL
7516/2
, 2
Answer all questions in the spaces provided.
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
, 3
0 2 . 1 Convert the bit pattern 10001010 to hexadecimal.
[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 ►
, 4
0 2 . 4 Show how the 8-bit two’s complement binary integer 00011100 can be
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
COMPUTER SCIENCE
Paper 2
Tuesday 21 May 2024 Afternoon Time allowed: 1 hour 30 minutes
For Examiner’s Use
Question Mark
1
2
3
4
5
6
7
8
9
10
11
TOTAL
7516/2
, 2
Answer all questions in the spaces provided.
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
, 3
0 2 . 1 Convert the bit pattern 10001010 to hexadecimal.
[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 ►
, 4
0 2 . 4 Show how the 8-bit two’s complement binary integer 00011100 can be
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