Task 1: Suppose you had 3 bits to represent 2s Complement Numbers.
a) What is the weighting of each bit?
[-4],[2],[1]
b) What is the largest number that can be represented?
3
c) What is the smallest number?
-4
Task 2: Suppose you had 7 bits to represent 2s complement number.
a) What is the weighting of each bit?
[-64],[32],[16],[8],[4],[2],[1]
b) What is the largest number that can be represented?
63
c) What is the smallest number?
-64
Task 3: How would you represent:
a)4
00100
b) 8
01000
c) 11
01111
Wednesday, 3 October 2007
Subscribe to:
Post Comments (Atom)
1 comment:
1. (a)1
(b)1
(c)1
-------
2. (a)1
(b)1
(c)1
-------
3. (a)1
(b)1
(c)X
Post a Comment