Homework 4, Codes.

Please answer the following questions.

  1. [1 point each]Represent the following
    1. -4242 in four digit 9's complement
    2. -8723 in four digit 10's complement
    3. 34 in 8 bit two's complement
    4. -98 in 8 bit two's complement
    5. -128 in 8 bit two's complement
    6. 463 in BCD
    7. 0010 0110 1000BCD in decimal
    8. 1010 1000 0011BCD-3 in decimal
  2. [1 point each] The following are represented in 6 bit two's complement. Give the corresponding decimal sign magnitude equivalent.
    1. 0110112
    2. 1011012
    3. 1000002
  3. [3 points each] Perform the indicated calculations. Show all work.
    1. 10110102 + 10010112
    2. 3925 - 5235 using 9's complement
    3. 3925 - 5235 using 10's complement
    4. 122 - 105 using 8 bit two's complement (Don't subtract)
  4. [4 points] Describe two distinct problems when using sign magnitude.
  5. [4 points] Describe two advantages of ASCII over EBCDIC
  6. [1 point each] Convert the following

Required Files

A word file containing ALL answers to this homework.

Submission

Submit the assignment to the D2L folder Homework4 by the due date.