Two processors a and b have clock frequencies of 700 mhz and 900 mhz respectively. Suppose a can execute an instruction with an average of 3 steps and b can execute with an average of 5 steps. For the execution of the same instruction which processor is faster ?
Answers
Answered by
0
Answer:
A is faster.
Hope it will help yuu
❤❤
Answered by
0
Answer:
Processor a will be faster in execution.
Explanation:
We can calculate the execution time using basic performance equation.
Here,
t = Time required by the processor to execute a program
n = Number of instructions
s = Number of steps required to execute one instruction
r = Clock frequency
Now,
Let n = 1000
Execution time of processor a
That gives us t(a) = 4.28 ( t(a) is execution time of processor a )
Execution time of processor b
That gives us t(b) = 5.55 ( t(b) is execution time of processor b )
Conclusion:
Processing time for processor a is less compared to processor b hence, processor a is faster.
Similar questions