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
KIM [24]
3 years ago
11

Five batch jobs A through E arrive at a computer center in the order A to E at almost the same time. They have estimated running

times of 6, 4, 1, 3, and 7 minutes. Their ( externally determined ) priorities are 3, 5, 2, 1, and 4, respectively, with 5 being the highest priority. For each of the following scheduling algorithms, determine the mean process waiting time. Ignore process switching overhead.
a) Round Robin ( assume quantum = 1 )
b) Priority scheduling
c) First-come first-served
d) Shortest job first
For a), assume that the system is multitasking, and that each job gets its fair share of the CPU. For b) through d) assume that only one job at a time runs, until it finishes. All jobs are completely CPU bound.
Engineering
1 answer:
Nikolay [14]3 years ago
3 0

Answer:

Explanation:

The Turnaround time is the amount of time that elapses between the job arriving and completing. We assume that all jobs arrive at time 0, the turnaround time will simply be the time that they complete.

Round Robin:

we assume that the time quantum of the scheduler is 1 second.The table below gives a break down of which jobs will be processed during each time quantum. A asterisk(*) indicates that the job completes during that quantum.

1   2   3   4   5   6   7   8   9   10   11   12   13   14   15   16   17   18   19   20   21   22   23   24   25   26   27   28   29    30

A  B  C   D  E  A  B   C* D  E    A    B    D   E    A   B   D*   E     A   B     E     A    B* E   A     E  A    E*  A A

C* = 8

D*=17

B*=23

E*=28

AVERAGE TURNAROUND = (8+17+23+28+30)/5 =106/5 = 21.2 MINUTES

B) PRIORITY SCHEDULING:

1-6       7-14        15-24      25-26        27-30

   

 B           E             A             C            D

     AVERAGETURNAROUND =(6+14+24+26+30)/5 = 100/5 = 20 MINUTES.

C)FCFS

1-10      11-16      17-18      19-22      23-30

 

   A            B              C            D              E

   

AVERAGE TURNAROUND =(10+16+18+22+30)/5 = 96/5=19.2 MINTUES

D)SJF

1-2        3-6         7-12         13-20      21-30

C           D            B               E                A

AVERAGE TURNAROUND - (2+6+12+20+30)/5 =70/5 =14 MINUTES.

You might be interested in
A coal-burning power plant generates electrical power at a rate of 650 megawatts (MW), or 6.50 × 108 J/s. The plant has an overa
Vinvika [58]

Answer:

Energy produce in one year =20.49 x 10¹⁶ J/year

Explanation:

Given that

Plant produce 6.50 × 10⁸ J/s of energy.

It produce  6.50 × 10⁸ J in 1 s.

We know that

1 year = 365 days

1 days = 24 hr

1 hr = 3600 s

1 year = 365 x 24 x 3600 s

1 year = 31536000 s

So energy produce in 1 year = 31536000 x  6.50 × 10⁸ J/year

          Energy produce in one year = 204984 x 10¹² J/year

          Energy produce in one year =20.49 x 10¹⁶ J/year

7 0
3 years ago
A room is kept at −5°C by a vapor-compression refrigeration cycle with R-134a as the refrigerant. Heat is rejected to cooling wa
Fed [463]

Answer:

note:

<u>solution is attached in word form due to error in mathematical equation. furthermore i also attach Screenshot of solution in word due to different version of MS Office please find the attachment</u>

Download docx
4 0
3 years ago
Read 2 more answers
Which of the following is NOT associated with Urban Sprawl?
pochemuha

The option that is not associated with the given term called urban sprawl is; Option A: Blocking high views

What is Urban Sprawl?

Urban sprawl is defined as the rapid expansion of the geographic boundaries of towns and cities which is often accompanied by low-density residential housing and increased reliance on the private automobilefor movement.

Looking at the given options, "blocking high views" is the option that is not typically a problem associated with urban sprawl because urbanization usually takes place on relatively flat levels.

The missing options are;

a. blocking high views

b. destroying animal habitats

c. overrunning farmland

d. reducing green space

Read more about urban sprawl at; brainly.com/question/504389

8 0
2 years ago
Fuel filters are being replaced on a HPCR diesel
saw5 [17]

Answer:) The correct answer is B. at the end of the fuel rail.

2) The one who is correct is the Technician A.

Explanation:

7 0
3 years ago
Which of the following describes design components that deal with the outward appearance or beauty of an object?
lisov135 [29]

Aesthetic elements are the components that are added to the design to be considered pleasing to the eye.

<h3>What are aesthetic elements?</h3>

They are those characteristics of an object that deal with the outward appearance or beauty of an object, that is, they are those elements that make it valuable, appreciable, relevant or transcendent.

To do this, the qualities must be in the design of the object but must also be perceived by the consumer, the aesthetic being what we like to perceive in objects.

Therefore, we can conclude that aesthetic elements are the components that are added to the design to be considered pleasing to the eye.

Learn more about aesthetic elements here: brainly.com/question/24568271

7 0
2 years ago
Read 2 more answers
Other questions:
  • Technician A says that you don’t need to use an exhaust extraction system when working on vehicles equipped with a catalytic con
    9·1 answer
  • In C++ the declaration of floating point variables starts with the type name float or double, followed by the name of the variab
    14·1 answer
  • How do you calculate the dynamic lift in an aeroplane?
    5·1 answer
  • Two parts are to be assembled in a way that if one part fails, the entire assembly fails. Each of the parts have undergone exten
    15·1 answer
  • Why is the lubrication system of an internal combustion engine equipped with an oil filter?
    11·1 answer
  • Linus is using a calculator to multiply 5,426 and 30. He enters 5,426 x 300 by mistake. What can Linus do to correct his mistake
    7·1 answer
  • Some_____
    10·1 answer
  • What major problems could you encounter in complex intersections?
    7·1 answer
  • in the multiple pipe system shown below, which of the following is true concerning the linear system?.
    14·1 answer
  • How can you contribute to achieved the mission of NSTP during pandemic in your society?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!