engineering computer science MCQ #114

If a program executes 10^8 instructions and has a CPI of 2, how many cycles are executed?

engineering computer science MCQ #114

  1. Question 1

    Q1. If a program executes 10^8 instructions and has a CPI of 2, how many cycles are executed?

    • A) 2 * 10^8
    • B) 5 * 10^7
    • C) 10^8
    • D) 2 * 10^7

    Answer: 2 * 10^8

    Explanation: Total cycles = instructions * CPI = 10^8 * 2 = 2 * 10^8.