1.

Which of the following can periodically trigger the context switch?(a) software interrupt(b) hardware interrupt(c) peripheral(d) memoryI had been asked this question in an internship interview.The above asked question is from Multitasking Operating Systems in portion Real Time Operating systems of Embedded Systems

Answer»

The correct choice is (B) hardware interrupt

Easiest explanation: The multitasking operating systems are associated with the multitasking kernel which controls the time slicing mechanism. The time period required for each task for execution before it is stopped and replaced during a context SWITCH is known as the time slice. These are periodically TRIGGERED by a hardware interrupt from the system timer.



Discussion

No Comment Found

Related InterviewSolutions