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
Why we use break in c?
What is bubble sort technique in c?
What is default value of global variable in c?
What is this infamous null pointer, anyway?
In a switch statement, what will happen if a break statement is omitted?
Where define directive used?
Explain output of printf("Hello World"-'A'+'B'); ?
How do you print only part of a string?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
What is size of union in c?
Write a program to print “hello world” without using semicolon?
Explain why C language is procedural?
FILE PROGRAMMING
what is a function method?give example?
What are identifiers and keywords in c?