Professional Documents
Culture Documents
Data Representation
SECTION A
Exercise
This worksheet contains exercises on some of the material converted in chap2, Data
Representation. This exercise is not assessed.
3. Addition in Binary
Work out the following sums in unsigned binary. In each case, check your answer by
converting the numbers and the result into decimal.
a) 11011 + 1101 = 101000 (40)
b) 11010101 + 00111110 = 100010011 (275)
c) 1111 + 1 = 10000 (16)
4. Hexadecimal
Convert the following hexadecimal numbers into binary and decimal.
a) 3A = 00111010 (58)
b) FF = 11111111 ( 255)
c) A5 = 10100101 (165)
5. Convert the following decimal numbers into hexadecimal (an easy way to do this is to
convert into binary firs).
a) 254 = FE (11111110)
b) 256 =
c) 64 =