COMPUTER SOFTWARE
OPERATING SYSTEMS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Interupt
|
|
Poll
|
|
Cache
|
|
Defrag
|
Detailed explanation-1: -An interrupt is an event that alters the sequence in which the processor executes instructions. An interrupt might be planned (specifically requested by the currently running program) or unplanned (caused by an event that might or might not be related to the currently running program).
Detailed explanation-2: -What is an interrupt? An interrupt is a signal emitted by a device attached to a computer or from a program within the computer. It requires the operating system (OS) to stop and figure out what to do next. An interrupt temporarily stops or terminates a service or a current process.
Detailed explanation-3: -The timer interrupt handler runs the OS scheduler. If the process that was just interrupted has used up its time quantum, and there is some other runnable process, then the scheduler “returns” to that other process. (Later, when the timer interrupts some other process, the scheduler will “return” to this process).
Detailed explanation-4: -Interrupts are asynchronous signals directed to the CPU, requesting it to stop its current execution and service what the interrupt is asking for. Interrupts can be either external to the CPU and can be raised by peripherals like UART, SPI slave devices, USB, memory blocks etc.