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
Setler79 [48]
4 years ago
7

P1 has a clock rate of 4 GHz, average CPI of 0.9, and requires the execution of 5.0E9 instructions.P2 has a clock rate of 3 GHz,

an average CPI of 0.75, and requires the execution of 1.0E9 instructions.1.12.1 [5] <§§1.6, 1.10> One usual fallacy is to consider the computer with thelargest clock rate as having the largest performance. Check if this is true for P1 and P2.1.12.2 [10] <§§1.6, 1.10> Another fallacy is to consider that the processor executingthe largest number of instructions will need a larger CPU time. Considering thatprocessor P1 is executing a sequence of 1.0E9 instructions and that the CPI ofprocessors P1 and P2 do not change, determine the number of instructions that P2can execute in the same time that P1 needs to execute 1.0E9 instructions.1.12.3 [10] <§§1.6, 1.10> A common fallacy is to use MIPS (millions ofinstructions per second) to compare the performance of two different processors,and consider that the processor with the largest MIPS has the largest performance.Check if this is true for P1 and P2.1.12.4 [10] <§1.10> Another common performance figure is MFLOPS (millionsof floating-point operations per second), defined asMFLOPS = No. FP operations / (execution time × 1E6)but this figure has the same problems as MIPS. Assume that 40% of the instructionsexecuted on both P1 and P2 are floating-point instructions. Find the MFLOPSfigures for the programs.

Computers and Technology
1 answer:
nadezda [96]4 years ago
7 0

Answer:

Following is attached the solution for all parts. I hope it will help you!

Explanation:

You might be interested in
What is a type of machine-to-human communication?
suter [353]
I don’t know what it’s called but it’s where they can speak by moving there eyes
3 0
3 years ago
Do you think should give credit to people who invented viral dances?
guajiro [1.7K]

Answer:

michal jackson i think who credit to people invented viral dances.

3 0
3 years ago
Read 2 more answers
What is elif? How does it work in python?
pav-90 [236]
It is the condition used after the if condition. say you use the if condition and you need to add another outcome, instead of using the if condition again, you’d use elif and end it with the else command.

example:

if num == 10:
print (“correct”)

elif num > 10:
print (“too high”)

else:
print (”too low”)

hope this helps :]
5 0
3 years ago
Read 2 more answers
Where do you place the logical test argument in an IF function formula?
Inessa [10]

Answer:

The first argument listed after IF

Explanation:

When the two variables are listed next to each other, Excel will find and calculate the correlation between them.

8 0
3 years ago
Read 2 more answers
Write a program that produces a bar chart showing the population growth of Prairieville, a small town in the Midwest, at 20-year
Sunny_sXe [5.5K]

Answer:

#include <iostream>

#include <fstream>

using namespace std;

int main()

{

ifstream Inputfile;

Inputfile.open("People.txt"); // Open file

if (!Inputfile) // Test for open errors

{

cout << "Error opening file.\n";

return 0;

}

int Pop; // Population

// Display Population Bar Chart Header

cout << "PRAIRIEVILLE POPULATION GROWTH\n"

<< "(each * represents 1000 people)\n";

for (int Year = 1; Year <= 6; Year++)

{ // One iteration per year

switch (Year)

{

case 1 : cout << "1900 ";

break;

case 2 : cout << "1920 ";

break;

case 3 : cout << "1940 ";

break;

case 4 : cout << "1960 ";

break;

case 5 : cout << "1980 ";

break;

case 6 : cout << "2000 ";

break;

}

Inputfile >> Pop; // Read from file

// calculate one per 1000 people

//cout<<"**"<<Pop<<endl;

while(Pop > 0)

{ // Display one asterisk per iteration

// One iteration per 1000 people

cout << "*";

Pop -= 1000;

}

cout << endl;

}

Inputfile.close(); // To close file

return 0;

}

Explanation:

5 0
3 years ago
Other questions:
  • Write a C++ program to exchange values of two variables using function exchange().
    8·1 answer
  • Which of the following enabled mass production in the 1920s? a.standardization of spare parts b.mass availability of electricity
    7·2 answers
  • While ________ is centered on creating procedures, ________ is centered on creating objects. Procedural programming, class progr
    10·1 answer
  • How could a system be designed to allow a choice of operating systems from which to boot? What would the bootstrap program need
    14·1 answer
  • Which steps would you take to determine how much an employee should be paid? Select all that apply.
    9·1 answer
  • Which remote access configuration option should you choose if you want mobile users to be able to make a secure connection to th
    9·2 answers
  • Which of the following payment types require you to pay upfront?
    9·1 answer
  • Are principles which allow designers to create blank designs
    15·1 answer
  • 4. Word Separator:Write a program that accepts as input a sentence in which all of thewords are run together but the first chara
    10·1 answer
  • Add me on Pokemon go, my trainer code is 5584 3300 5313
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!