CSc 343
Computer Organization and Programming
Spring Quarter 1998
Quiz #1
(1) Convert the decimal number 1103 into binary and hexadecimal
notations.
Binary: ____10001001111________
Hex: ______44F______________
(2) Convert each of the following decimal representations
to its equivalent two's complement form using patterns
of eight bits:
(a) -49 11001111
(b) 49 00110001
(3) List ALL the floating point representations of the fractional
value 5/32, using 1 bit for sign, 3 bits for exponent in
excess-4 notation, and 4 bits for mantissa.
0 011 0101
0 010 1010
(4) Suppose a machine stores fractions in floating point notation with
1 bit for sign, 5 bits for exponent and 5 bits for mantissa.
(a) What is the largest number that can be represented in this
notation?
31,744
(b) What is the smallest non-zero positive number that can be
represented in this notation?
1/2,097,152
(5) Convert the following IEEE floating-point number to decimal
notation:
1 10001101 01011101101000000000000
-22,376
(6) Represent the number -1204.375 in the IEEE single-precision
format. Show your answer in HEX notation.
C4968C00