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
-
Going back to Chapter 16, since all bodies radiate energy, why don't all bodies become cooler?
-
Highlight your qualifications with effective tone, style, and design.
-
A team-building exercise has teams build a house of cards as high as possible. However, the cards for different teams are of different sizes. Team 1 uses \(10 \mathrm{~cm} \times 10 \mathrm{~cm}\)...
-
(Pension Expense, Journal Entries, Amortization of Loss) Gottschalk Company sponsors a defined benefit plan for its 100 employees. On January 1, 2010, the companys actuary provided the following...
-
eBook Interest rates on 4-year Treasury securities are currently 5.0%, while 6-year Treasury securities yield 7.15%. If the pure expectations theory is correct, what does the market believe that...
-
Branson Ltd owns two delivery vehicles (each with a residual value of $5000 and useful life of 4 years) and uses the straight-line method of depreciation. The business closes its accounting records...
-
2.20 The class midpoints in a frequency distribution of water saturations are 0.25, 0.32, 0.39, 0.46, 0.53, and 0.60. Find (a) the size of the class interval, (b) the class boundaries, and (c) the...
-
The former managing director of Fuji Xerox in Australia and New Zealand was paid more than AU$1 million to leave the company after it was discovered that the "inappropriate" accounting practices that...
-
Consider the following cash flows for two mutually exclusive alternatives (One of the motors): Motor A Motor B Capital investment Annual expenses 9000 8000 5000 6000 Useful life 10 years 15 years...
-
The number of power outages at a nuclear power plant has a Poisson distribution with a mean of 6 outages per year. a. What is the probability that there will be exactly 3 power outages in a year? b....
-
Topic E - What are product cost and period costs? The first Dunkin' restaurant opened in 1948 in Quincy, Massachusetts, and is still in operation today. The recipe for Dunkin' donuts has been a...
-
White Company has two departments, Cutting and Finishing. The company uses a job-order costing system and computes a predetermined overhead rate in each department. The Cutting Department bases its...
-
Taliyah has a long-term goal of becoming an accountant. She has reflected on her values and set several short-term goals. Analyze the short-term goals listed below. Which of Taliyah's short-term...
-
4. Jobe dy -Y 2 et by
-
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
-
You are to enter up the sales journal from the following details. Post the items to the relevant accounts in the sales ledger and then show the transfer to the sales account in the general ledger....
-
Enter up the sales journal from the following, then post the items to the relevant accounts in the sales ledger. Then show the transfer to the sales account in the general ledger. 19X8 Mar 1 Credit...
-
J Fisher, White House, Bolton, is selling the following items, the retail prices as shown: plastic tubing at 1 per metre, polythene sheeting at 2 per length, vinyl padding at 5 per box, foam rubber...
Study smarter with the SolutionInn App