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 sinusoidal voltage source produces the waveform, v t = 1 + cos 2πft. Design a system with v t as its input such that an LED wi
DerKrebs [107]

Answer:

See explaination

Explanation:

LM358 is the useful IC which works as buffer. It enables circuit to remove overloading effect on each other. Image is in attachment.

We can define a light-emitting diode (LED) as a semiconductor light source that emits light when current flows through it. Electrons in the semiconductor recombine with electron holes, releasing energy in the form of photons

See attached file for detailed solution of the given problem.

3 0
3 years ago
Evaluate to three significant figures and using appropriate prefix: (354 mg)(45 km)/(0.0356 kN)
frutty [35]

Answer:

0.447 s²

Explanation:

First, convert to SI units.

(354 mg) (45 km) / (0.0356 kN)

(0.354 g) (45000 m) / (35.6 N)

One Newton is kg m/s²:

(0.354 g) (45000 m) / (35.6 kg m/s²)

(0.000354 kg) (45000 m) / (35.6 kg m/s²)

Simplify:

0.447 s²

5 0
3 years ago
Tech A says that bench bleeding a master cylinder will prevent having to bleed air from the brake lines during replacement. Tech
cupoosta [38]

Answer:

  Tech B

Explanation:

Bleeding the master cylinder on the bench does nothing for the air in the brake lines on the vehicle. The bench bleeding is a preferred first step, but bleeding the rest of the brake system is also required. A final check of proper operation on the vehicle should also be accomplished.

Tech B is correct.

6 0
3 years ago
Assume a factory releases a continuous flow of wastewater into a local stream, resulting in an in-stream carcinogen concentratio
AlladinOne [14]

Answer:

Calculate the individual residential lifetime cancer risk.  

Risk = Potential factor x CDI  …… (1)

Calculate the value of C  

C =  C_{o} * e^{-kt}

t = d / v

t = 150 miles / 2 mile per hrs.

t = 75 hrs

t = 75/24

t = 3.13 days

Substitute the obtained value in (2).

C = C_{o} * e^{-kt}

C = 0.72 x e^(-0.1*3.13)

C = 0.72 x 0.7313  

C = 0.526 mg/L

Substitute the obtained value in (1).

Risk = Potential factor x CDI

Risk = 0.30kg.d/mg x 0.526mg/L x 2L/d x 350day/365days

Risk = 0.3026

8 0
3 years ago
Baleykdoyle ANSWRER THISSSS NOWWWW FAST
ELEN [110]

Answer:Ballydoyle is a racehorse training facility located in County Tipperary in Ireland. It is a sister thoroughbred facility to Coolmore Stud, and both are owned by John Magnier, son in law to the racehorse trainer Vincent O'Brien.

Explanation:

5 0
4 years ago
Read 2 more answers
Other questions:
  • You work in Madison, Wisconsin. It is January and the area has been hit with bad weather. Another weather front is expected to a
    9·1 answer
  • Find the mass if the force is 18 N and the acceleration is 2 m/s2
    8·2 answers
  • Any programmer who writes a Diophantine equation solver must occasionally encounter an infinite loop.
    13·1 answer
  • Compute the acceleration of gravity for a given distance from the earth's center, distCenter, assigning the result to accelGravi
    9·2 answers
  • An important material for advanced electronic technologies is the pure silicon.a)-True b)-False
    9·1 answer
  • Product service life is determined by a. estimates b. market forces c. liability d. property tests e. failure analysis f. all of
    12·1 answer
  • Automobile engines normally have
    8·1 answer
  • Problem the pressure at a given point is 50 mmhg absolute
    12·1 answer
  • Can someone help me with this maze shown below.
    8·1 answer
  • the tire restraining device or barrier shall be removed immediately from service for any of these defects except
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!