CECS 341: Practice Midterm 1
Instructions: Answer questions in the space provided. If you need additional space use the back of
this quiz. Partial credit will be given so be certain to show all your work.
supporting solutions will be marked incorrect.
(32 points) Consider three different processors P1, P2, and P3 executing the same instruction set.
P1 has a 500 MHz Clock rate and a CPI of 1.5
P2 has a 250 MHz Clock rate and a CPI of 2.0
P3 has a 2.0 GHz Clock rate and a CPI of 4.0
a. (6pts) Determine ea
ch processor’s performance expressed in instructions per second:
b. (12pts) If the processors each execute a benchmark program in 750 milliseconds, find the
number of clock cycles and the number of instructions for each processor to execute the