Answer:
8.6
Step-by-step explanation:
total instructions = 100
for load:
total load instructions = 40
time to execute load = 40x5 = 200 clock
for arithmetic:
total arithmetic instructions = 30
time needed to execute = 30x10 = 300 clock
for floating:
total floating instructions = 30
time to execute = 30x12 = 360 clock
when we sum up total clock:
200+360+300 = 860
clock per instruction (cpi) = 860/100
= 8.6
thank you!