...
Question 11277 – Algorithms
January 29, 2024
Question 8713 – CPU-scheduling
January 30, 2024
Question 11277 – Algorithms
January 29, 2024
Question 8713 – CPU-scheduling
January 30, 2024

Question 10215 – CPU-scheduling

The sequence …………… is an optimal non-preemptive scheduling sequence for the following jobs which leaves the CPU idle for …………… unit(s) of time.

Correct Answer: A

Question 4 Explanation: 
Here, in option (B) and (C) they have given CPU idle time is 0 which is not possible as per schedule (B) and (C).
So, (B) and (C) will be eliminated.
Now in (A) and (D):
For r(A),

So, idle time is between 0 to 1 which in case of option (A).
For option(D),

We can see there is no idle time at all, but in option given idle time is 5, which is not matching with our chart. So option (D) is eliminated.
Therefore, the correct sequence is option (A).
A
{3,2,1),1
B
(2,1,3},0
C
{3,2,1),0
D
{1,2,3},5
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!