Difference between revisions of "CSC231 Final Exam 2015"

From dftwiki3
Jump to: navigation, search
Line 82: Line 82:
 
Assume that we want to create a 16-bit version of the IEEE floating point format, with 1 sign bit, 7 bits for the exponent, and 8 bits of mantissa (1+7+8 = 16).
 
Assume that we want to create a 16-bit version of the IEEE floating point format, with 1 sign bit, 7 bits for the exponent, and 8 bits of mantissa (1+7+8 = 16).
  
We want to follow the same rules IEEE used to define the 32-bit and 64-bit formats.
+
We want to follow the same rules the IEEE used to define the 32-bit and 64-bit formats.
  
 
;Questions:
 
;Questions:
Line 90: Line 90:
 
: what binary or hex values represent + infinity,  - infinity, and  NaN?
 
: what binary or hex values represent + infinity,  - infinity, and  NaN?
 
: what is the bias of the exponent?
 
: what is the bias of the exponent?
 +
: what is 1.75 in this new format?
 +
: what is -1.75 in this new format?
 +
: what is the real number with this representation 0 0001111 01000000?
  
 
Store your answers in a pdf, with your name at the top, and submit it to the Final PB 3 Section on Moodle.
 
Store your answers in a pdf, with your name at the top, and submit it to the Final PB 3 Section on Moodle.
 
<br />
 
<br />
 
</onlydft>
 
</onlydft>

Revision as of 10:01, 12 December 2015


...