Module 8 Exercise 2.1
Module 8 Exercise 2.1
: 307
GED102-B11
MODULE 8 EXERCISE 2.1
Answer the following problems.
1. Determine the decimal number that is equivalent to each of the given
binary numbers.
a. 1001011
=1(26) + 0 (25) + 0 (24) + 1 (23) + 0 (22) + 1 (21) + 1
= 64 + 0 + 0 + 8 + 0 + 2 + 1
= 75
b. 110011
= 1 (25) + 1 (24) + 0 (23) + 0 (22) + 1 (21) + 1
= 32 + 16 + 0 + 0 + 2 + 1
= 51
c. 101101
= 1 (25) + 0 (24) + 1 (23) + 1 (22) + 0 (21) + 1
= 32 + 0 + 8 + 4 + 0 + 1
= 45
= 111101101
b. 874
New decimal 874 437 218 109 54 27 13 6 3 1
Quotient 437 218 109 54 27 13 6 3 2 0
Remainder 0 1 0 1 0 1 1 0 1 1
= 1101101010
c. 1362
New decimal 136 681 340 170 85 42 10 5 2 1
2
Quotient 681 340 170 85 42 21 5 2 1 0
Remainder 0 1 0 0 1 0 0 1 1 1
= 1110010010
3. Find the sum:
a. 11001 b. 1011011
1010 10011
100011 11011110
Use the table of 5-bit codes for the letters of the alphabet to answer Problems 4
and 5.
4. Translate the following into binary codes.
a. I AM NEVER LATE IN CLASS.
01001000000000101101011100010110110001011001001100000011010000101
000000100101110000000001101100000011001110011
00101110001000000101100100100100101011100001100101000001010000101
00001000110100000101100110000010100010000010100000000100010110011
10100000000110000101100111001101111011100000001001011100000001100
010010011000101
8. Find the values of the additional bits and form the Hamming code.
??1?100?010101100
P1 (1,3,5,7) = 0
P2 (2,3,6,7) = 1
P4 (4,5,6,7) = 0
P8 (8,9,10,11) = 1
= 01111001010101100
b. 101110001100
Solution