subject

Suppose an operating system attempts to approximate SRTF with a priority scheduler based on observing how existing threads and assuming that future CPU bursts will have similar lengths to prior CPU bursts. It observes the following schedule: at time 0: A, B, and C and are all waiting for an I/O operation
at time 1: thread A finishes the I/O operation and starts using the processor
at time 2: thread B finishes the I/O and starts using the processor (preempting thread A)
at time 10: thread B starts another I/O operation and gives up the processor
at time 10: thread A resumes using the processor
at time 11: thread C finishes an I/O operation and becomes runnable (but does not preempt thread A)
at time 12: thread A starts another I/O operation and gives up the processor
at time 12: thread C starts using the processor at time 13: thread C starts another I/O operation and gives up the processor

Suppose at time 14 A, B, and C all simulatenously finishes their I/O operations. Based on the observed schedule above, in what order should the OS run them on the processor to best approximate SRTF?

a. A, then B, then C
b. A, then C, then B
c. B, then A, then C
d. B, then C, then A
e. C, then A, then B
f. C, then B, then A

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:30
How can you know if the person or organization providing the information has the credentials and knowledge to speak on this topic? one clue is the type of web site it is--the domain name ".org" tells you that this site is run by a nonprofit organization.
Answers: 2
question
Computers and Technology, 22.06.2019 05:00
Are special characters that allow you to search for multiple words at the same time.
Answers: 2
question
Computers and Technology, 22.06.2019 18:30
The "instance" relationship shows that something is an object of a
Answers: 1
question
Computers and Technology, 22.06.2019 22:40
When you type the pwd command, you notice that your current location on the linux filesystem is the /usr/local directory. answer the following questions, assuming that your current directory is /usr/local for each question. a. which command could you use to change to the /usr directory using an absolute pathname? b. which command could you use to change to the /usr directory using a relative pathname? c. which command could you use to change to the /usr/local/share/info directory using an absolute pathname? d. which command could you use to change to the /usr/local/share/info directory using a relative pathname? e. which command could you use to change to the /etc directory using an absolute pathname? f. which command could you use to change to the /etc directory using a relative pathname?
Answers: 3
You know the right answer?
Suppose an operating system attempts to approximate SRTF with a priority scheduler based on observin...
Questions
question
History, 01.07.2019 23:30
question
Mathematics, 01.07.2019 23:30
question
History, 01.07.2019 23:30
Questions on the website: 13722361