3. [20 marks] Luffy is a CPSC 121 student and he decided to propose the following...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
3. [20 marks] Luffy is a CPSC 121 student and he decided to propose the following scheme for representing floating point numbers using 12 bits. The leftmost 8 bits will be the signed binary integer x representing the decimal digits that will form the components to both the left and right of the decimal point; the rightmost 4 bits will be a signed binary integer y representing the exponent of 10 by which will be multiplied to produce the final floating point value. Assume that signed integers are encoded using two's-complement. For example, the number -14.35 would have x = -1435 and y -2. a. [5 marks] What is the largest value representable using this scheme? b. [5 marks] scheme? c. [5 marks] scheme? What is the smallest positive (non-zero) value representable using this What's the smallest (i.e., most negative) value representable using this d. [5 marks] Give a number smaller than your answer for item 3a and larger than your answer for item 3c that has 2 digits after the decimal point and it is not representable using this scheme. 3. [20 marks] Luffy is a CPSC 121 student and he decided to propose the following scheme for representing floating point numbers using 12 bits. The leftmost 8 bits will be the signed binary integer x representing the decimal digits that will form the components to both the left and right of the decimal point; the rightmost 4 bits will be a signed binary integer y representing the exponent of 10 by which will be multiplied to produce the final floating point value. Assume that signed integers are encoded using two's-complement. For example, the number -14.35 would have x = -1435 and y -2. a. [5 marks] What is the largest value representable using this scheme? b. [5 marks] scheme? c. [5 marks] scheme? What is the smallest positive (non-zero) value representable using this What's the smallest (i.e., most negative) value representable using this d. [5 marks] Give a number smaller than your answer for item 3a and larger than your answer for item 3c that has 2 digits after the decimal point and it is not representable using this scheme.
Expert Answer:
Answer rating: 100% (QA)
a To find the largest value representable using this scheme we need to consider the maximum value fo... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
The year-end financial statements for West Railway report the following information: Year ended December 31, (In Millions) Year 2 Year 1 Revenue $22,803 $25,262 Property, plant, and equipment, net...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-6. On December 12, Irene purchased the building where her store is located. She paid...
-
All administrative laws are criminal laws and enforceable as such even though they are not part of the Criminal Code. True False
-
Give the ground-state electron configurations of (a) H-2 (b) N2, and (c) Oz.
-
Calculate the gain with and without feedback for an FET amplifier as in Fig. 14.7 for circuit values R1, = 800k(, R2 = 200k(, Ro = 40k(, RD = 8k(, and gm = 5000 (S.
-
It is often assumed that "sharp objects can cut through the air better than blunt ones." Based on this assumption, the drag on the object shown in Fig. P9.59 should be less when the wind blows from...
-
At the beginning of the year, Goren Company had total assets of $800,000 and total liabilities of $500,000. (Treat each item independently.) (a) If total assets increased $150,000 during the year and...
-
Yellow Sticker Company's variable expenses are 40% of sales. The company has monthly fixed expenses of $15,000 and sells each unit for $0.50. The monthly target operating income is $7,500. a. What is...
-
A 0.40-m 3 insulated pistoncylinder device initially contains 1.3 kg of air at 30C. At this state, the piston is free to move. Now air at 500 kPa and 70C is allowed to enter the cylinder from a...
-
How can a student who will undergo a classroom observation going to actualize the connection between educational theory and practice? Explain your answer thoroughly & briefly. 2. The "CONSULTATION"...
-
1. Wilson Security Value demonstrated Brief Explanation of How Each Value Led to Customer Satisfaction 2. : Identify the three qualities of Wilson Security leaders. Briefly explain why each quality...
-
The Peace for All Co. paid $2,700,000 to thThe Peace for All Co. paid $2,700,000 to the Moonbeam Co. and purchased all outstanding stock of the company. Peace for All Co. assumed all of the...
-
Provide the relevant AS/NZ Standard for the following PPE items: PPE item: AS/NZ Standard: 1.Gloves 2.Eyewear 3.Gowns 4.Masks
-
On March 1, 2021, Jeff and Alex each purchased 100 common shares from corporate treasury on the incorporation of Costa Inc. for $4,000 each ($40/share) In March 2023, Jeff Bought Alex's 100 common...
-
The FIN340 Company has 920,000 shares of common stock, 150,000 shares of preferred stock, and 21,000 bonds outstanding (par value = $1,000 per bond). The current market pricing for each is...
-
As a company's Inventory turnover ratlo decreases fro, one year to the next, they will find that the number of days Inventory is held before sale: a. decreases b. increases c. stays the same d. can...
-
As indicated by mutual fund flows, investors tend to beat the market seek safety invest in last year's winner invest in last years loser
-
In Exercises, find the indefinite integral. 1 Jx-5 dx
-
Evaluate x and y at the given point. f(x,y) = cos(2x y), 4' 3
-
In Exercises the limit represents '(c) for a function and a number c. Find and c. 9 - X 98 + zx- x-6 lim
-
Consider the situation illustrated in Figure 25. 11. A positively charged particle is lifted against the uniform electric field of a negatively charged plate. Ignoring any gravitational interactions,...
-
A positively charged particle is moved from point A to point B in the electric field of the massive, stationary, positively charged object in Figure 25. 12. (a) Is the electrostatic work done on the...
-
Figure 25. 13 shows both the electric field lines and the equipotentials associated with the given charge distribution. (a) Is the potential at point A higher than, lower than, or the same as the...
Study smarter with the SolutionInn App