You are on page 1of 1

A Level Y1 (Computer Science)9618

Chapter 1 (Information Representation)


1. (a) A digital camera takes a bitmap image. The image is 2000 pixels wide by 1000 pixels high with
a colour depth of 24-bits. Calculate an estimate of the file size for the image. Give your answer in
megabytes. Show your working.
(b) A second image is taken, this time in black and white. It has the same number of pixels but a
smaller file size. Explain why the file size is smaller.
(c) The digital camera allows a user to add text to an image. The text is encoded as ASCII values. The
table shows the ASCII denary values for five characters. Give the 8-bit binary value for the ASCII
character ‘b’.

2. (a) The bit depth of an image dictates how many different colours can be represented by each pixel.
(i) State the number of different colors that can be represented by a bit depth of 8 bits.
(ii) One binary colour is represented by 0100 1110 Convert the unsigned binary number 0100
1110 into denary.
(b) Convert the denary number −194 into 12-bit two’s complement.
(c) Convert the Binary Coded Decimal (BCD) value 0110 1001 into denary.
(d) Identify one practical application where BCD is used.
3. Convert the unsigned binary number 0101 1111 1100 into denary.
4. Convert the denary number −239 into 12-bit two’s complement.
5. Convert the two’s complement number 0110 0101 into denary.
6. Convert the Binary Coded Decimal (BCD) value 0110 0101 into denary.
7. Convert the denary number 222 into hexadecimal.
8. Convert the signed denary value –100 into an 8-bit two’s complement binary integer.
9. Convert the denary number 251 into hexadecimal. Show your working.
10. Add the following unsigned binary integers.

You might also like