1 1 vote Option D) has been given as a correct option in the MSQ question but why the E's (arrival time = 4ms) turn was not placed after D? Operating System operating-system round-robin-scheduling process-scheduling two-marks + – BhavdeepSinghNijhawa 1.8k views answer comment Share Follow Print See all 4 Comments 4 4 Comments reply Shaik Masthan commented Jan 27, 2025 reply Follow flag At the end of 3, A again added to queue where E has not in the queue till that time. E added at t=4. So, A get the second chance before E get the first chance. 1 1 replyShare BhavdeepSinghNijhawa commented Jan 27, 2025 reply Follow flag Sir @Shaik Masthan, did not understand the meaning of,At the end of 3, A again added to queueTime quantum is of 3ms, till D, (3ms * 4) 12ms would be used and E arrived at 4ms so E would be already waiting in the ready queue. 0 0 replyShare Shaik Masthan commented Jan 27, 2025 reply Follow flag At t=0, A is added to Queue. Only one process is in queue. That is scheduled. At t=1, B added to ready queue. As A time quantum not completed, B will still wait in the ready queue. At t=2, C will be added to the ready queue. At t=3, A time quantum expire and D also arrived. So both A and D added to the queue in no particular order. B will scheduled for running. At t=4, E will be added to the ready queue. 2 2 replyShare Dipesh Chadgal commented Jan 29, 2025 reply Follow flag Always manage a ready queue for Round Robin Questions. 3 3 replyShare Please log in or register to add a comment.
Best answer 1 1 vote AT- arrival timeBT - burst timeCT- completion timeTAT- turn around time , TAT=CT-ATWT-waiting time , WT = TAT-BTRT- response time , RT= first time when process got cpu - arrival timekey point to remember: try to solve round robin question by taking 1 interval time gap that will be benificial for you but how??simple see always first put whichever process comes into queue first then take out a process from front of queue then,make a process run till time quantum when the process is running if some process has arrived u should put that process into the queue based on arrival time.when a process completes its execution if it has still some burst time left then again put this process in the rear/ back of the queuethen take out a process from front of the queue and make it run for the given time quantum. saket jaiswal answered Feb 4, 2025 • edited Feb 5, 2025 by saket jaiswal saket jaiswal comment Share Follow 0 reply Please log in or register to add a comment.
1 1 vote At t = 3, process A's time quantum expires, causing it to be preempted and enqueued since it has not yet completed execution. At this moment, the ready queue contains: B, C, D, A.Next, B is scheduled (now ready queue contains: C, D, A.) and runs until t = 6. Meanwhile, at t = 4, process E arrives and is added to the queue. As a result, the updated queue at t = 6 becomes C, D, A, E.Consequently, after D finishes its time quantum, A gets scheduled before E. mili_dhara answered Jan 29, 2025 mili_dhara comment Share Follow See all 2 Comments 2 2 Comments reply dummy_mail commented Feb 23, 2025 reply Follow flag I think A and C are also correct. 0 0 replyShare mili_dhara commented Feb 24, 2025 reply Follow flag Doubt was only regarding option D. 0 0 replyShare Please log in or register to add a comment.