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 interrupt provides system clock in the context switching?
AA. Software interrupt
BB. Hardware interrupt
CC. Peripheral
DD. Memory
Correct Answer:
B. B. Hardware interrupt
Explanation:
The multitasking operating systems deals with the multitasking kernel which controls the time slicing mechanism and 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 which are periodically triggered by a hardware interrupt from the system timer. This hardware interrupt provides the system clock in which several interrupts are executed and counted before a context switch is performed.