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
sergey [27]
3 years ago
6

Consider the following set of processes, with the length of the CPU burst given in milliseconds:

Mathematics
1 answer:
Degger [83]3 years ago
5 0

Answer:

a) Drawing for grant charts that illustrates execution of the process is in the image attached

b) To find turn around time we use: completion time - arrival time

•Turn around time for FCFS scheduling algorithm will be:

P1 = 2-0= 2

P2= 3-0 = 3

P3 = 11-0 = 11

P4 = 15-0 = 15

P5 = 20-0 = 20

• Turn around time for SJF scheduling algorithm

P1 = 3-0= 3

P2 = 1-0 = 1

P3= 20-0 = 20

P4= 7-0 = 7

P5 = 12-0 = 12

• Turnaround time for non-preemptive algorithm

P1 = 15-0 = 15

P2 = 20-0 = 20

P3 = 8-0 = 8

P4 = 19-0 = 19

P5 = 13 - 0 = 13

• Turnaround time for RR

P1 = 2-0=2

P2= 3-0= 3

P3= 20 - 0 = 20

P4 = 19-0 = 19

P5 = 18-0 = 18

c) To find waiting time we use (turnaround time - burst time)

•Waiting time for FCFS

P1= 2-2 = 0

P2 = 3-1 = 2

P3 = 11-8 = 3

P4 = 15-4 = 11

P5 = 20-5= 15

• Waiting time for SJF

P1= 3-2 = 1

P2 = 1-1 = 0

P3 = 20-8 = 12

P4 = 7-4 = 3

P5 = 12-5 = 7

• Waiting time for non-preemptive

P1= 15-2 = 13

P2 = 20-1 = 19

P3 = 8-8 = 0

P4 = 19-4 = 15

P5 = 13 - 5 = 8

• Waiting time for RR

P1 = 2-2 = 0

P2 = 3-1 = 2

P3 = 20-8 =12

P4 = 13-4= 9

P5= 18-5=13

d) Average waiting time

•'For FCFS

= (0+2+3+11+15)/5

= 31/5

= 6.2milliseconds

•average waiting time For SJF

(1+0+12+3+7)/5

=23/5

= 4.6milliseconds

• Average waiting time For non-preemptive

(13+9+0+15+8)/5

=55/5

=11milliseconds

• average waiting time For RR

(0+2+12+9+13)/5

=7.2milliseconds

Since the SJF algorithm has 4.6milliseconds, it results in the minimum average waiting time.

You might be interested in
Plz help .......................
Makovka662 [10]
\frac{ 6\sqrt{2}}{ \sqrt{3} }

Multiply the square root of 3 by the square root of 2 and itself.
The 3 cancels itself out and then you get A
6 0
3 years ago
Please answer this question
stira [4]

Graph 1: Domain = 2 <= x < 12  

Graph 1: Range = {2,4}

Graph 2: Domain = 3 <= x <= 10  

Graph 2: Range = -6 <= y <= 4

Graph 3: Domain = 4 < x < 11  

Graph 4: Range = -6 <= y < 2

3 0
3 years ago
Al wants to put tile in his kitchen that measures 13 feet long and 7 feet wide. How much tile will he need?
mars1129 [50]

Answer:

Al will need 91 feet of tile to go into his kitchen.

Step-by-step explanation:

A=L x W

A = 13 x 7

A = 91 ft.

7 0
3 years ago
2x + y ≤ 2
Ganezh [65]

The graph is attached with the answer.

<h3>What is an Inequality ?</h3>

When two algebraic expressions are equated using an inequality operator , The statement formed is called In equality.

The given Inequality is 2x + y ≤ 2

in slope intercept form can be written as

y ≤  -2x +2 , here slope is -2 and intercept is 2

As an equation it will be

y = -2x +2

x         y

0 ,       2

1 ,       0

2         -2

The graph is plotted

The area is shaded and the test for the origin is applied , and it lies in the shaded region.

To know more about Inequality

brainly.com/question/20383699

#SPJ1

4 0
2 years ago
What is the interpret of the equation 2x+1. 5y=30
Setler [38]
The intercept would be 5 Y if you acually solve that equation
6 0
3 years ago
Other questions:
  • at the bead shop, there are 25 rows of beads. if there are 320 beads in each row, how many beads are in the shop?
    11·2 answers
  • Which of the following options results in a graph that shows exponential growth? f(x) = 0.4(3)x f(x) = 3(0.5)x f(x) = 0.8(0.9)x
    14·2 answers
  • "Which diagram below shows the first step in parallel line construction on a point outside a line?
    15·2 answers
  • the trailer cost one-fourth as much as the boat. the total cost of both is 4,000 how much did each cost
    15·1 answer
  • How do you sove 673 times 86?
    5·1 answer
  • Use compatible numbers to estimate the quotient. 635÷9
    11·1 answer
  • Write in order from least to greatest (question 20.)
    13·1 answer
  • What is the value of 9 + 21 (13 + 5)?
    8·2 answers
  • Find the values of a and b so that the linear system has the given solution.
    10·1 answer
  • Calculate for the area of the shaded portion. Take π=22/7.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!