📚 Practice Mode

Test 4 - Computer Organization & Architecture | Computer Science

Learn at your own pace with hints and detailed explanations

1 / 19
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