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


Please Help Members By Posting Answers For Below Questions

will u please send me the placement papers to my mail???????????????????

1376


Differentiate between functions getch() and getche().

631


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

1635


What does %d do in c?

554


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

1850






What is the use of parallelize in spark?

582


Explain how can I prevent another program from modifying part of a file that I am modifying?

650


How is = symbol different from == symbol in c programming?

624


Describe the difference between = and == symbols in c programming?

788


What is the value of c?

585


How are pointers declared in c?

609


What is the description for syntax errors?

628


What is the difference between struct and typedef struct in c?

671


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

1547


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

661