Homework Assignment #1

 

(1) Convert the following hexadecimal numbers into binary and octal:

(a) 102316 = ?2 = ?8

(b) 7E6A16 = ?2 = ?8

(c) ABCD16 = ?2 = ?8

(d) 9F24516 = ?2 = ?8

(2) Perform the following number-system conversions:

(a) 12710 = ?2

(b) 248910 = ?8

(c) 131510 = ?2

(d) 99910 = ?16

(3) Write the 8-bit signed-magnitude, two’s complement, and ones’ complement representations for each of these decimal numbers:

+18, +115, +79, -49, -3, -100.

(4) Perform the following additions using 16-bit two's complement representation. Indicate if there was overflow.

  0110 0011 0101 0110

+ 0011 1010 0110 1111

---------------------

 

 

  1000 0101 0110 0110

+ 0110 0011 0010 1111

---------------------

 

 

  0001 1010 1110 1011

+ 0101 0010 0010 1010

---------------------

 

 

  1100 1101 1110 1101

+ 1011 1111 0100 0100

---------------------

 

 

  1100 1101 1110 1101

+ 1001 0000 1000 1000

---------------------