Chapter 1 Data Representation
Chapter 1 Data Representation
0 1 . 1 Shade one lozenge to show which Boolean operation is used by the Vernam cipher to
combine the plaintext and key to produce the ciphertext.
[1 mark]
A AND
B NAND
C NOT
D OR
E XOR
State two conditions that must be met for the Vernam cipher to offer perfect security.
[2 marks]
Condition 1
Condition 2
[1 mark]
Copyright © 2024 Oxf ordAQA International Qualif ications and its licensors. All rights reserved.
5
0 3 . 1 A sound is sampled and recorded digitally. The sound is sampled at a rate of 48 000
samples per second (Hz) for 3 minutes using a 16-bit sample resolution.
Calculate the size of the digital recording, giving your answer in mebibytes.
Answer mebibytes
What is the minimum sampling rate that should be used when recording this sound to
ensure that all the frequencies in the original waveform are preserved, so that when
the recording is played back the original sound is recreated accurately?
[1 mark]
Answer Hz
Copyright © 2024 Oxf ordAQA International Qualif ications and its licensors. All rights reserved. Turn over ►
6
0 3 . 3 Figure 2 shows part of the process of playing back a sound that has been sampled.
The binary sound data is used to generate an electrical waveform.
Figure 2
A hardware component on a sound card carries out the process shown in Figure 3.
Copyright © 2024 Oxf ordAQA International Qualif ications and its licensors. All rights reserved.
7
Figure 3
0 0 1 0 1 1 1
0 4 . 2 Describe how the parity bit would be generated for the character code in Figure 3
using even parity.
[2 marks]
0 4 . 3 Write the parity bit below to complete the byte that will be sent using even parity.
[1 mark]
0 0 1 0 1 1 1
0 4 . 4 Describe one limitation of the use of parity bits for managing errors.
[1 mark]
Copyright © 2024 Oxf ordAQA International Qualif ications and its licensors. All rights reserved. Turn over ►
9
The image takes up 400 kilobytes of storage space when represented as a bitmap,
excluding metadata.
Calculate the maximum number of different colours that could appear in the image.
Answer colours
Explain why the amount of storage space taken up by the vector graphics
representation of the image is significantly smaller than the space taken up by the
bitmap representation.
[3 marks]
Copyright © 2024 Oxf ordAQA International Qualif ications and its licensors. All rights reserved. Turn over ►
10
0 6 . 3 One advantage of vector graphics compared to bitmap graphics is that fewer bytes
are used to represent an image.
State two other advantages of vector graphics compared with bitmap graphics.
[2 marks]
Advantage 1
Advantage 2
Copyright © 2024 Oxf ordAQA International Qualif ications and its licensors. All rights reserved.
15
Four bit patterns that are stored in this computer’s memory are listed in Figure 4
and are labelled A, B, C and D. Some of the bit patterns are valid normalised
floating point numbers.
Figure 4
A 0 0 0 0 0 0 0 1 0 0 0 0
Mantissa Exponent
B 0 1 0 0 0 0 0 0 1 0 0 0
Mantissa Exponent
C 1 0 0 0 0 0 0 0 0 0 1 0
Mantissa Exponent
D 1 1 0 0 1 1 1 0 1 0 0 0
Mantissa Exponent
1 0 . 1 Shade one lozenge to show which bit pattern (A–D) in Figure 4 represents a
negative normalised value.
[1 mark]
A B C D
1 0 . 2 Shade one lozenge to show which bit pattern (A–D) in Figure 4 represents the
smallest positive normalised value.
[1 mark]
A B C D
Copyright © 2024 Oxf ordAQA International Qualif ications and its licensors. All rights reserved. Turn over ►
16
1 0 1 1 0 0 0 0 0 0 1 1
Mantissa Exponent
Calculate the decimal equivalent of the number. You must show your working.
[2 marks]
Answer
1 0 . 4 Write the normalised floating point representation of the decimal value 58.5 in the
boxes below. You must show your working.
[3 marks]
Answer
Mantissa Exponent
Copyright © 2024 Oxf ordAQA International Qualif ications and its licensors. All rights reserved.
17
The closest possible representation of the decimal number 13.8 is shown below.
0 1 1 0 1 1 1 0 0 1 0 0
Mantissa Exponent
When this bit pattern is converted back to decimal its value is 13.75, not 13.8
Answer
Answer
Copyright © 2024 Oxf ordAQA International Qualif ications and its licensors. All rights reserved. Turn over ►
MARK SCHEME – INTERNATIONAL AS COMPUTER SCIENCE – CS02 – SPECIMEN
Total
Question Part Marking guidance
marks
E XOR; 1
01 1
R. if more than one lozenge shaded A01 = 1
Total
Question Part Marking guidance
marks
Total
Question Part Marking guidance
marks
Max 1
MARK SCHEME – INTERNATIONAL AS COMPUTER SCIENCE – CS02 – SPECIMEN
Total
Question Part Marking guidance
marks
• multiplying by 48000
• multiplying by 16
• multiplying by 3
• multiplying by 60
• dividing by 8
• dividing by 1024 / 210
• dividing by 1024 / 210 a second time
7
MARK SCHEME – INTERNATIONAL AS COMPUTER SCIENCE – CS02 – SPECIMEN
• multiplying by 180
• dividing by 2
• dividing by 1048576 / 220
Total
Question Part Marking guidance
marks
Total
Question Part Marking guidance
marks
Total
Question Part Marking guidance
marks
Max 2
8
MARK SCHEME – INTERNATIONAL AS COMPUTER SCIENCE – CS02 – SPECIMEN
Total
Question Part Marking guidance
marks
Alternative 1
Max 2
Total
Question Part Marking guidance
marks
1
04 3 0;
AO2 = 1
Total
Question Part Marking guidance
marks
Errors that change an even number of bits (A. two bits) cannot be
detected;
R. multi-bit errors cannot be identified
1
04 4 (Errors can be detected but) errors cannot be corrected;
A. Position of errors cannot be identified AO1 = 1
Max 1
9
MARK SCHEME – INTERNATIONAL AS COMPUTER SCIENCE – CS02 – SPECIMEN
Total
Question Part Marking guidance
marks
400×1000×8
� �
2 1000×800
11
MARK SCHEME – INTERNATIONAL AS COMPUTER SCIENCE – CS02 – SPECIMEN
Total
Question Part Marking guidance
marks
The image contains 800 000 pixels // images can contain lots of
pixels;
Max 3
Total
Question Part Marking guidance
marks
12
MARK SCHEME – INTERNATIONAL AS COMPUTER SCIENCE – CS02 – SPECIMEN
Max 2
13
MARK SCHEME – INTERNATIONAL AS COMPUTER SCIENCE – CS02 – SPECIMEN
Total
Question Part Marking guidance
marks
1
10 1 C;
AO2 = 1
18
MARK SCHEME – INTERNATIONAL AS COMPUTER SCIENCE – CS02 – SPECIMEN
Total
Question Part Marking guidance
marks
B; 1
10 2
AO2 = 1
Total
Question Part Marking guidance
marks
Answer = -5
Total
Question Part Marking guidance
marks
Answer:
3
10 4
AO2 = 3
19
MARK SCHEME – INTERNATIONAL AS COMPUTER SCIENCE – CS02 – SPECIMEN
MAX 2
Total
Question Part Marking guidance
marks
R. -0.05 1
10 5 A. Award BOD mark if correct method has been shown ie 13.8 –
13.75 but candidate has then made an error performing the AO2 = 1
subtraction operation
Total
Question Part Marking guidance
marks
0.36%;
20