Data representation Assignment 2
Data representation Assignment 2
1. When keys are pressed on a keyboard, the text is converted to binary to be processed by the
computer.
(a) Describe how the text is converted to binary to be processed by the computer. [3]
(b) Text that is input into a computer can be stored in a text file. A text file can be compressed using
lossless compression.
(i) State what effect this has on the file size. [1]
(ii) Describe how lossless compression compresses the text file. [4]
(iii) Give two reasons why the text file may have been compressed. [2]
2 A student has a sound file that is too large to be stored on their external secondary storage device.
The student compresses the sound file to make the file size smaller.
The compression method used reduces the sample rate and the sample resolution of the sound
file.
(a) State what is meant by the sample rate.
Sample rate .............................................................................................................................. [1]
(b) Identify which type of compression has been used to compress the sound file. [1]
3 A band is recording their new song. They need to consider the sample rate and sample resolution
of their recording.
(a) Give one benefit of using a higher sample rate to record the song. [1]
(b) Give one drawback of using a higher sample rate to record the song. [1]
(c) Describe what is meant by sample resolution. [2]
(d) The band wants to compress the sound file, but they do not want any data to be permanently
removed.
Identify the compression method that should be used.
............................................................................................................................................. [1]
4 When the employee enters the email address, the computer uses Unicode to convert the
email address to binary.
(i) State what Unicode is an example of. [1]
(ii) Give two advantages of the computer using Unicode instead of American standard code
for information interchange (ASCII). [2]
(iii) Give one disadvantage of the computer using Unicode instead of ASCII. [1]
5 An image has a 16-bit colour depth and a resolution of 1000 × 1750 pixels.
(a) State what is meant by a 16-bit colour depth. [1]
(b) The resolution of the image is changed to 750 × 1500 pixels.
Give the effect this will have on the file size of the image. [1]
[TOTAL 25 Marks]