Created 06/19/03; edited: 02/17/08, 02/27/11


QUIZ on Chapter 8

Instructions: For each question, choose the single best answer. Make your choice by clicking on its button. You can change your answers at any time. When the quiz is graded, the correct answers will appear with each question.



1.   In the following one-bit wide addition, what are the result R and the carry into the next column, C?

C0
 0
 1
--
 R

A.   C=0; R=0
B.   C=0; R=1
C.   C=1; R=0
D.   C=1; R=1

2.   In the following one-bit wide addition, what are the result R and the carry into the next column, C?

C0
 1
 1
--
 R

A.   C=0; R=0
B.   C=0; R=1
C.   C=1; R=0
D.   C=1; R=1

3.   In the following one-bit wide addition, what are the result R and the carry into the next column, C?

C0
 0
 0
--
 R

A.   C=0; R=0
B.   C=0; R=1
C.   C=1; R=0
D.   C=1; R=1

4.   Which one of the following is done correctly?

A.   
0100
 1110
 1001
 ----
 1001
B.   
0000
 1110
 1001
 ----
 0111
C.   
0111
 1110
 1001
 ----
 1001
D.   
1000
 1110
 1001
 ----
 0111

5.   Here is a two's complement representation of an integer:

1100 0111

What is the two's complement representation of the negation of the integer?

A.   1100 0110
B.   0011 1001
C.   0000 1110
D.   0100 0111

6.   Here is a two\\\\\\\'s complement representation of an integer:

0101 0101

What is the two\\\\\\\'s complement representation of the negation of the integer?

A.   1010 1011
B.   1010 1010
C.   0101 1010
D.   1001 0110

7.   Here is a two's complement representation of an integer:

1010 1010

What is the two's complement representation of the negation of the integer?

A.   0101 0101
B.   1010 1011
C.   0101 0110
D.   1110 0001

8.   Here is a two\'s complement representation of an integer:

0101 0101

What is the two\'s complement representation of the negation of the integer?

A.   1010 1011
B.   1010 1010
C.   0101 1010
D.   1001 0110

9.   Here is a correctly performed addition:


1100
 0100
 1110
 ----
 0010

What is true about overflow for this addition?

A.    If the operands are regarded as unsigned binary, then the result shows no overflow.
If the operands are regarded as two's complement binary, then the result shows no overflow.
B.    If the operands are regarded as unsigned binary, then the result shows no overflow.
If the operands are regarded as two's complement binary, then the result shows overflow.
C.    If the operands are regarded as unsigned binary, then the result shows overflow.
If the operands are regarded as two's complement binary, then the result shows no overflow.
D.    If the operands are regarded as unsigned binary, then the result shows overflow.
If the operands are regarded as two's complement binary, then the result shows overflow.

10.   Here is a correctly performed addition:

1100
 0101
 1110
 ----
 0011

What is true about overflow for this addition?

A.    If the operands are regarded as unsigned binary, then the result shows no overflow.
If the operands are regarded as two's complement binary, then the result shows no overflow.
B.    If the operands are regarded as unsigned binary, then the result shows no overflow.
If the operands are regarded as two's complement binary, then the result shows overflow.
C.    If the operands are regarded as unsigned binary, then the result shows overflow.
If the operands are regarded as two's complement binary, then the result shows no overflow.
D.    If the operands are regarded as unsigned binary, then the result shows overflow.
If the operands are regarded as two's complement binary, then the result shows overflow.


Click here