T2 Homework 2
T2 Homework 2
Unit 2 Data
(b) 11100110
2. Circle the binary value below that represents the denary value 87.
(a) 01011010
(b) 11000100
(c) 01010111
(d) 00011010
3. Convert the following values to and from Hexadecimal: (Show your working). [7]
(a) Denary 37 to Hex
1
Homework 2 Binary arithmetic and hexadecimal
Unit 2 Data
4. The binary number 1110 0100 is an even number. Explain why this is the case with
reference to the rightmost bit.
Because even binary numbers have a 0 a the end, odd binary numbers have a 1 at the end
5. Colours in art packages are often given using hexadecimal as illustrated below with
#00ccff.
Explain why hexadecimal is used rather than the actual 24-bit colour value.
- Quicker to write or type
2
Homework 2 Binary arithmetic and hexadecimal
Unit 2 Data
8. An error occurs when you try to add 11011001 to 11100100 and store it as an 8-bit number.
Explain the error that occurs.
It overflows and turns into a 9-bit number
[Total 20 marks]