CO2008w3t answers

advertisement
Computer Organisation 1 Week 3 Tutorial Questions
Answers – let me know if I’ve made any errors!
DB
Pure Binary:
1. Add 1001 to 0011. 1100
2. add 1000 1101 to 0001 0111: 1010 0100 ; 8D + 17 = A4
3. add 1001 0110 to 1100 0111. 1 0101 1101 ; 96 + C7 = 15D
Translate the numbers above to hexadecimal and repeat the additions. Check you are
correct by translating to decimal.
Pure Binary:
4. Subtract 0011 from 1011 : 1000
5. Subtract 0010 from 1000 : 0110
6. Subtract 0001 0111 from 1000 0011 : 0110 1100 : 83 – 17 = 6C
7. Subtract 0110 1111 from 1111 0000 : 1000 0001: F0 – 6F = 81
Translate the numbers above to hexadecimal and repeat the subtractions.
Pure Binary:
8. Multiply 1101 by 11: 27 (Hex)
9. Multiply 1000 by 1101 : 0110 1000 : 6 8
10. Multiply 1001 1100 by 1001 : 101 0111 1100 : 5 7 C
11. Multiply 0011 1110 by 0000 0110 : 1 0011 0110 : 1 3 6
Translate the numbers above to hexadecimal and repeat the calculations.
12. What is the maximum decimal integer that can be held as a pure binary 6 bits?
6 bits ? : 63 10 bits? : 1023
Download