You are on page 1of 8

End of Unit:1 Test (Data Representation) Marks: 80

Name: Class : Date:


1.

2. Convert the denary number 165 into:

a Hexadecimal [1].....................................95...................................................................................................

b. Binary [1]....................................10100101.................................................................................................

3. Convert the following binary number 01 1 1 0 1 1 0 into

a. denary: [1]..........................118.............................................................................................................
b.hexadecimal[1]......................76..........................................................................................................................................

4. Convert the following hexadecimal number 5F into

a denary: [1].................................................................................................................................................
b. binary:
[1]..............................................01011111..............................................................................................

5. a How many mebibytes (MiB) of storage would be needed to store 800 photographs each of
which are 16 MiB in size? [3]
........................................................................................13107200...................................................................
................................................................................................................................................................
........

b Write your answer from part a in gibibytes (GiB). [1]


............................................................................................................................................................................

6. The ASCII code for 'A' is 65 and for 'a' is 97.

a) write the denary value of “Q”. [1]


. ............................................................................................

b) write the binary value of “q” in a 8bit register. [1]


.

c) to undergo a logic shift two places to the left. [1]

Write down the contents of the 8-bit register after the bits, representing “q”', have been moved
two places to the left.

7. State three uses of the hexadecimal system. [3]

1 ...........................................................................................................................................................................

2 ...........................................................................................................................................................................

3 ...........................................................................................................................................................................

8. Convert the following two denary numbers into 8-bit binary numbers which use the two’s
complement format.

i +47. [2]

ii −59. [2]

9. Convert the following two binary numbers, written in two’s complement format, into denary.

i 11001110 [2]
...................................................................................................................................................................
...

ii 1 1 1 1 1 1 1 0 [2]
...................................................................................................................................................................
...
10. A camera detector has an array of 4096 by 2048 pixels and uses a colour depth of 16.

a. Calculate the size of an image taken by this camera; give your answer in MiB. [4]
............................................................................................................................................................................

............................................................................................................................................................................

............................................................................................................................................................................

............................................................................................................................................................................

............................................................................................................................................................................

b.
11. Explain the difference between lossy and lossless file compression. [4]

............................................................................................................................................................................

............................................................................................................................................................................

............................................................................................................................................................................

............................................................................................................................................................................

...........................................................................................................................................................................
12. Explain the following terms used in the electronic storage of sound: [4]

i sampling resolution:

...................................................................................................................................................................
...

...................................................................................................................................................................
...

...................................................................................................................................................................
...

ii sampling rate:

...................................................................................................................................................................
...

...................................................................................................................................................................
...

...................................................................................................................................................................
...

13. Discuss the benefits and drawbacks of increasing the sampling rate and sampling
resolution when representing sound in an electronic (binary) format. [4]

............................................................................................................................................................................

............................................................................................................................................................................

............................................................................................................................................................................

............................................................................................................................................................................

14. Explain what is meant by run-length encoding (RLE). [4]

.........................................................................................................................................................................
...

.........................................................................................................................................................................
...

.........................................................................................................................................................................
...

.........................................................................................................................................................................
...

.........................................................................................................................................................................
...
.........................................................................................................................................................................
...

15. Give three reasons why it is often necessary to reduce the size of a file. [3]

1 ......................................................................................................................................................................

......................................................................................................................................................................

2 ......................................................................................................................................................................

......................................................................................................................................................................

3 ......................................................................................................................................................................

16. In terms of representing bitmap images, explain the followin


g:[4]

a colour depth: ..................................................................................................................................................

...........................................................................................................................................................................

...........................................................................................................................................................................

b image resolution: ...........................................................................................................................................

...........................................................................................................................................................................

...........................................................................................................................................................................

17. Explain the difference between ASCII code and Unicode. [4]

.............................................................................................................................................................................
....

.............................................................................................................................................................................
....

.............................................................................................................................................................................
....

.............................................................................................................................................................................
....

.............................................................................................................................................................................
....
18.

End of test

You might also like