engineering computer science MCQ #130

If a program has 1000 instructions and a CPI of 2, how many cycles are required to execute the program?

engineering computer science MCQ #130

  1. Question 1

    Q1. If a program has 1000 instructions and a CPI of 2, how many cycles are required to execute the program?

    • A) 1000
    • B) 2000
    • C) 1000 / 2
    • D) 2^1000

    Answer: 2000

    Explanation: Total cycles = number of instructions * CPI = 1000 * 2 = 2000.