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
Lemur [1.5K]
4 years ago
9

(10 points) 5.12. Discuss how the following pairs of scheduling criteria conflict in certain settings. a. CPU utilization (effic

iency) and response time b. Average turnaround time and maximum waiting time c. I/O device utilization and CPU utilization
Computers and Technology
1 answer:
Novosadov [1.4K]4 years ago
3 0

Answer:

Check the explanation

Explanation:

  1. CPU utilization and response time: CPU utilization is amplified if the overheads that are connected with context switching or alternating are minimized. The context switching outlay can be reduced by performing context switches occasionally. This could on the other hand lead to increasing the response time for processes.
  2. The Average turnaround time and maximum waiting time: Average turnaround time is reduced by implementing the shortest or simple tasks first. Such a scheduling and arrangement strategy could nevertheless starve long-running tasks and in so doing boost their overall waiting time.
  3. I/O device utilization and CPU utilization: CPU utilization is maximized by executing a list of long-running CPU-bound tasks not including the performing context switches. This is maximized by setting up I/O-bound tasks as early as they become ready to run, thus sustaining the overheads of context switches.

You might be interested in
You need to back up the existing data on a computer before you install a new application. You also need to ensure that you are a
nevsk [136]

Answer:

Backup and restore console should be utilized in that scenario.

Explanation:

4 0
3 years ago
Write an application for Cody’s Car Care Shop that shows a user a list of available services: oil change, tire rotation, battery
Firdavs [7]

An application for Cody’s Car Care:

#include <iostream>

#include <string>

#include <vector>

using namespace std;

int main()

{

vector<string>stroptions(4);

stroptions[0] = "Oil Change";

stroptions[1] = "Tire Rotation";

stroptions[2] = "Battery Check";

stroptions[3] = "Brake Inspection";

 

vector<int> intprices(4);

intprices[0] = 45;

intprices[1] = 22;

intprices[2] = 15;

intprices[3] = 10;

 

int option;

cout<< "Welcome to Joe's Car Care Shop!" <<endl;

cout<< "Choose a service from our menu:" <<endl;

for(int i = 1; i<= 4; i++)

{

  cout<< "#" <<i<< ": " <<stroptions[i-1] <<endl;

}

cout<< "Choice: ";

bool loop = true;

while(loop)

{

  loop = false;

  cin>> option;

 switch(option)

  {

   case 1:

     cout<< "\nA " <<stroptions[option-1] << " will be: $" <<intprices[option -1] <<endl;

     break;

   case 2:  

     cout<< "\nA " <<stroptions[option -1] << " will be: $" <<intprices[option -1] <<endl;

     break;

   case 3:

     cout<< "\nA " <<stroptions[option -1] << " will be: $" <<intprices[option -1] <<endl;

     break;

   case 4:

     cout<< "\nA " <<stroptions[option -1] <<" will be: $" << intprices[option -1] <<endl;

      break;

    default:

     cout<< "\nYou entered an invalid item! Try again!" <<endl;

     loop = true;

     break;

 }

}

}

3 0
3 years ago
The searching algorithm of ordered array is faster than regular array, but the insertion time is slower than regular array. True
n200080 [17]

Answer:

True

Explanation:

In an ordered array or sorted array, we can implement binary search which uses branch prediction to search for values within the array. In binary search the array is divided into two halves. With the help of branch prediction we can easily find out in which part of the array the value may reside. Thus it drastically reduces the searching time. Whereas in a linear array, the array elements needs to be searched sequentially one after the other to match with the search element. Thus searching algorithm of ordered array is faster than regular array.

In a regular array, the insertion operation is faster than an ordered array because there we don’t have to decide the position at which the element needs to be inserted.  In a regular array we can simply insert the new element to be added at the end of the array.

Thus the insertion time of an ordered array is slower than regular array.

4 0
3 years ago
Which government agency is responsible for protecting the nation’s transportation systems to ensure freedom of movement for pass
pashok25 [27]
The correct answer is A.
6 0
3 years ago
On a typical microprocessor, a distinct I/O address is used to refer to the I/O data registers and a distinct address for the co
levacccp [35]

Answer:

First I/O instruction format -> 256 ports

Second I/O instruction format -> 65536 ports

Explanation:

  • For the first instruction format, we have eight bits for port addressing, therefore, the number of port addressed can be calculated as 2^8 = 256 ports
  • For the second instruction format, we have sixteen bits for addressing, therefore, the number of ports addressed can be calculated as 2^16 = 65536 ports

The opcode selection allows us to change between the first and second instruction format, an opcode allows one input or output operation at a time.

5 0
3 years ago
Other questions:
  • What does limited access to a document mean?
    7·2 answers
  • You have several marketing documents that are published through AD RMS. However, you have three new marketing employees that req
    12·1 answer
  • I forgot to tell it’s on Roblox for those who play and wanted to be friends and new ppl username is mosarider489
    9·2 answers
  • Speech about society being normal
    12·1 answer
  • Define Indentation
    8·1 answer
  • What is network topology​
    13·1 answer
  • Explain benefits and disadvantages of using BNC over F-Type connectors on coaxial cables
    9·1 answer
  • A positive integer is called a perfect number if it is equal to the sum of all of its positive divisors, excluding itself. For e
    12·1 answer
  • Why is malware dangerous
    15·2 answers
  • One of 34 possible _________________ can be assigned to each axis of classification in the seven-character code.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!