Test 4 - Computer Organization & Architecture | Computer Science

Casual Mode - Take your time!

1 / 19
Correct
0
Incorrect
0
Score
0%
Multiple Choice

Consider the following program segment for a hypothetical CPU having three user registers R1,R2 and R3.

Let the clock cycles required for various operations be as follows:
ADD with both operands in register: 1 clock cycle
Instruction fetch and decode: 2 clock cycles per word
Register to/from memory transfer: 3 clock cycles

The total number of clock cycles required to execute the program is

  1. 29
  2. 24
  3. 23
  4. 20
Change Mode