Why Modern OS are interrupt driven?Give an example
Answer Posted / shankar
An interrupt driven device sends an interrupt request to the computer, which is then serviced by Internet service routine(ISR).
To effectively manage many processes the core of operating system makes use of what is known as interrupts.
This is a signal to a processor indicating that an asynchronous event has occurred. Here the current sequence of instructions is temporarily suspended, and a sequence appropriate to the interruption is started in its place. Its purpose is to alert the operating system when any special event occurs so that it can suspend its current activity and deal appropriately with the new situation
Usually an interrupt gives a signal from a device attached to a computer or from a program within the computer that causes the main program that operates the computer (the operating system) to stop and figure out what to do next. Almost all personal (or larger) computers today are interrupt-driven - that is, they start down the list of computer instructions in one program (perhaps an application such as a word processor) and keep running the instructions until either (A) they can't go any further or (B) an interrupt signal is sensed. After the interrupt signal is sensed, the computer either resumes running the program it was running or begins running another program
| Is This Answer Correct ? | 21 Yes | 9 No |
Post New Answer View All Answers
What is function pointer c?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
What are the similarities between c and c++?
What is line in c preprocessor?
Are there any problems with performing mathematical operations on different variable types?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
What are the different file extensions involved when programming in C?
Explain the Difference between the New and Malloc keyword.
Do you know pointer in c?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
What’s the special use of UNIONS?
Why we use conio h in c?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What is difference between array and structure in c?
What does #pragma once mean?