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
The development of various technologies led to many historic events. Use information from the Internet to describe one major his
11111nata11111 [884]

Answer:

1. Industrial revolution was initiated or borne through the production of Steel

2. World War 1 led to the development of Tanks

Explanation:

The production of Steel through the Bessemer Process in the middle of the nineteenth century was a major technological development that spurred the Industrial revolution. This invention led to the widespread use of steel in the production of many things including vehicles and airplanes.

During the First World War in 1914, soldiers found the use of just their armaments in battle as not so productive. This led to the development of Tanks in 1915 that would continue moving towards the enemy even when being shot at.

4 0
3 years ago
while performing a running compression test how should running compression compare to static compression
algol [13]

Answer:

The idle speed of a running compression should be between 50-75 PSI and that is about half of the static compression.

Explanation:

The Running or Dynamic compression is used to determine how well the cylinder in an engine  is absorbing air, reserving it for the proper length of time, and releasing it to the exhaust. The static or cranking compression test is used to check the sealing of the cylinder. Before performing the running compression test, the static compression test is first performed to rule out other issues like bent valves.

The standard value for the static compression is given by;

Compression ratio * 14.7 = Manufacturers Specification

The running compression should always be half of the static compression.

5 0
2 years ago
IM JI Suneou uo mm
Oksi-84 [34.3K]

Answer: g

Explanation:

5 0
3 years ago
Suppose the loop is moving toward the solenoid (to the right). Will current flow through the loop down the front, up the front,
Tems11 [23]

Answer:

See explanation

Explanation:

The magnetic force is

F = qvB sin θ

We see that sin θ = 1, since the angle between the velocity and the direction of the field is 90º. Entering the other given quantities yields

F

=

(

20

×

10

−

9

C

)

(

10

m/s

)

(

5

×

10

−

5

T

)

=

1

×

10

−

11

(

C

⋅

m/s

)

(

N

C

⋅

m/s

)

=

1

×

10

−

11

N

6 0
3 years ago
Read 2 more answers
Eutectic product in Fe-C system is called A. Pearlite B. Bainite C. Ledeburite D. Spheroidite
zimovet [89]

Answer:

Eutectic product in Fe-C system is called Ledeburite-C.

6 0
3 years ago
Other questions:
  • A company specification calls for a steel component to have a minimum tensile strength of 1240 MPa. Tension tests are conducted
    7·1 answer
  • A steel wire of diameter 2.000 mm and length 1.000 m is attached between two immovable supports.When the temperature is 60.00 Ce
    9·1 answer
  • The minimum fresh air requirement of a residential building is specified to be 0.35 air changes per hour (ASHRAE, Standard 62, 1
    10·1 answer
  • Using the technique of bitwise ANDing, find the IP address of the network # (this could be a network or subnet) on which the mac
    14·1 answer
  • Many of the products that we eat and drink are advanced manufactured products. Is this statement TRUE or FALSE?
    12·1 answer
  • Write a program to calculate overtime pay of 10 employees. Overtime is paid at the rate of Rs. 12.00
    13·1 answer
  • A closed, rigid tank is filled with a gas modeled as an ideal gas, initially at 27°C and gauge pressure of 300 kPa. The gas is h
    9·1 answer
  • ‘Politics and planning are increasingly gaining prominence in contemporary urban and regional planning debates’. Using relevant
    9·2 answers
  • Wells drilled by a nonprofit called Water for South Sudan use a pump that can provide up to 5,500 gallons of water per day. Use
    10·1 answer
  • 10 properties of metals?<br> ​
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!