Question #1:
Do problem 2.86 in the text (representation of numbers)
Question #2:
Do problem 2.87 in the text (more representation)
Question #3:
2.88 (p. 129) – Determine whether or not each expression will always evaluate to 1 (true). If not, briefly explain why (writing 1-2 sentences at most… keep it short!). Keep in mind that very large/small values may cause overflow, truncation/rounding, or evaluate to infinity or NaN.
Question #4:
2.88 Work out “long hand” the steps to represent 3.1415 as a floating point number using the 8-bit representation on page 106. First, write 3.
Question #1:
Do problem 2.86 in the text (representation of numbers)
Question #2:
Do problem 2.87 in the text (more representation)
Question #3:
2.88 (p. 129) – Determine whether or not each expression will always evaluate to 1 (true). If not, briefly explain why (writing 1-2 sentences at most… keep it short!). Keep in mind that very large/small values may cause overflow, truncation/rounding, or evaluate to infinity or NaN.
Question #4:
2.88 Work out “long hand” the steps to represent 3.1415 as a floating point number using the 8-bit representation on page 106. First, write 3.1415 as a binary number (i.e. it will start with “11” since that represents 3). Then adjust it normalized form (a single ‘1’ before the binary point) and then cast it into the 8-bit representation. You obviously can’t represent all of Pi.
The link will help you solve the problem : https://www.youtube.com/watch?v=OCYZTg3jahU





