CSCE211, Homework Assignment No. 1


Homework Problems:  Many of the following problems ask you to convert between binary decimal and hexadecimal number systems.  You must show the process used for the conversion in order to receive credit.  (Do not simply use your calculator to perform the conversion and write down the answer.)

 

1.      (20 points).  Calculate (a) X+Y and (b) X-Y for each of the following pair of binary numbers.  Simply align the numbers on the radix point and proceed normally.  Show carries and borrows clearly.

X = 1011.0101            Y = 110.11

 

2.      (20 points).  Calculate (a) X+Y and (b) X-Y for the following pair of hexadecimal numbers.

X = 2CF3                    Y = 2B

 

3.      (10 points).  Convert 10101.112 (binary) to decimal using positional notation.

 

4.      (10 points).  Convert ABC.0416 (hexadecimal) to decimal using positional notation.

 

5.      (15 points).  Convert 11010 (decimal) to binary and hexadecimal by repeated dividing by 2 and 16.  Check your work by grouping the base 2 result four bits (to base 16).

 

6.      (15 points).  Convert 0.6510 (decimal) to binary and hexadecimal by repeated multiplying by 2 and 16.  Compute to 9 binary bits and round to 8 bits.

 

7.      (10 points).  Convert 10101.112 (binary) to hex by grouping.