
Page 1 of 2
Fall 2006 - CS 333 – Sample Exam Questions
1. Draw a block diagram of a micro-programmed control unit. Explain the function
of each block in your diagram.
2. Explain the concept of horizontal programming. (One to two sentences).
3. Explain the concept of vertical programming. (One to two sentences).
4. The following is a hexadecimal representation of the operation code for the
following SRC instruction:
SRC Instruction Hexadecimal Representation
andi r8, r8, constant AA11E1E0
The constant is specified in the instruction.
a. Show the 17-bit value of the constant as defined in the instruction (in binary
and in hexadecimal).
b. Show the 32-bit value of the constant after it is sign-extended during the
execution of the instruction.
5. Explain the concept of static multiple issue (and VLIW). Make sure to explain
how and when decisions are made.
6. Explain the concept of dynamic multiple issue (superscalar). Make sure to
explain how and when decisions are made.
7. Compare and contrast the differences between abstract RTN and concrete RTN.
8. Chapter 4. Problems similar in style to: 4.1-4.5, etc. (Write concrete RTN and
control sequences)
9. Why does a branch delay slot exist for some pipelined machines?
10. A central processing unit (CPU) has the following hardware components:
• Program Counter (PC)
• Instruction Register (IR)
• 1 Arithmetic Logic Unit (ALU) that can perform 8 logical and 8 arithmetic
operations
• 4 general purpose integer registers (R0-R7)
• 4 floating point registers (F0-F7)
• A memory address register (MA)
• A memory data register (MD)