Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 2. A Multilevel feedback queues are shown in the diagram below. The scheduler first with x remaining time and B is at the tail
Question 2. A Multilevel feedback queues are shown in the diagram below. The scheduler first with x remaining time and B is at the tail of the queue with remaining time of y. You can add executes all processes in Q. Only when Qo is empty wll it execute processes in Q1, and only when Qo and Qi are empty will it execute processes in Q2. A process arriving for Q l preempt a process in Qi or Q2, and a process arriving for Qi will preempt a process in Qa; a process preempted in this case is put back to the head of the same queue; when this process is scheduled to run next time it will execute for the remaining of its allocated time quantum. A new process entering the system is put in Qo and is given a time quatum of 8 milliseconds. If it does not finish within this time, it is preempted and moved to the tail of Q1. If Qo is empty, the process at the head of Q is scheduled to run with a time quantum of 16 milliseconds. If it does not finish within lhis lime, il is preempled and moved to the tail of Q. Processes in Q2 are in on an FCFS basis new rows to the table if you think the table is not enough to accommodate all the events Q: 5 P(28A) nd of deounent Given the following arrival ime and CPU burst of processes A, B. C. D, and E as shown in table belovw 36 a) Show the status of each queue along the time line during the running of the system. You only need to show the status of the system when either I) a new process arrives, or 2) a process is preempted, or 3) a process terminates. The stanus includes time stamp, the name of the process and its remaining time in each queue. For example, at time 0, process A is in Qo and it has 25 time units toward finishing. Q1 and Q are empty. You arc asked to complete the table with time moment and status of each queue. Moreover, B(x) A(y) shows A is at the head of the queue
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started