August
1997 QUESTION 2 Total Marks: 20 Marks |
Click here to access other
questions
Click to access |
2. | (a) Using fixed point arithmetic with 2's complement representation, calculate the result of the following sum: | [4] | |
-16 - 64 = ? | |||
Convert the final result to decimal. | |||
(b) Perform the BCD addition of 15910 and 6710. Convert the final result to decimal. | [4] | ||
(c) Using floating point arithmetic with 2's complement representation, a 6-bit mantissa, and a 4-bit exponent, calculate the result of the following sum: | |||
-231.124 - 1B.816 = ? | |||
Convert the final result to decimal representation and comment upon the accuracy of the answer. | [12] |