Web Tut1a Solns Rev
Web Tut1a Solns Rev
1. (a) 1010
{ 0101 { • 1111
{ 1001 { 1100
{ 1110
{ (b) ( 578.28F 5....)16
(c) ( 534.07 )8 (d) (10100110.0101…)2 (e) 4623
4. 5.
6.
(a) 27 + 38 01000001 ⎯⎯⎯→ 65
(b) (-1) + 45 100101100 ⎯⎯⎯→ 44
(Adding these two numbers causes a carry over
into the 9th bit position, which is ignored in the
8-bit arithmetic system.)
(c) -128 + (-60) 01000100 ⎯⎯⎯→ 68
(d) 55 + 75 10000010 ⎯⎯⎯→ -126
(c) and (d) reflect an overflow situation i.e. the
correct result cannot be represented with the
available number of bits. If there is overflow the
sum of 2 positive numbers will become negative,
or the sum of 2 negative numbers becomes
positive.