Spring 2001 CSCI 255 Homework 2

You must show your work to receive full credit. This assignment is due Monday, 5 February.

Problem 1

Add the following six-bit twos-complement number. Which, if any, of the additions result in an overflow?

Problem 2

Compute the following bit-wise logical operations on six-bit binary numbers.

Problem 3

Translate the first four characters of your last name into an ASCII hexadecimal string.

Problem 4

The following 32-bit strings represent IEEE floating point numbers. Translate the bits into their "normal" floating point representation. This is not an easy problem.

Problem 5

Draw a circuit that implements the truth table shown below. The "inputs" to the truth table are A, B, and C. The output is Z. Review section 3.3.4 before attempting this problem.

inputoutput
ABCZ
0000
0010
0101
0111
1000
1010
1101
1110

Problem 6

Complete a truth table to describe the logic circuit shown below.
Problem 6 logic circuit