COMPUTER SCIENCE AND ENGINEERING
OPERATING SYSTEM
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: -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 have two types: Hardware interrupt and Software interrupt. The hardware interrupt occurrs by the interrupt request signal from peripheral circuits. On the other hand, the software interrupt occurrs by executing a dedicated instruction.