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 15:00
Who is the first president to use social media as part of his campaign strategy
Answers: 1
question
Computers and Technology, 23.06.2019 01:50
Free points just awnser this. what should i watch on netflix
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
In which of the following ways can using test-taking tips you? a. you can focus on the information that you need to study. b. you will see the answers to the test. c. you will study more. d. you will be less organized.
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
The computers in the sales department did not have enough data storage capacity to contain all the information the department needed to store, and it was taking a long time for team members to access the data they needed. to fix the problem, the technician installed new, larger hard drives on all the computers.
Answers: 1
You know the right answer?
Suppose an operating system attempts to approximate SRTF with a priority scheduler based on observin...
Questions
question
Mathematics, 22.11.2020 07:50
question
Physics, 22.11.2020 07:50
question
Mathematics, 22.11.2020 07:50
question
Mathematics, 22.11.2020 07:50
Questions on the website: 13722362