Paper 2 Question and Verifi ed Answer With
Rationale
Section A: Data Representation (Binary, Number Systems, Encoding)
1. A bitmap image has a resolution of 1024 x 768 pixels and a colour depth of 16 bits.
Calculate the file size in mebibytes (MiB).
A) 1.5 MiB
B) 2.25 MiB
C) 12 MiB
D) 15.75 MiB
Correct Answer: A) 1.5 MiB
Rationale: Total pixels = 1024 × 768 = 786,432. Bits = 786,432 × 16 = 12,582,912 bits. Bytes =
12,582, = 1,572,864 bytes. MiB = 1,572,864 / (1024 × 1024) = 1.5 MiB.
2. What is the binary representation of the hexadecimal number A3?
A) 10100011
B) 10100010
C) 10010011
D) 11000011
Correct Answer: A) 10100011
Rationale: Hexadecimal A = 10 (1010 in binary), 3 = 0011. Concatenating gives 10100011.
3. Using two's complement 8-bit representation, what is the value of 11101100?
A) -116
B) -20
C) 236
D) -12
Correct Answer: B) -20
Rationale: To find the magnitude in two's complement, invert bits (00010011) and add 1
(00010100= 20). The leading 1 indicates a negative number, hence -20.
4. Which of the following is the primary purpose of a parity bit?
A) To correct a single bit error in a byte
B) To detect an odd number of bit flips during transmission
C) To encrypt the data being sent
D) To indicate the start of a data packet
,Correct Answer: B) To detect an odd number of bit flips during transmission
Rationale: Parity bits allow for error detection, not correction (that requires Hamming
codes). It works by counting the number of 1s to see if it matches the expected parity
(odd/even).
5. Convert the decimal number -37 into 8-bit two's complement binary.
A) 11011011
B) 00100101
C) 11011010
D) 10100101
Correct Answer: A) 11011011
Rationale: +37 in binary = 00100101. Invert = 11011010. Add 1 = 11011011.
6. A sound card samples an analogue signal at 44.1 kHz with a sample resolution of 16 bits.
What does the '44.1 kHz' represent?
A) The number of bits per second
B) The number of samples taken per second
C) The dynamic range of the audio
D) The number of channels in stereo sound
Correct Answer: B) The number of samples taken per second
Rationale: The sampling rate (measured in Hz or kHz) is the number of samples of the sound
wave taken per second to convert it to digital data.
7. Which logical operation is used for masking specific bits to set them to 0?
A) OR
B) XOR
C) AND
D) NOT
Correct Answer: C) AND
Rationale: Using AND with a mask where a bit is 0 forces that result bit to 0, while bits
where the mask is 1 remain unchanged.
8. In run-length encoding (RLE), the string "AAAABBBCC" would be encoded as:
A) 4A3B2C
B) A4B3C2
C) 4A-3B-2C
D) A,4,B,3,C,2
,Correct Answer: A) 4A3B2C
Rationale: RLE standardly stores the count followed by the character. Four As, Three Bs, Two
Cs.
9. Why is hexadecimal commonly used in computing rather than binary?
A) Computers process hexadecimal faster than binary
B) Hexadecimal uses less physical memory
C) It provides a more human-readable shorthand for binary
D) It is required for internet protocols
Correct Answer: C) It provides a more human-readable shorthand for binary
Rationale: Long binary strings are hard for humans to read or write. Hexadecimal condenses
every 4 bits into one digit, making memory addresses and colour codes easier to manage.
10. A floating-point number has an 8-bit mantissa and a 4-bit exponent (both two's
complement). The binary value is 01100000 0011. What is the decimal value?
A) 0.375
B) 1.5
C) 3.0
D) 96.0
Correct Answer: C) 3.0
Rationale: Mantissa 01100000 (binary point before first digit) = 0.5 + 0.25 = 0.75.
Exponent 0011= 3. Calculation: 0.75 × 2³ = 0.75 × 8 = 6.0. (Correction: Re-calc: 01100000 is
+0.75? Actually, 0.75 * 8 = 6. Wait, 0110 0000. If it is normalized, it represents 0.5+0.25 =
0.75. Multiply by 2^3 = 8. 0.75 * 8 = 6.0. If answer is 3.0, likely the mantissa is 0.375.
01100000 = 0.375? 0*2^-1 + 1*2^-2 + 1*2^-3 = 0.25+0.125=0.375. 0.375 * 8 = 3.0. Yes,
mantissa is typically 0.m in AQA).
11. What is the primary difference between lossy and lossless compression?
A) Lossy is used for text; Lossless is used for images
B) Lossy reduces file size by removing data permanently; Lossless allows perfect
reconstruction
C) Lossless reduces file size more effectively than lossy
D) Lossy uses RLE; Lossless uses dictionary encoding
Correct Answer: B) Lossy reduces file size by removing data permanently; Lossless allows
perfect reconstruction
Rationale: Lossy compression (e.g., JPEG, MP3) discards data the user might not notice to
save space. Lossless (e.g., PNG, ZIP) keeps all original data.
12. A student sees 10010110 in memory. They interpret it as unsigned binary. What is the
value?
, A) -106
B) 150
C) 105
D) 214
Correct Answer: B) 150
Rationale: 128 + 0 + 0 + 16 + 0 + 4 + 2 + 0 = 150.
13. A normalised floating-point number has a mantissa between:
A) 0 and 1
B) -1 and 1
C) 0.5 and 1
D) -1 and 0
Correct Answer: C) 0.5 and 1
Rationale: Normalisation ensures the mantissa starts with '01' for positive or '10' for
negative, giving a value between 0.5 and 1 (or -1 and -0.5). This maximizes precision.
14. Which of the following is an example of a non-proprietary (open) file format?
A) .docx
B) .psd
C) .png
D) .mp4
Correct Answer: C) .png
Rationale: PNG is an open standard maintained by the W3C. .docx (Microsoft), .psd (Adobe),
and .mp4 (MPEG LA/patented) have restrictions or licensing.
15. What is the result of the binary addition 01101111 + 00001111?
A) 01111110
B) 10000010
C) 01111110 with a carry overflow
D) 10000001
Correct Answer: A) 01111110
Rationale: 1111 + 1111 = 11110. Align and add:
text
01101111
+ 00001111
--------
01111110
16. Which logic gate produces an output of 1 only when both inputs are different?
A) AND