Homework 4, Codes.
Please answer the following questions.
- You should type your answers. If you will not do this, you should
- Have exceedingly clear penmanship
- Take a clear picture of each answer individually
- Include these, along with the question, in your word document.
- If you do not show your work, you will not receive credit for your answers.
- [1 point each]Represent the following
- -4242 in four digit 9's complement
- -8723 in four digit 10's complement
- 34 in 8 bit two's complement
- -98 in 8 bit two's complement
- -128 in 8 bit two's complement
- 463 in BCD
- 0010 0110 1000BCD in decimal
- 1010 1000 0011BCD-3 in decimal
- [1 point each] The following are represented in 6 bit two's complement. Give the corresponding decimal sign magnitude equivalent.
- 0110112
- 1011012
- 1000002
- [3 points each] Perform the indicated calculations. Show all work.
- 10110102 + 10010112
- 3925 - 5235 using 9's complement
- 3925 - 5235 using 10's complement
- 122 - 105 using 8 bit two's complement (Don't subtract)
- [4 points] Describe two distinct problems when using sign magnitude.
- [4 points] Describe two advantages of ASCII over EBCDIC
- [1 point each] Convert the following
- 11gray to binary
- 1011gray to binary
- 10012 to gray code
- 11012 to gray code
Required Files
A word file containing ALL answers to this homework.
Submission
Submit the assignment to the D2L folder Homework4 by the due date.