1.

Which task method follows a currently running task to be stopped by a higher priority task?(a) scheduling algorithm(b) time slice(c) cooperative multitasking(d) pre-emptionThe question was posed to me during a job interview.I'd like to ask this question from Task Swapping Methods in portion Real Time Operating systems of Embedded Systems

Answer»

The CORRECT option is (d) pre-emption

To explain: The pre-emption is an alternative METHOD of the time slice where the currently RUNNING task can be stopped or PREEMPTED or switched out by a higher priority ACTIVE task.



Discussion

No Comment Found

Related InterviewSolutions