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]
3 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]3 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 fnaf who´s spring trap in fnaf 3 and who are the five victim names that he murdered and lure them into the back room.
Vedmedyk [2.9K]

Answer:

Springtrap is William Afton, and the names of his victims are Gabriel, Jeremy, Susie, Fritz, and Cassidy

Explanation:

3 0
3 years ago
Read 2 more answers
The _________ specifies the station(s) for which the frame is intended. it may be a unique physical address, a group address, or
Hitman42 [59]
<span>a. DA Given the question and available options, this looks like a question about Ethernet frames. So let's look at the options and see what makes sense. a. DA * DA - Destination address. And the question pretty much defines what it is. So this is the correct choice. b. SA * SA - Source address. This is the physical address that the frame was sent from. And since the question is mentioned who the frame is intended for, this is obviously the wrong choice. c. SFD * SFD - Start Frame Delimiter. This is a special CONSTANT sequence of bits that terminates the preamble. It's purpose is to indicate the start of the frame payload. Since it's a constant value, it does not indicate in any way where the frame is intended to go. So this is a bad choice. d. Preamble * Preamble - is a pattern of alternating 0 and 1 bits intended to synchronize receivers so that the rest of the frame is interpreted correctly. This too is a constant value and as such can't indicate the destination of the frame, so it's a bad choice.</span>
7 0
3 years ago
Assembly (Procedure and Conditional Processing). For the following program, what are outputs for register EAX, EBX, ECX, and EDX
marta [7]

Answer:

See explaination

Explanation:

Given data:

.code main

mov eax, 10 means eax=10,(now eax register contain 10)

mov ebx ,10 means ebx=10

mov ecx, 10 means ecx=10

mov edx, 10 means edx =10

call proc1 measn invoke the proc1 function

call DumpReg means Display the register

exit main endp means main function closed

///// now proc1 function part'

L1 means it's start a scope as loop

add eax, 1 means increament one or eax=eax+1 => 11 ( because eax was 10 )

add ebx , 1 means ebx=ebx+1 =>11

Loop L1 means this is loop

cmp ebx ,20 compare ebx with 20

jne return means if ebx==20 then jump onto return statement else go ahead

mov edx 20 means edx=20

retunrn : ret proc1 endp endp main means when return statement come it will end then proc1 and redirect to main function;

after exicute this code :

EAX contain 11

EBX contain aslo 11

ECX contain 10

EDX contain 20

7 0
3 years ago
To insert a new slide in an existing presentation, what menu should you select?
Lelechka [254]
You would select add slide if you where using keynote! 
3 0
3 years ago
Read 2 more answers
Which is NOT a type of SD card?
andre [41]
I'm pretty sure the answer is B.

SD SC can held up to 2GB capacity

SDHC can held up to 32 GB

SDXC (eXtended) can held up to 2TB

SDIO is an interface for I/O devices, there are cameras with this standard.
6 0
3 years ago
Read 2 more answers
Other questions:
  • Which computer is the best for video cutting?
    11·2 answers
  • Click _______ to view each individual record of a mail merge document.
    5·2 answers
  • How does an agile team maintain requirement?​
    9·2 answers
  • Which element in the PowerPoint application is not available in the Microsoft Word application?
    12·2 answers
  • . Business-to-business integration (B2Bi) is vital for efficient and accurate flow of data across internal ISs and external busi
    11·1 answer
  • List and describe four communication tools that are currently popular.
    9·1 answer
  • Jenny is working on a laptop computer and notices that the computer is not running very fast. She looks and realizes that the la
    14·1 answer
  • How are envelopes and letterheads different
    7·1 answer
  • A network technician is attempting to add an older workstation to a Cisco switched LAN. The technician has manually configured t
    11·1 answer
  • which one of the following would not normally be found in an organization's information security policy?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!