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
andrew11 [14]
4 years ago
6

Three batch jobs, A through E, arrive at a computer center at almost the same time. They have estimated running times of 10, 6,

2, 4 and 8 minutes. Their priorities are 3, 5, 2, 1 and 4 respectively, with 5 being the highest priority.
(a) For each of the following scheduling algorithms, determine the mean turnaround time. Ignore any process switching overhead.
1. Round Robin
2. Priority scheduling
3. First come, First served (run in order 10, 6, 2, 4, 8)
4. Shortest job first
For (a), assume that the system is multiprogrammed, and that each job gets its fair share of the CPU. For (b) through (d) assume that only one job runs at a time, until it finishes. All jobs are completely CPU bound.

Computers and Technology
1 answer:
eduard4 years ago
3 0

Answer:

1. The average turn around time is 21.2 minute using round robin scheduling algorithm with a quantum time of 1 minute.

2. The average turn around time is 20 minute using Priority scheduling algorithm.

3. The average turn around time is 19.2 minute using First Come First Serve scheduling algorithm.

4. The average turn around time is 14 minute using Shortest Job First scheduling algorithm.

Explanation:

Gantt chart was used to solve the scheduling problem.

Image showing the Gantt chart and working solution is attached.

Round Robin scheduling algorithm is a type of scheduling that uses a time slice for each process/job. Once the time slice is complete, the process leave to join the queue again if it has not finished execution.

Priority scheduling algorithm is a type of scheduling algorithm that allows a process/job to execute/complete based on the order of priority. In this case, the higher the number, the higher the priority. With 5 having the highest priority.

First Come First Serve scheduling algorithm is a type of scheduling algorithm that allows execution of a process/job based on first come first server i.e based on order of arrival time. In this case the order is ABCDE.

Shortest Job First scheduling algorithm is a type of scheduling algorithm that allocate the CPU to the process/job having the shortest completion time first. In this case, Job C has the shortest completion time.

You might be interested in
What are some of the challenges of note-taking? Check all that apply.
Anvisha [2.4K]

Explanation:

it can take up a great deal of time in class.

it can be distracting in the middle of a lecture.

it can cause the student to miss information.

3 0
3 years ago
Read 2 more answers
What is science worksheet answers name the three features that make science different from other human endeavors?
Tresset [83]

The three features that make science different from other human endeavors is that

  • Scientists handles issues that regards only with the natural world.
  • Scientists do collect and organize information in a careful, orderly way.
  • Scientists  do propose some explanations that can be tested by the act of evaluating evidence.

<h3>What is the definition of science?</h3>

The definition of the term  science is known to be a term that connote a system that is an organized method that is often used with evidence to be able to learn about the natural world.

Therefore, The three features that make science different from other human endeavors is that

  • Scientists handles issues that regards only with the natural world.
  • Scientists do collect and organize information in a careful, orderly way.
  • Scientists  do propose some explanations that can be tested by the act of evaluating evidence.

Learn more about science from

brainly.com/question/17216882

#SPJ1

6 0
2 years ago
Which graph or chart shows changes in the value of data?
yKpoI14uk [10]

Answer:

Bar graph and Pie chart

3 0
3 years ago
Read 2 more answers
a.) Software architecture is the set of principal design decisions about a system. b.) Software architecture dictates the proces
Shtirlitz [24]

Question:

Which of the following statements is not a true statement about software architecture?

Answer:

b.) Software architecture dictates the process used by a team to develop use cases for a software system.

Explanation:

A software development life cycle (SDLC) can be defined as a strategic process or methodology that defines the key steps or stages for creating and implementing high quality software applications. There are six (6) main stages in the creation of a software and these are;

1. Planning.

2. Analysis.

3. Design.

4. Development (coding).

5. Deployment.

6. Maintenance.

One of the most important steps in the software development life cycle (SDLC) is design. It is the third step of SDLC and comes immediately after the analysis stage.

Basically, method design is the stage where the software developer describes the features, architecture and functions of the proposed solution in accordance with a standard.

Software architecture can be defined as the software blueprint or infrastructure in which the components (elements) of the software providing user functionality and their relationships are defined, deployed and executed. Thus, it is a structured framework used by software developers to model software components (elements), properties and relationships in order to have a good understanding of how the program would behave.

In conclusion, software architecture doesn't dictate the process used by a team to develop use cases for a software system.

6 0
3 years ago
Write a program that will read in aweight in kilograms and grams and will output the equivalent weightin pounds and ounces. Use
ozzi

<u>C++ program for converting kilograms and grams to pounds and ounces</u>

#include <iostream>

using namespace std;

void computation(double kilog, double gram, double& pon, double& oun) /*defining function for computing*/

{

pon = kilog*2.2046;/*Formula for converting*/

oun= gram*0.03527;

}

void output(double pon,double oun)/*For printing output*/

{

   cout << "Pounds are: " << pon << endl;

   cout << "Ounce are: " << oun << endl;

}

void input(double &kilog,double&gram)/*for taking output*/

{

   cout << "Enter kilograms to convert: ";

   cin >> kilog;

  cout << "Enter grams to convert: ";

   cin >> gram;

}

int main() //driver function

{

double kilog = 0.0,gram = 0.0,oun=0.0,pon=0.0;//Initializing

int choice = 0;

while (1) {  

cout << "Enter- 1 for converting kilogram and grams to pounds and ounces" << endl;

cout << "Enter-2 for exiting" << endl;

cout << "Please Enter choice: ";/*Asking choice from user*/

cin >> choice;

if (choice == 1) {

input(kilog,gram);/*Calling function for taking input*/

computation(kilog, gram, pon, oun); /*calling function for computing*/

output(pon,oun);/*calling function for output*/

}

else {

return 0;

}

}

}

<u>Output</u>

Enter- 1 for converting kilogram and grams to pounds and ounces

Enter-2 for exiting

Please Enter choice:1

Enter kilograms to convert:20

Enter grams to convert:10

Pounds are: 44.092

Ounce are: 0.3527

Enter- 1 for converting kilogram and grams to pounds and ounces

Enter-2 for exiting

Please Enter choice: 2

6 0
4 years ago
Other questions:
  • Which of the following is a reason photographing animals can be difficult?
    9·2 answers
  • What does the hexadecimal number EF represent in the decimal system?
    12·1 answer
  • Which of the following parts of a tool would require the tool to have a guarding device?
    13·2 answers
  • Define what is a PC?
    8·2 answers
  • Who wants to play nba 2k20 ps4
    5·2 answers
  • If you wish to collect data from two related websites with different domains in a single google analytics property, what feature
    8·1 answer
  • What is a command-line interactive scripting environment that provides the commands for almost any management task in a Windows
    9·1 answer
  • What type of computer system can be found in the computer lab at school?
    14·1 answer
  • A malicious user in your organization was able to use the Trinity Rescue Kit to change the password on a department manager's co
    7·1 answer
  • Cú pháp câu lệnh xóa thủ tục
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!