12,235 views
20 20 votes

For the real time operating system, which of the following is the most suitable scheduling scheme?

  1. Round robin
  2. First come first serve
  3. Pre-emptive
  4. Random scheduling

3 Answers

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)

• selected by
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 needed

  • Respond immediately to time-critical events

  • Guarantee predictable timing behavior

Only 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 suitable
Round RobinFair but not priority-aware — bad for critical deadlines
First Come First Serve (FCFS)No preemption — critical tasks may wait
Random SchedulingUnpredictable, no guarantee on deadlines

 

• edited by
Answer:
Position:
Show:

Related questions

8 8 votes
3 answers 3 answers
12.5k
12.5k views
Arjun asked Jul 6, 2016
12,525 views
At a particular time of computation the value of a counting semaphore is 7. Then 20 $P$ operations and $x$ $V$ operations were completed on this semaphore. If the new val...
5 5 votes
4 answers 4 answers
10.1k
10.1k views
habedo007 asked Jul 5, 2016
10,138 views
Determine the number of page faults when references to pages occur in the following order:1, 2, 4, 5, 2, 1, 2, 4Assume that the main memory can accommodate 3 pages and th...
15 15 votes
6 answers 6 answers
13.8k
13.8k views
asu asked Jul 4, 2016
13,797 views
With single resource, deadlock occursif there are more than two processes competing for that resourcesif there are only two processes competing for that resourcesif there...
10 10 votes
8 answers 8 answers
14.9k
14.9k views
asu asked Jul 4, 2016
14,927 views
A system has 3 processes sharing 4 resources. If each process needs a maximum of 2 units, thenDeadlock can never occurDeadlock may occurDeadlock has to occurNone of these