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
A program uses two classes: dog and poodle. which class is the base class and which is the derived class?
Vsevolod [243]
Dog is the base class and poodle is the derived class. 
6 0
4 years ago
Read 2 more answers
The purpose of a ________ is to extract data from operational systems and other sources, clean the data, and store and catalog t
NeTakaya

Answer:

The correct answer for the following question will be Data warehouse.

Explanation:

Data warehouse (DWH), is a facility provided to data analyze and for managing and controlling an organization's business intelligence tools, pull data from many sources together for survey and analysis. It helps to store the former information and allows making better information for organization. This is also known as Enterprise Data Warehouse (EDW)

3 0
3 years ago
In an average case involving an array of n elements, how many times will a sequential search function have to read the array to
Strike441 [17]

Answer:

n/2 times

Explanation:

The number of times  a sequential search function will have to read the array in other to locate a specific value is : n/2 times

In an average case to locate a specific value using the a sequential/linear search the elements of the array will be searched in other to get a specific value and this will take n/2 number of attempts/times.

a sequential search is used to search for a value contained in a data set that has a linear relationship with other values contained in the data set

3 0
4 years ago
Write the working of dot matrix printer?<br><br>no links<br>​
lbvjy [14]

The working of dot matrix printer is provided in the picture.

4 0
3 years ago
"When a large data file needs to be processed in ascending or descending order based on a particular field, the most efficient a
Alona [7]

Answer:

Yes

Explanation:

For example, We need to write down the names of student in a school for survey purposes, rather than tell everyone to write their names on a sheet of paper and submit, we can instruct that names be written according to their classes and then written on the class sheets alphabetically.

Logically names will be written according to the classes from Class 1 - 10, then on the class sheet alphabetically from A - Z. its better represented that way for easy understanding and better collation and interpretation of data.

7 0
4 years ago
Other questions:
  • Which is the correct process for selecting an entire row in a spreadsheet?
    15·2 answers
  • What is the Code of Conduct/Ethics for the company/of Department of Defense?
    7·1 answer
  • Create the logic for a program that calculates and displays the amount of money you would have if you invested $5000 at 2 percen
    13·2 answers
  • The mathematical order of operations is used in Excel when formulas are evaluated. This order of operations states the order to
    14·2 answers
  • Write a program whose input is two integers and whose output is the two integers swapped. Ex: If the input is: 3 8 the output is
    5·1 answer
  • Inaccurate __________ is the number-one reason why many small businesses go bankrupt.
    5·1 answer
  • Given the following code, what are the dimensions, in pixels, of the shape created? import tkinter class myShape: def __init__(s
    6·1 answer
  • Is an applications program is a program designed to perform a specific task for specific users
    5·1 answer
  • Based on the strength of the magnetic fields they produce, arrange the solenoids from strongest to weakest
    15·1 answer
  • Assume that the variable myString refers to a string. Write a code segment that uses a loop to print the characters of the strin
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!