![]() |
PHYS245
Electricity and Electronics Syllabus - Classes - Assignments - Laboratory - Resources Class 22: Answers to Assignment |
Chapter 13
Hint: Please calculate the conversions by hand; you may confirm with the Online Binary/Hex/Decimal Convertor.
Exercise 1:
Ans:
| a) | 401 = | 0001 1001 0001 = | 191H |
| b) | 273 = | 0001 0001 0001 = | 111H |
| c) | 15 = | 1111 = | FH |
| d) | 38 = | 0010 0110 = | 26H |
| e) | 56 = | 0011 1000 = | 38H |
Exercise 2:
Ans:
| a) | AH = | 1010 = | 10 |
| b) | 66H = | 0110 0110 = | 102 |
| c) | 47H = | 0100 0111 = | 71 |
| d) | 21H = | 0010 0001 = | 33 |
| e) | 13H = | 0001 0011 = | 19 |
Exercise 3:
Ans:
| a) | 271 | .25 | = | 0001 0000 1111 | .0100 | ||||
| b) | 53 | .375 | = | 0011 0101 | .0110 | ||||
| c) | 37 | .32 | = | 0010 0101 | .0101 0001 | or | 0010 0101 | .0101 0010 | depending on how rounding is handled |
| d) | 54 | .27 | = | 0011 0110 | .0100 0101 | Thanks to Jeff Staniszewski for the discussion on part c) above. |
Exercise 4:
Ans:
| a) | 1111 = | FH = | 15 |
| b) | 0100 1101 = | 4DH = | 77 |
| c) | 0110 0101 = | 65H = | 101 |
| d) | 0101 1100 = | 5CH = | 92 |
| e) | 0001 1101 = | 1DH = | 29 |
| f) | 0010 1000 = | 28H = | 40 |
Exercise 5:
Ans:
| a) | 1111 1010 |
| b) | 0001 0001 0100 |
| c) | 0001 1000 0100 |