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
anastassius [24]
4 years ago
9

Draw a timeline for each of the following scheduling algorithms. (It may be helpful to first compute a start and finish time for

each job.) a. FCFS b. SJN c. SRT d. Round robin (using a time quantum of 5, ignore context switching and natural wait)

Computers and Technology
1 answer:
12345 [234]4 years ago
8 0

Answer:

See explanation below

Explanation:

Previos concepts

First Come First Serve (FCFS) "is an operating system scheduling algorithm that automatically executes queued requests and processes in order of their arrival".

Shortest job next (SJN), or the shortest job first (SJF) or shortest "is a scheduling policy that selects for execution the waiting process with the smallest execution time".

Shortest remaining time (SRF) "is a scheduling method that is a preemptive version of shortest job next scheduling'".

Round robin (RR) is an algorithm where the time parts "are assigned to each process in equal portions and in circular order, handling all processes without priority"

Solution for the problem

Assuming the dataset given on the plot attached.

Part a

For this algorithm the result would be:

Job A   0-6

Job B   6-(6+3) = 6-9

Job C   9-(9+1) = 9-10

Job D   10-(10+4) = 10-14

Part b

For this algorithm the result would be:

Job A   0-6

Job C   6-(6+1) = 6-7

Job B   7-(7+3) = 7-10

Job D   10-(10+4) = 10-14

Part c

For this algorithm the result would be:

Job A   0-1  until 14

Job B   2-(2+3) = 2-5

Job C   3-(3+2) = 3-5

Job D   9-(9+5) = 9-14

Part d

For this algorithm the result would be:

Job A   0-2 , 7-9, 12-14

Job B   2-4, 9-10

Job C   4-(4+1) = 4-5

Job D   5-7, 10-12

You might be interested in
In a case where electrical current leakage from the circuit occurs,
Zielflug [23.3K]

Answer:

The GFCI shuts down the circuit when it senses a current leakage.

Explanation:

The ground of a circuit should truly be ground. But if the ground circuit is not truly ground, then someone could get shocked. The GFCI monitors the possibility of current flow to ground. If this occurs, then the GFCI stops all flow of current, for safety reasons.

It also monitors if the current flow is interrupted. Say you drop something that is plugged in, into a sink of water. The GFCI should note the current loss, and shut down the circuit.

GFCI stands for: Ground-Fault Circuit Interrupter

4 0
3 years ago
Read 2 more answers
Match the items with their respective descriptions. denotes row numbers denotes cell addresses denotes worksheets denotes column
yulyashka [42]

Answer:

The following represents the row numbers: arrowRight Reset, Previous 5, Next Pretest.

And these are the cell addresses: arrowRight C5, arrowRight 1,2, 3.

These denotes worksheets: arrow Right sheet 1, sheet 2, sheet 3, Next Previous. Likes sheet 1 denotes the first sheet and so on.

And A, B, C denotes the column headers, which can be seen on the sheet at the row above the first row.  

Explanation:

The exact match is as mentioned above.

4 0
4 years ago
Select the correct answer.
melomori [17]

A. a next generation car

8 0
3 years ago
Funtion is excel define​
nydimaria [60]

Explanation:

Excel includes many common functions that can be used to quickly find the sum, average, count, maximum value, and minimum value for a range of cells.

5 0
3 years ago
Use the nutrition label to determine how many calories would be consumed by drinking 1 liter of Mountain Dew.
Rus_ich [418]
1 liter of mountain dew is 170 calories
4 0
3 years ago
Read 2 more answers
Other questions:
  • HURRRYY After pasting the information on the left side of the comparison slide, Jamal notices the text box extends beyond the bo
    9·1 answer
  • Create a query that will list all technician names, employee numbers, and year hired in order by year hired (Newest to Oldest).
    5·1 answer
  • Which of the four basic functions of a computer refers to the collection of data by a computer?
    11·2 answers
  • 5. Write a function that takes two lists of integers and returns a list containing tuples with corresponding elements from both
    8·1 answer
  • Which bus slot provides highest video performance​
    13·1 answer
  • Which options are available when a business creates a new theme? Check all that apply.
    12·1 answer
  • A-1 grdening supply is preparing a reprt to hand out to the customerez in pointes form only.why should the reprts writers avoid
    9·2 answers
  • Where is the BIOS stored?<br><br> CPU<br> CMOS<br> RAM<br> Northbridge
    13·2 answers
  • Explain how power surges can affect computers and how this problem can be minimised or removed<br>​
    9·1 answer
  • Select a software package/electronic device that you know well. It can be from any domain (work related, entertainment, desktop,
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!