GCSE Computer Science: Data & Binary Quiz
GCSE Computer Science: Data & Binary Quiz
What is a bit?
A) Storage unit
D) Sound sample
B) Binary digit
C) Compression method
What is the size of a byte?
8 bits
4 bits
1024 bits
6 bits
Match the unit 'megabyte' to its byte equivalent.
1024 MB
1024 GB
1024 bytes
1024 KB
What does 0000 0110 represent in decimal?
6
10
15
12
What is the decimal value of 0000 1011?
12
10
11
9
What is 0110 + 0011 in binary?
1010
0111
1100
1001
What is 15 in hexadecimal?
C) D
D) 15
B) E
A) F
What is the decimal value of 2A (hex)?
32
42
26
36
What is a pixel?
D) Measurement of sound
A) A font type
C) A colour palette
B) The smallest image part
What does 'colour depth' mean?
The number of colours in an image
A type of font
A measure of brightness
Image size in pixels
What is the file size of a 10x10 image at 4 bits per pixel?
800 bits
400 bits
100 bits
200 bits
What does sample rate refer to?
Volume of sound
Number of samples per second
Sound quality
Number of bits per sample
Sample rate=2Hz, bit depth=8 bits, length=5s, mono. What is the file size in bits?
What is the audio file size in bits?
160 bits
40 bits
80 bits
200 bits
Which format is lossy compression?
JPEG
ZIP
MP3
PNG
Which format is lossless compression?
MP3
ZIP
PNG
JPEG
What is the result of 8 bit binary addition
10111001 + 01000110?
11111111
11111111 (with overflow)
11111100
11111100 (with overflow)
What is the result of 8 bit binary addition
11010110 + 00101101?
00000011 (with overflow)
11111100
00000010 (with overflow)
11110011
What is the result of 8 bit binary addition
11101101 + 01011110?
01001011 (with overflow)
01001010
01001011
01001010 (with overflow)
What is the hexadecimal value of 11011101?
A. DD
D. CD
B. DE
C. DF
Which binary number matches the hexadecimal value 7B?
01101011
11111011
01111011
01111010
Time for the questions that separate the mortals from the Computer Scientists.
An image is 1200 pixels wide and 800 pixels high with a colour depth of 24 bits. What is the uncompressed file size in megabytes?
2.88 MB
28.8 MB
23.04 MB
19.2 MB
Total pixels: 1200 multiplied by 800 = 960000
Bits per pixel: 24
Total bits: 960000 multiplied by 24 = 23040000 bits
Convert to bytes: divide by 8 = 2880000 bytes
Convert to megabytes: divide by 1 000 000 = 2.88 MB
A 200 by 200 pixel image uses indexed colour with a palette of 64 colours. What is the minimum bit depth required and the total file size in bytes
6 bits per pixel, 240000 bytes
6 bits per pixel, 30000 bytes
7 bits per pixel, 30000 bytes
8 bits per pixel, 40000 bytes
64 colours needs 6 bits per pixel (because 2^6 = 64).
Total pixels: 200 multiplied by 200 = 40000
File size: 40000 multiplied by 6 = 240000 bits
Convert to bytes: divide by 8 = 30000 bytes.
A stereo recording uses a sample rate of 11025 Hz, bit depth of 8 bits, and lasts for 90 seconds. What is the file size in bytes?
1 984 500 bytes
1 984 500 bits
992 250 bytes
1 984 500 kilobytes
Why
Mono samples: 11025 multiplied by 90 = 992250
Stereo doubles it: 992250 multiplied by 2 = 1984500 samples
Bits per sample: 8
Total bits: 1984500 multiplied by 8 = 15876000
Convert to bytes: divide by 8 = 1 984 500 byte