Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Assume we are using the simpl model for floating point representation as given i

ID: 3529423 • Letter: A

Question

Assume we are using the simpl model for floating point representation as given in this book(the representation uses a 14 bit format, 5 bits for the exponent with a bais of 16, a noramlized mantissa of 8 bitsm abd a single bit for the number:

a. Show the computer would represent the numbers 100.0 and 0.25 using this floating point format.

b. Show how the computer would add the two floadting point numbers in part a by changing one of the numbers so they both expressed using the same power of 2.

c. Show how the computer would represent the sum in part b using the given floatingpoint representation. What decimal value for the sum is the computer actually storing?

Explain.

Explanation / Answer

a)using for loop