1 answer

Exercise 4.4 Find the decimal value of the DP number for each of the bit patterns...

Question:

Exercise 4.4 Find the decimal value of the DP number for each of the bit patterns (1) 001111111111 000...000 (2) 0 0111111111

Exercise 4.4 Find the decimal value of the DP number for each of the bit patterns (1) 001111111111 000...000 (2) 0 01111111111 000...001 (3) 0 10000110011 000...000 (3) 0 10000110011 000...001

Answers

Answer:

1) 0 01111111111 0000000000000000000000000000000000000000000000000000 sign bit is 0(+ve) exp bits are 01111111111 Converting 01111111111 to decimal    01111111111    => 0x2^10+1x2^9+1x2^8+1x2^7+1x2^6+1x2^5+1x2^4+1x2^3+1x2^2+1x2^1+1x2^0    => 0x1024+1x512+1x256+1x128+1x64+1x32+1x16+1x8+1x4+1x2+1x1    => 0+512+256+128+64+32+16+8+4+2+1    => 1023 in decimal it is 1023 so, exponent/bias is 1023-1023 = 0 frac bits are   IEEE-754 Decimal value is 1.frac * 2^exponent IEEE-754 Decimal value is 1. * 2^0 1. in decimal is 1    => 1.    => 1x2^0    => 1x1    => 1    => 1 so, 1 * 2^0 in decimal is 1 so, 0011111111110000000000000000000000000000000000000000000000000000 in 64-bit format is 1 Answer: 1  2) 0 01111111111 0000000000000000000000000000000000000000000000000001 sign bit is 0(+ve) exp bits are 01111111111 Converting 01111111111 to decimal    01111111111    => 0x2^10+1x2^9+1x2^8+1x2^7+1x2^6+1x2^5+1x2^4+1x2^3+1x2^2+1x2^1+1x2^0    => 0x1024+1x512+1x256+1x128+1x64+1x32+1x16+1x8+1x4+1x2+1x1    => 0+512+256+128+64+32+16+8+4+2+1    => 1023 in decimal it is 1023 so, exponent/bias is 1023-1023 = 0 frac bits are 0000000000000000000000000000000000000000000000000001  IEEE-754 Decimal value is 1.frac * 2^exponent IEEE-754 Decimal value is 1.0000000000000000000000000000000000000000000000000001 * 2^0 1.0000000000000000000000000000000000000000000000000001 in decimal is 1.0000000000000002    => 1.0000000000000000000000000000000000000000000000000001    => 1x2^0+0x2^-1+0x2^-2+0x2^-3+0x2^-4+0x2^-5+0x2^-6+0x2^-7+0x2^-8+0x2^-9+0x2^-10+0x2^-11+0x2^-12+0x2^-13+0x2^-14+0x2^-15+0x2^-16+0x2^-17+0x2^-18+0x2^-19+0x2^-20+0x2^-21+0x2^-22+0x2^-23+0x2^-24+0x2^-25+0x2^-26+0x2^-27+0x2^-28+0x2^-29+0x2^-30+0x2^-31+0x2^-32+0x2^-33+0x2^-34+0x2^-35+0x2^-36+0x2^-37+0x2^-38+0x2^-39+0x2^-40+0x2^-41+0x2^-42+0x2^-43+0x2^-44+0x2^-45+0x2^-46+0x2^-47+0x2^-48+0x2^-49+0x2^-50+0x2^-51+1x2^-52    => 1x1+0x0.5+0x0.25+0x0.125+0x0.0625+0x0.03125+0x0.015625+0x0.0078125+0x0.00390625+0x0.001953125+0x0.0009765625+0x0.00048828125+0x0.000244140625+0x0.0001220703125+0x6.103515625e-05+0x3.0517578125e-05+0x1.52587890625e-05+0x7.62939453125e-06+0x3.814697265625e-06+0x1.9073486328125e-06+0x9.5367431640625e-07+0x4.76837158203125e-07+0x2.384185791015625e-07+0x1.1920928955078125e-07+0x5.960464477539063e-08+0x2.9802322387695312e-08+0x1.4901161193847656e-08+0x7.450580596923828e-09+0x3.725290298461914e-09+0x1.862645149230957e-09+0x9.313225746154785e-10+0x4.656612873077393e-10+0x2.3283064365386963e-10+0x1.1641532182693481e-10+0x5.820766091346741e-11+0x2.9103830456733704e-11+0x1.4551915228366852e-11+0x7.275957614183426e-12+0x3.637978807091713e-12+0x1.8189894035458565e-12+0x9.094947017729282e-13+0x4.547473508864641e-13+0x2.2737367544323206e-13+0x1.1368683772161603e-13+0x5.684341886080802e-14+0x2.842170943040401e-14+0x1.4210854715202004e-14+0x7.105427357601002e-15+0x3.552713678800501e-15+0x1.7763568394002505e-15+0x8.881784197001252e-16+0x4.440892098500626e-16+1x2.220446049250313e-16    => 1+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+2.220446049250313e-16    => 1.0000000000000002 so, 1.0000000000000002 * 2^0 in decimal is 1.0000000000000002 so, 0011111111110000000000000000000000000000000000000000000000000001 in 64-bit format is 1.0000000000000002 Answer: 1.0000000000000002  3) 0 10000110011 0000000000000000000000000000000000000000000000000000 sign bit is 0(+ve) exp bits are 10000110011 Converting 10000110011 to decimal    10000110011    => 1x2^10+0x2^9+0x2^8+0x2^7+0x2^6+1x2^5+1x2^4+0x2^3+0x2^2+1x2^1+1x2^0    => 1x1024+0x512+0x256+0x128+0x64+1x32+1x16+0x8+0x4+1x2+1x1    => 1024+0+0+0+0+32+16+0+0+2+1    => 1075 in decimal it is 1075 so, exponent/bias is 1075-1023 = 52 frac bits are   IEEE-754 Decimal value is 1.frac * 2^exponent IEEE-754 Decimal value is 1. * 2^52 1.

In decimal is 1 => 1. => 1x2^0 => 1x1 => 1 => 1 so, 1 * 2^52 in decimal is 4503599627370496 so, 0100001100110000000000000000000000000000000000000000000000000000 in 64-bit format is 4503599627370496 Answer: 4503599627370496 4) 0 10000110011 0000000000000000000000000000000000000000000000000001 sign bit is 0(+ve) exp bits are 10000110011 Converting 10000110011 to decimal 10000110011 => 1x2^10+0x2^9+0x2^8+0x2^7+0x2^6+1x2^5+1x2^4+0x2^3+0x2^2+1x2^1+1x2^0 => 1x1024+0x512+0x256+0x128+0x64+1x32+1x16+0x8+0x4+1x2+1x1 => 1024+0+0+0+0+32+16+0+0+2+1 => 1075 in decimal it is 1075 so, exponent/bias is 1075-1023 = 52 frac bits are 0000000000000000000000000000000000000000000000000001 IEEE-754 Decimal value is 1.frac * 2^exponent IEEE-754 Decimal value is 1.0000000000000000000000000000000000000000000000000001 * 2^52 1.0000000000000000000000000000000000000000000000000001 in decimal is 1.0000000000000002 => 1.0000000000000000000000000000000000000000000000000001 => 1x2^0+0x2^-1+0x2^-2+0x2^-3+0x2^-4+0x2^-5+0x2^-6+0x2^-7+0x2^-8+0x2^-9+0x2^-10+0x2^-11+0x2^-12+0x2^-13+0x2^-14+0x2^-15+0x2^-16+0x2^-17+0x2^-18+0x2^-19+0x2^-20+0x2^-21+0x2^-22+0x2^-23+0x2^-24+0x2^-25+0x2^-26+0x2^-27+0x2^-28+0x2^-29+0x2^-30+0x2^-31+0x2^-32+0x2^-33+0x2^-34+0x2^-35+0x2^-36+0x2^-37+0x2^-38+0x2^-39+0x2^-40+0x2^-41+0x2^-42+0x2^-43+0x2^-44+0x2^-45+0x2^-46+0x2^-47+0x2^-48+0x2^-49+0x2^-50+0x2^-51+1x2^-52 => 1x1+0x0.5+0x0.25+0x0.125+0x0.0625+0x0.03125+0x0.015625+0x0.0078125+0x0.00390625+0x0.001953125+0x0.0009765625+0x0.00048828125+0x0.000244140625+0x0.0001220703125+0x6.103515625e-05+0x3.0517578125e-05+0x1.52587890625e-05+0x7.62939453125e-06+0x3.814697265625e-06+0x1.9073486328125e-06+0x9.5367431640625e-07+0x4.76837158203125e-07+0x2.384185791015625e-07+0x1.1920928955078125e-07+0x5.960464477539063e-08+0x2.9802322387695312e-08+0x1.4901161193847656e-08+0x7.450580596923828e-09+0x3.725290298461914e-09+0x1.862645149230957e-09+0x9.313225746154785e-10+0x4.656612873077393e-10+0x2.3283064365386963e-10+0x1.1641532182693481e-10+0x5.820766091346741e-11+0x2.9103830456733704e-11+0x1.4551915228366852e-11+0x7.275957614183426e-12+0x3.637978807091713e-12+0x1.8189894035458565e-12+0x9.094947017729282e-13+0x4.547473508864641e-13+0x2.2737367544323206e-13+0x1.1368683772161603e-13+0x5.684341886080802e-14+0x2.842170943040401e-14+0x1.4210854715202004e-14+0x7.105427357601002e-15+0x3.552713678800501e-15+0x1.7763568394002505e-15+0x8.881784197001252e-16+0x4.440892098500626e-16+1x2.220446049250313e-16 => 1+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+0.0+2.220446049250313e-16 => 1.0000000000000002 so, 1.0000000000000002 * 2^52 in decimal is 4503599627370497.0 so, 0100001100110000000000000000000000000000000000000000000000000001 in 64-bit format is 4503599627370497.0 Answer: 4503599627370497.0


Please let me know if you have any doubts Please upvote this answer. Thanks!!

.

Similar Solved Questions

1 answer
Second run Calculations 8. AT (°C) for water (7-6) 9. Mass of water (4–3) 10. Heat...
Second run Calculations 8. AT (°C) for water (7-6) 9. Mass of water (4–3) 10. Heat (J) gained by water (Show calculations.) First run 3.2° Soa 2.90 516 11. Heat (J) lost by the metal Heat (J) lost by metal = Heat (J) gained by water (10) 12. AT (°C) for metal (5-7) 13. Specific hea...
1 answer
4 slid teaching on ACE inhibitor treatment for heart failure. paying attention on how the medication is use and their si...
4 slid teaching on ACE inhibitor treatment for heart failure. paying attention on how the medication is use and their side effect . the teaching should on 6 grade...
1 answer
Coulomb's law for the magnitude of the force F between two particles with charges Q and...
Coulomb's law for the magnitude of the force F between two particles with charges Q and Q′ separated by a distance d is |F|=K|QQ′|d2, where K=14πϵ0, and ϵ0=8.854×10−12C2/(N⋅m2) is the permittivity of free space. Consider two point charges located on th...
1 answer
High Country, Inc., produces and sells many recreational products. The company has just opened a new...
High Country, Inc., produces and sells many recreational products. The company has just opened a new plant to produce a folding camp cot that will be marketed throughout the United States. The following cost and revenue data relate to May, the first month of the plant's operation: 44,000 39,000 ...
1 answer
If the molecular weights of each of the following C2H6,CH3OH,CH3F are nearly. So,the right ascending arrangement of their boiling points is ....?
If the molecular weights of each of the following C2H6,CH3OH,CH3F are nearly. So,the right ascending arrangement of their boiling points is ....?...
1 answer
How do you write an equation of a line given (1,7) with a slope of 7?
How do you write an equation of a line given (1,7) with a slope of 7?...
1 answer
How do you integrate #int (x-3)/(x^2-2x-5) dx# using partial fractions?
How do you integrate #int (x-3)/(x^2-2x-5) dx# using partial fractions?...
2 answers
Bart believes that mice exposed to microwaves will become extra strong (maybe he's been reading too much Radioactive Man)
Bart believes that mice exposed to microwaves will become extra strong (maybe he's been reading too much Radioactive Man). He decides to perform this experiment by placing 10 mice in a microwave for 10 seconds. He compared these 10 mice to another 10 mice that had not been exposed. His test cons...
1 answer
Use the data in the following table, which lists drive-thru order accuracy at popular fast food...
Use the data in the following table, which lists drive-thru order accuracy at popular fast food chains. Assume that orders are randomly selected from those included in the table. Drive-thru Restaurant A B с D Order Accurate 328 265 238 133 Order Not Accurate 39 54 32 12 If one order is selecte...
1 answer
Part III. (30 points). Heat 1 .ToStevens A cogeneration system is Turbine 1 Mwe to provide...
Part III. (30 points). Heat 1 .ToStevens A cogeneration system is Turbine 1 Mwe to provide 10 MWe of electric Boiler power and hot water at a temperature of 70°C. As shown in the cycle diagram, Steam enters the turbine at 10 MPa and 550°C. A portion of the steam is extracted from the turbine...
1 answer
Please help me solve this urgently ( chemical engineering thermodynamics) A. True or False; answ er...
Please help me solve this urgently ( chemical engineering thermodynamics) A. True or False; answ er False() orTrue(T). For those false, please give your explanation. (6%,4% each) 1. For a pure species of one mole of'a closed system, a reversible phase change wben two phases are in equilibriu...
1 answer
Gross Primary Productivity (GPP) is equal to: a. Respiration + NPP b. The component of energy...
Gross Primary Productivity (GPP) is equal to: a. Respiration + NPP b. The component of energy absorbed by plant leaves and then re-emitted as heat Net primary productivity (NPP) -respiration The ratio of NPP to net secondary productivity c. d....
1 answer
Need help with this Java. I need help with the "to do" sections. Theres two parts...
Need help with this Java. I need help with the "to do" sections. Theres two parts to this and I added the photos with the entire question Lab14 Part 1: 1) change the XXX to a number in the list, and YYY to a number // not in the list 2.code a call to linearSearch with the item number (XXX) /...
5 answers
A graphic source is an image that help you understand what you read
a graphic source is an image that help you understand what you read. common graphic source include charts, graphs,and diagrams.study the following graphic source. then answer the questions below.the worst volcanic eruptions in historyVOLCANO| LOCATION| YEARS| DEATHE| MAJOR CAUSE OF DEATHSTEMBORA| IN...
1 answer
Requirement #1:                                        
Requirement #1:                                               &nb...
1 answer
This week you will be creating an Implementation Plan that will be attached to your final...
This week you will be creating an Implementation Plan that will be attached to your final EBP. For the discussion board this week—outline your implementation steps 1-2-3. PICOT: In the elderly population of those aged 65 years or older, how does a fall risk assessment compared to environment m...
1 answer
Question 17 of 20 : Select the best answer for the question. 17. Which stimulus activates...
Question 17 of 20 : Select the best answer for the question. 17. Which stimulus activates the body's thirst mechanism? O A. Increase in blood pressure O B. Decrease in vitamin B O C. Decrease in blood volume O D. Decrease in sodium concentration...
1 answer
5) What might be the effects on a photoelectric effect experiment if we were to double...
5) What might be the effects on a photoelectric effect experiment if we were to double the frequency of the incident light? If we were to double the wavelength? If we were to double the intensity?...