Please Log in or Register for more.


344 views

1 Answer

Answer :

The scheduler is very important in Real-Time Operating System (RTOS). Selection of tasks for execution is provided by the scheduler. Which task to execute when it is provided by the scheduler.There are different types of the scheduling algorithm. Preemptive scheduling, Round-robin scheduling, cooperative scheduling are the types of scheduling algorithms. Mostly developer uses these algorithms but if needed Developer can create own custom scheduling algorithm.


Comparision between preemptive and non-preemptive scheduling:


If the process is running and a new process with high priority come to the processor the preemptive scheduling force the running process to remove and run the process with high priority. This is not the case in non-preemptive scheduling, in non-preemptive scheduling the processor does not remove the process until it completes the process.

In case of preemptive scheduling, the operating system has control to the processor in running state of the process. But, in case of non-preemptive scheduling once the process in the processor is in running state the operating system has no control over the processor.

"First come first served" is the type of non-preemptive scheduling. "Round-robin scheduling" is the type of preemptive scheduling.

Preemptive scheduling is not simple. Non-preemptive scheduling is simple.

Preemptive scheduling is flexible while non-preemptive scheduling is rigid.

Like 0 like

Please log in or register to answer this question.

Related Questions


what are the significance of kernel in RTOS ?
Last Answer : In every RTOS there is the kernel. The kernel is the core supervisory software. The kernel provides minimal logic. Scheduling is also provided by the kernel. The resource- ... device managment service.RTOS kernel has interrupt management service.RTOS kernel has memory management service.

Show More

75 views 1 answer







77 views 0 answers








Last Answer : Some embedded systems have Real-Time Operating Systems (RTOS) and some of them not. Real-Time Operating Systems is a platform for building applications for embedded systems, Smaller Software ... they just have application code without RTOS. Every Real-Time Operating Systems have the kernel.

Show More

84 views 1 answer







FIFO scheduling is: a) Preemptive Scheduling b) Non Preemptive Scheduling c) Deadline Scheduling d) None of The Above
Last Answer : b) Non Preemptive Scheduling

Show More

11 views 1 answer







We have a semi-detached house and a neighbor has the right to pass through our land. Now he wants to sell the property, do we have a pre-emptive right by law? Thank you for your answer. Regards Miketová E,
Last Answer : Not necessarily, little information ... ;-) As for one building plot co-owned by you and a neighbor, then yes. Otherwise, it depends on the encumbrance agreement - if it is conditional on the right of first refusal, yes. If not - and if there are no other arrangements, no.

Show More

0 views 1 answer







What is the difference between time slicing and preemptive scheduling ?
Last Answer : Ans. In preemptive scheduling, highest priority task continues execution till it enters a not running state or a higher priority task comes into existence. In time slicing, the task continues its execution for a predefined period of time and reenters the pool of ready tasks.

Show More

3 views 1 answer







Linux operating system uses (A) Affinity Scheduling (B) Fair Preemptive Scheduling (C) Hand Shaking (D) Highest Penalty Ratio Next
Last Answer : (B) Fair Preemptive Scheduling Explanation: Linux uses two process-scheduling algorithms: 1. A time-sharing algorithm for fair preemptive scheduling between multiple processes 2. A real-time algorithm for tasks where absolute priorities are more important than fairness

Show More

90 views 1 answer







A scheduling Algorithm assigns priority proportional to the waiting time of a process. Every process starts with priority zero (lowest priority). The scheduler re-evaluates the process priority for every 'T' time ... (A) Priority scheduling (B) Round Robin Scheduling (C) Shortest Job First (D) FCFS
Last Answer : (B) Round Robin Scheduling

Show More

101 views 1 answer







Consider three CPU intensive processes P1, P2, P3 which require 20, 10 and 30 units of time, arrive at times 1, 3 and 7 respectively. Suppose operating system is implementing Shortest Remaining Time first (preemptive scheduling) ... end of Ready queue are not counted). (A) 3 (B) 2 (C) 4 (D) 5
Last Answer : (A) 3

Show More

540 views 1 answer







Which scheduling service is used to handle traffic with different priorities? (1) Traffic management (2) QoS traffic scheduling (3) QoS Scheduler (4) Qos Manager
Last Answer : QoS traffic scheduling

Show More

21 views 1 answer







83 views 0 answers








Last Answer : There are two main types of task scheduling algorithm in Real-Time Operating Systems (RTOS).1. Rate Monotonic Scheduling (RMS)2. Earliest-Deadline-First (EDF)Rate Monotonic Scheduling ( ... shortest period process and so on.Rate Monotonic Scheduing do not support non-periodic processees.

Show More

107 views 1 answer







What is the real time scheduling?
Last Answer : Hard real-time and soft real-time are the types of real time scheduling. Real time 

Show More

120 views 1 answer







Necessary conditions for deadlock are: a) Non preemptive and circular wait b) Mutual exclusion and partial allocation c) Both of The Above d) None of The Above
Last Answer : b) are privileged calls that are used to perform resource management functions, which are controlled by the operating system

Show More

45 views 1 answer







What Are The Different Project Scheduling Techniques?
Last Answer : Program evaluation and review technique (PERT) and the critical path method (CPM) are two project scheduling methods that can be applied to software development. CPM provides critical path to analyze ... and their impacts are analyzed. Then, the software team establishes a plan for managing risk.

Show More

2 views 1 answer







Which of the following disk scheduling techniques has a drawback of starvation? (A) SCAN (B) SSTF (C) FCFS (D) LIFO 
Last Answer : Which of the following disk scheduling techniques has a drawback of starvation? (A) SCAN (B) SSTF (C) FCFS (D) LIFO 

Show More

800 views 1 answer







Compare the annual growth rate of  1.IC capacity 2.Designer productivity.
Last Answer : Compare the annual growth rate of 1.IC capacity2.Designer productivity.

Show More

99 views 1 answer







What is the difference between the embedded system and RTOS?
Last Answer : An RTOS is an important subset of an embedded system. (See RTOS explanation below) An embedded system has historically been defined as a single function product where the intelligence is embedded ... (RTOS) is intended for systems that need to tightly control responsiveness and performance. With

Show More

0 views 1 answer







What are the types of RTOS?
Last Answer : There are many choices for RTOSes -- proprietary and open source. There is no one dominant RTOS because there are so many processor choices and so many different application requirements. Here are a few popular ... some of the open source RTOSes/OSes * eCOS * uClinux PSOS, vx works, PSOS, vx works,

Show More

2 views 1 answer







State two examples of RTOS.
Last Answer : 1. LynxOS. 2. OSE. 3. QNX. 4. RTLinux. 5. VxWorks. 6. Windows CE.

Show More

73 views 1 answer







What preemptive medication would you have to take to make it safe to eat the slain animals your cat brings you?
Last Answer : I’d eat the cat. If the animal that it ate didn’t kill the cat, then cat itself is probably edible.

Show More

0 views 1 answer







Vista Task Scheduler Experts - I can't get the program "Tray Status" to run automatically.
Last Answer : I don't really know Windows. But TrayStatus.exe isn't really telling it where the file is. Try a complete path or cd into into the directory the file is in before running the command. Example: Microsoft ... (s) 0 bytes 2 Dir(s) 5,222,629,376 bytes free C:\Documents and Settings\johnpowell\Desktop>

Show More

1 view 1 answer







A thread is a ………… process, which is managed by OS scheduler. (a) heavy weight (b) multiproces -Technology
Last Answer : (d) A thread is a light weight process because it executes sequentially.

Show More

0 views 1 answer







Preemptive and cooperative both are type of 1) Multiprogramming 2) Multitasking 3) Multi-user 4) None
Last Answer : 2) Multitasking

Show More

3 views 1 answer







Unix Operating System use _________ Multitasking 1) Preemptive 2) Cooperative 3) multiprogramming 4) None
Last Answer : 1) Preemptive

Show More

2 views 1 answer







The building blocks of Google’s App Engine architecture comprises of a) GFS, MapReduce, Chubby, BigTable b) GFS, Scheduler, Chubby, BigTable c) GFS, MapReduce, Chunk Server, BigTable d) Scheduler, MapReduce, Chubby, Chunk Server
Last Answer : GFS, MapReduce, Chubby, BigTable

Show More

1 view 1 answer







Which of the following allows a virtual machine to run on two or more physical processors at the same time? a) Virtual SMP b) Distributed Resource Scheduler c) vNetwork Distributed Switch d) Storage VMotion
Last Answer : Virtual SMP

Show More

8 views 1 answer







Preemptive and cooperative both are type of 1 Multiprogramming 2 Multitasking 3 Multi-user 4 None
Last Answer : 2 Multitasking

Show More

2 views 1 answer







Unix Operating System use _________ Multitasking 1 Preemptive 2 Cooperative 3 multiprogramming 4 None
Last Answer : 1 Preemptive

Show More

6 views 1 answer







Some of the criteria for calculation of priority of a process are: a. Processor utilization by an individual process. b. Weight assigned to a user or group of users. c. Processor utilization by a user or group of processes. In fair share ... (a) and (c) (3) (a), (b) and (c) (4) only (b) and (c)
Last Answer : (3) (a), (b) and (c)

Show More

21 views 1 answer







CPU Scheduler is also known as _____ . (1) Job Scheduler (2) Resource Scheduler (3) Short-term Scheduler (4) Process Scheduler
Last Answer :  Short-term Scheduler

Show More

39 views 1 answer







In computer processing, ______ selects processes from the pool and loads them into memory for execution. (1) Job Scheduler (2) Resource Scheduler (3) CPU Scheduler (4) Process Scheduler
Last Answer : Job Scheduler

Show More

160 views 1 answer







State and describe types of scheduler.
Last Answer : There are three types of scheduler: Long term scheduler Short term scheduler Medium term scheduler 1. Long term scheduler: It selects programs from job pool and loads them into the ... scheduler works in close communication with long term scheduler for loading process into the main memory. 

Show More

69 views 1 answer







How would you compare the piano techniques of Hiromi Uehara and Bill Evans?
Last Answer : I don’t think they can be compared, they are distinct and different. It would be like comparing Pablo Casals and Yo-Yo Ma

Show More

0 views 1 answer







Describe the various signalling techniques. Compare in-channel signalling with common channel signaling, which is more advantageous.
Last Answer : Signaling systems link the variety of switching systems, transmission systems and subscriber equipments in telecommunication network to enable the network to function as a whole. Three forms of signaling are ... for passing control signals for a group of trunks or information       

Show More

2 views 1 answer







Compare binary ASK, FSK &PSK modulation techniques 
Last Answer : Sr. No Parameter Binary ASK Binary FSK Binary PSK 1 Variable Characteristic Amplitude Frequency Phase 2 Maximum bandwidth(Hz) 2fb 5 fb /3 2fb 3 ... 1200 bits/sec Suitable for high bit rates 8 Detection method Envelope Envelope Coherent

Show More

25 views 1 answer







Explain placement, routing, and sizing.
Last Answer : Placement: The task of placing and orienting every transistor somewhere on IC. Routing: The task of running wires between the transistors without inserting other wires or transistors. ... wires and transistor provide better performance but consume more power and require more silicon area.

Show More

78 views 1 answer








Last Answer : Common computation models: Sequential program model Statements, rules for composing statements, semantics for executing them Communicating process model ... Object-oriented model For breaking complex software into simpler, well-defined pieces

Show More

107 views 1 answer







Explain the advantages and disadvantages of using memory I/O and standard I/O.
Last Answer : Memory mapped I/O and standard I/O are the two methods for communicating microprocessor with peripherals. Processor talks to both memory and peripheral using the same bus.Two ways to talk to a peripheral. ... of standard I/O is no loss of memory addresses to the use as I/O addresses.

Show More

171 views 1 answer







Explain parallel and wireless protocols.
Last Answer : Parallel protocols: PCI bus (Peripheral Components Interconnect): PCI stands for Peripheral Components Interconnect. PCI bus is used as a communication line to transmit signals and data ... provide the basis for wireless network products using the Wi-Fi brand.

Show More

100 views 1 answer







Explain memory hierarchy.
Last Answer : Memory hierarchy: Main memory is large, inexpensive, slow memory stores entire program and data. Cache memory is small, expensive, fast memory stores copy of likely accessed parts of large ... In memory hierarchy the smaller memory is faster and larger memory storage is slower.

Show More

186 views 1 answer







Explain memory write ability and storage permanence with suitable diagram.
Last Answer : Write ability and storage permanence of memories: Write ability is the manner and speed at which memory can be written. Storage permanence is the ability of memory to hold stored bits ... Holds bits after power is no longer supplied. High end and middle range of storage permanence.

Show More

3.5k views 1 answer







Explain the various steps involved in designing a custom single-purpose processor.
Last Answer : A single purpose processor is a digital circuit designed to execute exactly one program. It is also known as co-processor, accelerator or peripheral. It contains only ... for small quantities. Performance may not match general-purpose processors for same applications.

Show More

412 views 1 answer







Explain Inter-process Communication (IPC) using mailbox/queue.
Last Answer : Inter-process communication using mailbox: Mailbox is the Interprocess communication mechanism. A process puts a data message for another process in the mailbox. Mailbox is also called as message exchange. ... a message. In mailbox IPC the sender need not to know the name of the receiver.

Show More

140 views 1 answer







Explain arbitration. What is priority arbitrator?
Last Answer : Arbitration: IF multiple peripherals are connected to microprocessor or DMA controller or any resource and they request services simultaneously so which peripheral will get serviced first this is ... Peripherals make requests to arbiter and arbiter makes requests to the resource.

Show More

101 views 1 answer







Explain FSM and concurrent process with example.
Last Answer : Finite State Machine (FSM): Finite state machine is a machine which have a transition from state to state. The system have some number of states and at a time the system can ... Y seconds. In sequential execution, the processor executes single task which causes poor processor utilization.

Show More

126 views 1 answer







What is design technology? Explain top down design process.
Last Answer : Design technology: Design technology is the manner in which we convert our concept desired system into an implementation. The three main design technologies are 1. Compilation/Synthesis ... general purpose processors and A Gate-level Netlist for special-purpose processors.

Show More

168 views 1 answer







Explain data transfer mechanism in I2C protocol. Compare it with CAN and USB protocol based on bit rate and area of applications.
Last Answer : I2C (Inter-Integrated Circuit): I2C stands for Inter-Integrated Circuit. I2C is a serial protocol. It was developed by Philips Semiconductor. I2C bus have two communication lines. One is serial data ( ... Mbps this is used for lower speed devices. Using USB we can connect upto 127 devices.

Show More

183 views 1 answer







Explain Keypad controller.
Last Answer : Keypad Controller: It's a device which interfaces between the computer and keyboard. That is a input device and used for transfer the data to connected device.

Show More

305 views 2 answers








Last Answer : UART takes parallel data and transmits serially and UART receives serial data and converts to parallel.A simple UART may possess1.Some configuration registers and2.Two independently operating processors, one ... must write data to the transmit register and/or read data from the received register.

Show More

164 views 1 answer






Show More⇦ PreviousNext ⇨