20 20 votes For the real time operating system, which of the following is the most suitable scheduling scheme? Round robin First come first serve Pre-emptive Random scheduling Operating System isro2016 operating-system process-scheduling + – go_editor 12.2k views answer comment Share Follow Print See 1 comment 1 1 comment reply Siddharth_Perkar commented Aug 7 reply Follow flag Random scheduling is directly out of consideration Same for FCFS as it is non-preemptive scheduling algoNow, RR sometimes fits but what if high priority/urgent process came then too it will have to wait and process one by one when it's turn came.But if we are using preemptive scheduling, then we can remove the current executing process with the high priority process and let it finish first.Hence, ANS (C) 0 0 replyShare Please log in or register to add a comment.
Best answer 22 22 votes Answer C : Preemptive Scheduling is suitable for Real-Time Programming, as it will allow a real-time process to preempt a process currently running in the Kernel. A preemptive Kernel may be more responsive, since there is less risk that a Kernal-mode process will run for arbitrarily long period before relinquishing the processor to waiting proces. Real-time systems requires that results be produced within a specified deadline.One of the key feature of Real-time system is its ability to respond to real-time process as soon as process requires CPU .As a result the scheduler for real-time system must support priority-based algorithm with preemption. Round Robin Scheduling is used in Time Sharing Systems . (Refer Galvin) Jithin Jayan answered Jul 16, 2016 • selected Jul 16, 2016 by pC Jithin Jayan comment Share Follow See all 6 Comments 6 6 Comments reply Show 3 previous comments G.K.T commented Dec 14, 2017 reply Follow flag But these cases also possible with pre-emptive scheduling like a important or urgent process may starve . so on this way we can also reject c option 0 0 replyShare Arjun commented Dec 14, 2017 reply Follow flag Real time implies any new process must get immediate priority. This should be given in any standard text book. 3 3 replyShare G.K.T commented Dec 14, 2017 reply Follow flag So in context of this question with pre-emptive you mean a system where a currently running program could be pre-empted to serve an urgent process. whereas in round robin it will go until time quantum or process completion so we are not getting immediate response .. 1 1 replyShare Please log in or register to add a comment.
2 2 votes Real-time systems need to meet strict deadlines. Some tasks are more urgent than others (like handling sensors or controlling motors), so they must:Interrupt lower-priority tasks when neededRespond immediately to time-critical eventsGuarantee predictable timing behaviorOnly pre-emptive scheduling allows high-priority tasks to interrupt lower-priority ones as soon as they arrive.Why others don’t fit:SchemeWhy it’s not suitableRound RobinFair but not priority-aware — bad for critical deadlinesFirst Come First Serve (FCFS)No preemption — critical tasks may waitRandom SchedulingUnpredictable, no guarantee on deadlines Sunnychxfyhc answered Apr 11, 2025 • edited Apr 11, 2025 by Sunnychxfyhc Sunnychxfyhc comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes https://en.wikipedia.org/wiki/Real-time_operating_system nice explanation. Harshitkmr answered Nov 4, 2019 Harshitkmr comment Share Follow 0 reply Please log in or register to add a comment.