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
MakcuM [25]
3 years ago
5

Suppose we could improve the speed of the CPU in a computer by a factor of 5 (without affecting I/O performance) for 5 times the

cost. Also assume that the CPU is used 50% of the time, and the rest of the time the CPU is waiting for I/O. If the CPU is one-third of the total cost of the computer, is increasing the CPU speed by a factor of 5 a good investment from a cost/performance viewpoint?
Computers and Technology
1 answer:
Darya [45]3 years ago
4 0

Answer:

Bad Investment

Explanation:

  • Fraction enhanced = 50% = 0.5 (50% CPU is used all times and rest is waiting for I/O.
  • Speed up = 5 (By a factor of CPU speed is increased)
  • Speed up (overall) = \frac{1}{1-Fraction enhanced + \frac{Fraction enhanced}{Speedup enhanced} }
  • Speed up (overall) = \frac{1}{(1-0.5)+\frac{0.5}{5} } = 1.67
  • CPU = 1/3rd the total cost which means rest of the 2/3rd cost remains the same.
  • New cost of machines = (2/3 * 1) + (1/3 * 5) = 2.33
  • This means new machine is 2.33 times the cost of the old machine.
  • \frac{Cost increase}{Performance increase} = \frac{2.33}{1.67} = 1.3980
  • As seen above cost increase is greater then performance increase therefore this is a BAD Investment.
You might be interested in
Whats the best strategy for avoiding ATM fees?
natulia [17]
You hack the atm that's how
3 0
3 years ago
Read 2 more answers
When designing a slide for presentation, it is best to include as much information as possible on every slide. True Or False
Mariulka [41]

Answer:

false

Explanation:

try to limit the amount of info on each slide

4 0
3 years ago
Read 2 more answers
write a program that will create an array of 100 random integers in the range from [0,99] pass the array to a function, printarr
slava [35]

Answer:

In C++:

#include <cstdlib>  

#include <ctime>  

#include <iostream>

#include <bits/stdc++.h>

using namespace std;

void printarray(int array []){

for(int i=0; i<100; i++){         cout << array[i] << " ";    }

}

void sortarray(int array []){

sort(array, array + 100);

   printarray(array);

}

int main() {  

   int array[100];

   srand((unsigned)time(0));  

   for(int i=0; i<100; i++){  array[i] = (rand()%99);     }

   printarray(array);

   cout<<endl;

   sortarray(array);

   return 0;

}

Explanation:

<em>See attachment for program source file where comments are used for explanation purpose</em>

Download cpp
5 0
3 years ago
In your own words, describe what an acceptable use
astraxan [27]

The acceptable use policy is known to be a policy that is made up of  practices that all its users need to agree to in order to be able to make use of such network or other resource.

The items are:

  • Social media page .
  • Internet address, applications.
  • Accessing private or confidential information.

<h3>What is an acceptable use policy?</h3>

An acceptable use policy (AUP) is known to be document that is said to tell about the  constraints as well as the practices that a user need to agree to be able to  access a  given corporate network or the Internet.

Therefore, The acceptable use policy is known to be a policy that is made up of  practices that all its users need to agree to in order to be able to make use of such network or other resource.

Learn more about acceptable use policy from

brainly.com/question/2625500

#SPJ1

6 0
1 year ago
Create a method called fixArray(int[][] array, int row, int col, int value) that sets the [row][column] to the correct value. Th
PolarNik [594]

Answer:

  1. public class Main {
  2.    public static void main (String [] args) {
  3.        int[][] myArray = {{1,5,6}, {7, 9, 2}};
  4.        fixArray(myArray, 1, 2, 12);
  5.        System.out.println(myArray[1][2]);
  6.    }
  7.    private static void fixArray(int[][] array, int row, int col, int value){
  8.        array[row][col] = value;
  9.    }
  10. }

Explanation:

The solution code is written in Java.

Firstly, create the method fixArray with that takes four inputs, array, row, col and value (Line 11). Within the method body, use row and col as index to address a particular element from array and set the input value to it (Line 12).

Next, we test the method in the main program using a sample array (Line 4) and we try to change the row-1 and col-2 element from 2 to 12 (Line 5).

The print statement in Line 7 will display 12 in console.

7 0
3 years ago
Other questions:
  • If you like to play graphic-intensive games on your computer and you find that your computer can't keep up, you should add a ___
    6·1 answer
  • Copyrighted software illegally downloaded and sold by organized groups without a license to do so is called:
    8·1 answer
  • A(n) _____ bus enables the central processing unit (CPU) to communicate with a system’s primary storage.
    5·1 answer
  • Micheal has increased the contrast of the given picture. Which feature or menu option of a word processing program did he use? A
    15·1 answer
  • What two variables does mass depend on?
    5·1 answer
  • Who here would like to play among us with me? <br> Time: Friday, November 13
    14·1 answer
  • What will the following code display? int numbers[4] = { 99, 87 }; cout &lt;&lt; numbers[3] &lt;&lt; endl; a. 87 b.0 d. 34. What
    12·1 answer
  • (9/5)C+32 write QBASIC expessions for this​
    7·1 answer
  • A large amount of data is stored in secondary storage is it true<br>​
    8·2 answers
  • Choose the best collection for each situation.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!