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


QUIZ on Chapter 14

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.   If you have two integers, each represented in 32 bits, how many bits might be needed to hold the product?

A.   16
B.   32
C.   48
D.   64

2.   If you have two integers, each represented in 8 bits, how many bits might be needed to hold the product?

A.   16
B.   32
C.   48
D.   64

3.   What two registers hold the result of a multiply operation?

A.   hi and lo
B.   high and low
C.   H and L
D.   $0 and $1

4.   Which operation is used to multiply unsigned complement integers?

A.   mult
B.   multu
C.   either mult or multu
D.   mux

5.   Which operation might cause a trap?

A.   mult
B.   multu
C.   both mult and multu
D.   none of the above

6.   Which instruction moves the least significant bits of a product into register eight?

A.   move $8,lo
B.   mvlo $8,lo
C.   mflo $8
D.   addu $8,$0,lo

7.   If you have two integers, each represented in 32 bits, how many bits should you be prepared to have in the quotient?

A.   16
B.   32
C.   48
D.   64

8.   If you have two integers, each represented in 16 bits, how many bits should you be prepared to have in the quotient?

A.   16
B.   32
C.   48
D.   64

9.   After a div instruction, which register holds the quotient?

A.   lo
B.   hi
C.   quot
D.   $0

10.   Perform an arithmetic shift right by one bit of the following bit pattern:

1001 1011

A.   1001 1011
B.   1110 0110
C.   1100 1101
D.   0100 0111


Click here