Worksheet 1.2: More Challenging Questions: © Cambridge University Press 2016
Worksheet 1.2: More Challenging Questions: © Cambridge University Press 2016
Worksheet 1.2: More Challenging Questions: © Cambridge University Press 2016
a Use the following diagram to show the BCD representations of the two
numbers 9.75 and 7.68 assuming packed BCD is used.
b If the two numbers are added what is the total expressed as a denary
value?
c If the two binary representations are added ignoring the fact that they are
BCD codes what is the result obtained?
d Show a correct calculation using the BCD values but applying the correction
factor 0110.
e t o h l p w z
10 01 111 110 0001 0000 0011 0010
The codes will have been chosen by using an algorithm that has as input the
frequencies of occurrence of each of the letters in the particular text. The choice
of codes can be represented as a Huffman tree. A partially completed tree is
shown below:
e t