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


QUIZ on Chapter 10

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.   When a register is cleared what happens?

A.   The bits of the register are set to all zeros.
B.   The bits of the register are set to all ones.
C.   A bit pattern at a memory location is copied to the register. The memory is set to all zeros.
D.   A bit pattern at a memory location is copied into the register. Memory is not changed.

2.   By software convention, the machine instructions of a program are put in a designated section of memory. What is this section called?

A.   Data segment.
B.   Stack segment.
C.   Program segment.
D.   Text segment.

3.   Where do the operands for an arithmetic machine instruction come from?

A.   Both operands are registers.
B.   Both operands come from memory.
C.   One operands must be a register, the other one may be memory or a register.
D.   One operand must be a register, the other may be a register or may be part of the machine instruction.

4.   What is the mnemonic name of a register?

A.   The part of an assembly language statement that designates the machine operation.
B.   A register number like $0 or $31.
C.   A name that helps you remember the hardware characteristics of the register.
D.   A name like $s0 that helps you remember the conventional software uses for the register.

5.   What is a mnemonic?

A.   The part of an assembly language statement that designates the machine operation.
B.   The part of a machine instruction that designates a machine operation.
C.   The part of an assembly language statement that designates a register.
D.   The part of a machine instruction that is used as data in an operation.

6.   What is the address of the last byte of memory in a 32-bit machine?

A.   0x00000000
B.   0x10000000
C.   0x00400000
D.   0xFFFFFFFF

7.   How many floating point registers does MIPS have?

A.   None. MIPS has only general purpose registers.
B.   None. MIPS has only two's complement registers.
C.   8
D.   32

8.   In the following instruction

subu    $25,$16,$17

what register holds the result?

A.   $25
B.   $16
C.   $17
D.   $0

9.   In the following instruction

subu    $25,$16,$17

what registers hold the operands?

A.   $25 and $16
B.   $16 and $17
C.   $25 and $16
D.   $25 and $17

10.   What is the control point?

A.   the address of the first instruction of a program.
B.   the address of the first word of data for a program.
C.   the address in memory of the instruction being executed.
D.   the clock signal the controls execution of the program.


Click here