1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
s344n2d4d5 [400]
3 years ago
9

Consider an implementation of the instruction set architecture P1 has a clock rate of 4.8 GHz and CPIs (Cycles Per Instruction)

of 1 for arithmetic, 4 for load/store and 8 for branch. A program execution consists of 1 million instructions, including 50% arithmetic, 30% load/store, and 20% branch instructions.
In this case, the average CPI is ________.
For a 10% improvement in performance of P1, a load/store instruction will take ______ cycles on average if other classes are NOT improved at all.
Computers and Technology
1 answer:
Anestetic [448]3 years ago
6 0

Answer:

a) 3.3

b) 3

Explanation:

1)

As we know ,

CPI = sum of ( instructions× clock cycle)

     = 50%(1) + 30%(4) + 20%(8)

    = 50% + 120% + 160%

    = 330%

    = \frac{330}{100} = 3.3

⇒CPI = 3.3

2)

Let a = number of cycles on average

As given,

a 10% improvement in performance of P1,

⇒New CPI = 3

⇒3 = 50% + 30% (x) + 20%(8)

⇒3 = 50% + 30% (x) + 160%

⇒3 = 210% + 30%(x)

⇒3 = 2.1 + 0.3x

⇒3 - 2.1 = 0.3x

⇒0.9 = 0.3x

⇒x = \frac{0.9}{0.3} = 3

⇒x = 3

∴ we get

Number of cycles on average = 3

You might be interested in
In the early days of computer technology, which system was justified because data-processing personnel were in short supply, har
crimeas [40]

Answer:

Centralized Processing

Explanation:

Centralized processing was developed to process all of the data in a single computer, and since the first computers were stand-alone with all input and output devices in the same room, only the largest organizations could afford to use centralized processing.

5 0
3 years ago
Please Help meeeeeeeeeee:
Akimi4 [234]

Answer:

D) save as

Explanation:

If you press save as it'll give you the option where to save to.

6 0
3 years ago
Read 2 more answers
Write an if-else statement with multiple branches. If givenYear is 2101 or greater, print "Distant future" (without quotes). Els
kherson [118]

Answer:

// here is code in c.

#include <stdio.h>

// main function

int main()

{

// variable to store year

int year;

printf("enter year:");

// read the year

scanf("%d",&year);

// if year>=2101

if(year>=2101)

{

printf("Distant future");

}

//if year in 2001-2100

else if(year>=2001&&year<=2100)

{

   printf("21st century");

}

//if year in 19011-2000

else if(year>=1901&&year<=2000)

{

  printf("20th century");

}

// if year<=1900

else if(year<=1900)

{

  printf("Long ago");  

}

return 0;

}

Explanation:

Read the year from user.After this, check if year is greater or equal to 2101 then print "Distant future".If year is in between 2001-2100 then print "21st century".If year is in between 1901-2000 then print "20th century".Else if year is less or equal to 1900 then print "Long ago".

Output:

enter year:2018                                                                                                            

21st century

7 0
3 years ago
Read 2 more answers
In the classroom settting,listeners can best help reduce speaker presentation anxiety by______
Anuta_ua [19.1K]

speaker ?

notify me if wrong i must know.

3 0
3 years ago
What are the Predictive tasks in Data Mining?
hodyreva [135]

Answer:

The process of sifting through the system databases and finding the relevant data to analyze is known as data mining. In predictive data mining, the process uses algorithm-based tools to go through the database and to look at the transactions to support the prediction of future volumes of the transactions. It is the task of the analytics team. It is often used with, predictive analytics. The predictive analytics is the use of data to forecast the results

6 0
4 years ago
Other questions:
  • Write a copy assignment operator for CarCounter that assigns objToCopy.carCount to the new objects's carCount, then returns *thi
    7·1 answer
  • What are 5 actions that you can do to take care of your camera
    14·2 answers
  • Derek has an interest in designing video games. What requirements should he fulfill to be a game designer?
    13·1 answer
  • When computer manufacturers overcame the enormous 13,000 Chinese character barrier by creating a workable keyboard through voice
    15·1 answer
  • To create a document, you start by selecting the _____ button or option.
    7·1 answer
  • 10.
    13·1 answer
  • QN, 3. Write the working principle of computer.<br>​
    8·1 answer
  • In a well-developed paragraph - using domain-specific vocabulary and academic writing - address the following writing prompt:
    12·1 answer
  • You and a friend have just started a small business. How could you use the Internet to make your business successful?
    15·2 answers
  • How to transfer crypto from coinbase to coinbase wallet
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!