When you solve a problem, show all the steps, similar to the examples in the cla
ID: 3786951 • Letter: W
Question
When you solve a problem, show all the steps, similar to the examples in the class. Just the answer will not give you credit for a problem. Lay out your answers in a logical manner. The assignment must be handed-in on February 4, 2017 before the lecture. No late assignments will be accepted. You do NOT have to show detailed calculations for converting between decimal, hexadecimal and binary representations on this assignment. You MUST use groups 4 bits when writing your answer. 1. [30 marks] Convert each of the following numbers to normalized 10-bit floating point (using the definition distributed in class. In each case, state explicitly whether a loss of precision has occurred, and how you know. Then convert your binary answer back to decimal and compare with the original decimal value. (a) -11710 (b) 0.17578125 (c)-31.37510Explanation / Answer
Here is the answer.I gave the procedure for conversion at the end .Any further doubts,please feel free to contact us.We will love to help you
1) -11710
Answer:
Binary (-1)1 * 101101 - 111 * 1.11010
Table Representation :
SIGN BIT = 1
EXPONENT= 1101
MANTISSA= 11010
2) 0.17578125
Ans)
binary : (-1)0 * 100100 - 111 * 1.01101
TABLE REPRESENTATION:
SIGN=0
EXPONENT:0100
MANTISSA:01101
3)-31.375
Ans:
binary (-1)1 * 101011 - 111 * 1.11110
TABLE REPRESENTAION:
SIGN: 1
EXPONENT:1011
MANTISSA:1110
The rules for converting a decimal number into floating point are as follows:
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.