MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Computer Programming MCQs
Multitasking Operating System
Q
Which of the following can periodically trigger the context switch?
AA. Software interrupt
BB. Hardware interrupt
CC. Peripheral
DD. Memory
Correct Answer:
B. B. Hardware interrupt
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.