誰能幫忙解答呀? 謝謝
Question 5:
Given a computer that has a word size of 7 bits (binary digits), what are the smallest negative and largest positive numbers (in binary, then in decimal) that this computer can represent in one』s complement and in two』s complement?
Smallest Negative Number Largest Positive Number
One』s Complement
Two』s Complement
Question 6:
If the floatingCpoint number storage on a certain system has a sign bit, a 3-bit exponent, and a 4-bit significand:
a. What are the largest and the smallest positive numbers that can be stored on this system if the storage is normalized? (Assume no bits are implied, there is no biasing, exponents use two』s complement notation, and exponents of all zeros and all ones are allowed.)
Largest Positive Number: ______________________ (in decimal)
Smallest Non-Zero Positive Number: ______________________ (in decimal)
b. What bias should be used in the exponent if we prefer all exponents to be non-negative? Why would you choose this bias?
Bias: _________________________________ (in decimal)
Reason: