Consider three different processors P1, P2, P3 executing the same instruction…

2021

Consider three different processors P1, P2, P3 executing the same instruction set.

  • P1 has a 3 GHz clock rate and a CPI of 1.5

  • P2 has a 2.5 GHz clock rate and a CPI of 1.0

  • P3 has a 4 GHz clock rate and a CPI of 2.2

If each processor executes a program in 10 seconds, find the number of instructions executed by the processors.

  1. A.

    18*10³, 13*10², 17*10⁵

  2. B.

    20*10⁹, 25*10⁹, 18.18*10⁹

  3. C.

    18*10⁴, 25*10¹, 20*10³

  4. D.

    3*10¹, 15*10², 2.5*10³

  5. E.

    Question not attempted

Attempted by 76 students.

Show answer & explanation

Correct answer: B

To find the number of instructions executed by each processor, use the formula:

Instructions = (Clock Rate × Time) / CPI

Given: Time = 10 seconds

For P1:

Clock Rate = 3 GHz = 3 × 10⁹ Hz

CPI = 1.5

Instructions = (3 × 10⁹ × 10) / 1.5 = 30 × 10⁹ / 1.5 = 20 × 10⁹

For P2:

Clock Rate = 2.5 GHz = 2.5 × 10⁹ Hz

CPI = 1.0

Instructions = (2.5 × 10⁹ × 10) / 1.0 = 25 × 10⁹

For P3:

Clock Rate = 4 GHz = 4 × 10⁹ Hz

CPI = 2.2

Instructions = (4 × 10⁹ × 10) / 2.2 = 40 × 10⁹ / 2.2 ≈ 18.18 × 10⁹

Thus, the number of instructions executed are: 20 × 10⁹, 25 × 10⁹, and 18.18 × 10⁹.

हिन्दी उत्तर:

प्रत्येक प्रोसेसर द्वारा निष्पादित निर्देशों की संख्या ज्ञात करने के लिए, निम्न सूत्र का उपयोग करें:

निर्देश = (क्लॉक दर × समय) / CPI

दिया गया है: समय = 10 सेकंड

P1 के लिए:

क्लॉक दर = 3 GHz = 3 × 10⁹ Hz

CPI = 1.5

निर्देश = (3 × 10⁹ × 10) / 1.5 = 30 × 10⁹ / 1.5 = 20 × 10⁹

P2 के लिए:

क्लॉक दर = 2.5 GHz = 2.5 × 10⁹ Hz

CPI = 1.0

निर्देश = (2.5 × 10⁹ × 10) / 1.0 = 25 × 10⁹

P3 के लिए:

क्लॉक दर = 4 GHz = 4 × 10⁹ Hz

CPI = 2.2

निर्देश = (4 × 10⁹ × 10) / 2.2 = 40 × 10⁹ / 2.2 ≈ 18.18 × 10⁹

इस प्रकार, निर्देशों की संख्या क्रमशः 20 × 10⁹, 25 × 10⁹ और 18.18 × 10⁹ हैं।

Explore the full course: Up Lt Grade Assistant Teacher 2025