Question: A computer supports instructions in the following categories: Memory (2 cycles), Integer Arithmetic (3 cycles), Branching (5 cycles), Floating Point Arithmetic (6 cycles). Program A

A computer supports instructions in the following categories: Memory (2 cycles), Integer Arithmetic (3 cycles), Branching (5 cycles), Floating Point Arithmetic (6 cycles).

Program A has the following instruction counts:

  • Memory: 100 instructions
  • Integer Arithmetic: 400 instructions
  • Branching: 50 instructions
  • Floating Point Arithmetic: 200 instructions

What is the average CPI for Program A (2 decimal places)?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!