COS 111, Fall 1998 - Problem Set 2

Due by 5pm, Tuesday Oct. 6

From Brookshear, Chapter One Review Problems (pp. 54-55):
35 c and e,
36 b and c,
37 c and e,
40 d, e, and using the same instructions as in problem 40, subtract 12 from 4. Indicate if there is overflow for any of these calculations.
44 c and e,
47. In answering this question, be explicit about the value of centimeters that would be stored if 110cm was recorded in units of meters.

Extra credit
Brookshear, Chapter One Review Problem 50 (pg 55). Hint: Start by writing the decimal number each bit pattern would represent if it is excess 16 notation and if it is two's complement notation.


Back to Schedule and Assignments