You are on page 1of 1

COD (SE – CIS) HW # 01

Number Systems
1. Give range of the numbers that can be represented using n bits for given number representation schemes.
a. Sign magnitude b. 1’s complement c. 2’s complement d. Unsigned Integers
2. Determine minimum number of bits required to represent following numbers correctly in sign magnitude,
1’s complement & 2’s complement method.
a. 4 b. -4 c. 32 d. -32 e. -67
3. Give 2’s complement representation of numbers given in Q.2.
4. Represent the following numbers using 2’s complement method with specified number of bits.
a. 4 (6 bits), b. -4 (6 bits), c. -4 (8 bits), d. -4 (10 bits)
e. -58 (8 bits) f. 32 (8 bits) g. 97 (8 bits)
5. Give simple binary representation for 4(a), 4(f) & 4(g) and mention your observation(s).
6. Convert given binary strings to hexadecimal notations.
a. 11000100110110100000 b. 01111000010101111001
c. 111000100110110100000 d. 110111010100111001
7. Convert given hex numbers into binary format.
a. 3C2 h b. 0x FA5 c. D19)16 d. 5C h
8. Determine signed numbers represented by hex numbers of Q.7

*************

HW 1 _ Adressing Assignment # 01 HW 2 _ MIPS


Modes.docx Number System.docx ISA.docx
Not to be submitted

Ms. Anita Ali Page 1

You might also like