CMPS 375 Computer Architecture
Assignment 2 (Spring 2005)
Assignment 2 (Chapter 2)
Due: February 3, 2005
- Perform the following base conversion:
(1518)10 = (__________)7
- Convert the decimal number (305.2)10 to binary with a maximum
of six places to the
right of the binary point.
- Find the 5's complement of (25104)6.
- Represent the decimal integer 35 in binary using 8-bit signed
magnitude, one's
complement, and two's complement.
- Represent the decimal integer -35 in binary using 8-bit signed
magnitude, one's
complement, and two's complement.
- Given that the ASCII code for A is 0100 0001, what is the ASCII code
for G?
- Represent the decimal number (-3.2)10 in normalized
floating-point in a 14-bit word.
(1-bit sign, 5-bit exponent with
a bias of excess-16, and 8-bit mantissa)
- Represent the decimal number (-218.8125)10 in normalized
floating-point in a 14-bit word.
(1-bit sign, 5-bit exponent with
a bias of excess-16, and 8-bit mantissa)