Question

In: Computer Science

Assuming three-bit exponent field and four-bit significant, what is the bit pattern for 5.75

Assuming three-bit exponent field and four-bit significant, what is the bit pattern for 5.75

Solutions

Expert Solution

01010111

Explanation:
-------------
5.75
Converting 5.75 to binary
   Convert decimal part first, then the fractional part
   > First convert 5 to binary
   Divide 5 successively by 2 until the quotient is 0
      > 5/2 = 2, remainder is 1
      > 2/2 = 1, remainder is 0
      > 1/2 = 0, remainder is 1
   Read remainders from the bottom to top as 101
   So, 5 of decimal is 101 in binary
   > Now, Convert 0.75000000 to binary
      > Multiply 0.75000000 with 2.  Since 1.50000000 is >= 1. then add 1 to result
      > Multiply 0.50000000 with 2.  Since 1.00000000 is >= 1. then add 1 to result
      > This is equal to 1, so, stop calculating
   0.75 of decimal is .11 in binary
   so, 5.75 in binary is 00000101.11
5.75 in simple binary => 101.11
so, 5.75 in normal binary is 101.11 => 1.0111 * 2^2

8-bit format:
--------------------
sign bit is 0(+ve)
exponent bits are (3+2=5) => 101
   Divide 5 successively by 2 until the quotient is 0
      > 5/2 = 2, remainder is 1
      > 2/2 = 1, remainder is 0
      > 1/2 = 0, remainder is 1
   Read remainders from the bottom to top as 101
   So, 5 of decimal is 101 in binary
frac/significant bits are 0111

so, 5.75 in 8-bit format is 0 101 0111

Related Solutions

Assuming three-bit exponent field and four-bit significand, what is the bit pattern for -8.75
Assuming three-bit exponent field and four-bit significand, what is the bit pattern for -8.75
1. Assuming three-bit exponent field and four-bit significand, what is the bit pattern for -8.75?
1. Assuming three-bit exponent field and four-bit significand, what is the bit pattern for -8.75?
(5 pts) Assuming three-bit exponent field and four-bit significand, what is the bit pattern for 11.25(show...
(5 pts) Assuming three-bit exponent field and four-bit significand, what is the bit pattern for 11.25(show work)
Using the three-bit exponent field and four-bit significand, what is the bit pattern for the -2.5?...
Using the three-bit exponent field and four-bit significand, what is the bit pattern for the -2.5? (show work)
3.21 [10] <§3.5> If the bit pattern 0×0C000000 is placed into the Instruction Register, what MIPS...
3.21 [10] <§3.5> If the bit pattern 0×0C000000 is placed into the Instruction Register, what MIPS instruction will be executed? 3.22 [10] <§3.5> What decimal number does the bit pattern 0×0C000000 represent if it is a floating point number? Use the IEEE 754 standard. Given the following 32-bit binary sequences representing single precision IEEE 754 floating point numbers: a = 0100 0000 1101 1000 0000 0000 0000 0000 b = 1011 1110 1110 0000 0000 0000 0000 0000 Perform the...
One number has three significant figures and another number has four significant figures. If these numbers...
One number has three significant figures and another number has four significant figures. If these numbers are added, subtracted, multiplied, or divided, which operation can produce the greatest number of significant figures? The answer given is ADDITION. But why? How? Please explain and give examples. Thanks.
Assuming no exit aperture, what is the theoretical resolving power of a magnetic sector field with...
Assuming no exit aperture, what is the theoretical resolving power of a magnetic sector field with a mass dispersion of ∂M = 0.950m, an object width of OS = 250µm and magnification d=1? Give resolving power as R = m/∆m. Is R sufficient to resolve the isobars 87Rb and 87Sr?Hint: 87Rb = 86.909187u, 87Sr = 86.908884u
Four varieties of soybean were planted in each of three separate regions of a field.  The resulting...
Four varieties of soybean were planted in each of three separate regions of a field.  The resulting yields were: Region Variety A B C D 1 45 48 43 41 2 49 45 42 39 3 38 39 35 36 Give a graphical summary of the data. From the graphic, conjecture as to whether you believe a difference exists in the four different varieties of soybean.   Give 4 C’s for both a parametric and nonparametric test for these data.   
Assuming that both the three-factor model (TFM) and the Carhart four-factor model (FFM) are used to...
Assuming that both the three-factor model (TFM) and the Carhart four-factor model (FFM) are used to estimate the alpha of an active portfolio. Explain which model is likely to result in alpha of higher magnitude. Also explain why might one model be preferred to another in adjusting for the risk of an active portfolio.
Assuming that both the three-factor model (TFM) and the Carhart four-factor model (FFM) are used to...
Assuming that both the three-factor model (TFM) and the Carhart four-factor model (FFM) are used to estimate the alpha of an active portfolio. Explain which model is likely to result in alpha of higher magnitude. Also explain why might one model be preferred to another in adjusting for the risk of an active portfolio.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT