SOEN 228 Midterm: SOEN 228 Midterm 2012 Winter

63 views7 pages

Document Summary

Instructions: closed book/closed notes, no calculators allowed, no laptops allowed, no cell phones allowed, answer all 5 questions. If you make any assumptions clearly indicate so in your answer booklets. Indicate whether over ow occurs. (c) perform the multiplication of (-5) x (+3) using the booth algorithm assuming 5-bit two"s complement notation is used for the multiplicand and multiplier. Question 2: [ 20 points ] (floating point representation) Consider a 8-bit oating point format similar to the ieee 754 notation, but simpli ed somewhat such that it is amenable for hand calculations. The base is 2 and the exponent is stored in 3 bits using excess-4 notation, the two end values of the stored exponent (namely 0 and 7) are used as. Special cases to represent exact 0. 0 and in nity respectively. The most signi cant bit is used to represent the sign of the number with 0 designating a positive number and 1 representing a nega- tive number.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents