You are on page 1of 1

Exercise based on first week lectures

Q. 1 Add the following 2’s compliment numbers. Verify your result in


decimal number system.
a) 10101 + 01010
b) 11111110 + 011100
c) 01011010 + 111100
d) 00111000 + 11000111

Q. 2 Create a table showing the decimal values of all 4-bit 2’s compliment
numbers.

Q. 3 What is the equivalent octal number for each of the following


unsigned numbers:
a) 342910
b) ABC516
c) 011011012

Q. 4 Represent the answers of Q.1 in hexa decimal notation and in octal


notation.

Q. 5 The hex digits E29F represent a 16 bit 2’s compliment integer. What is
the equivalent decimal number?

Q. 6 The octal digits 567 represent a 9 bit 2’s compliment integer. What is
the equivalent decimal number?

End of Exercise

You might also like