Why Modern OS are interrupt driven?Give an example

Answers were Sorted based on User's Feedback



Why Modern OS are interrupt driven?Give an example..

Answer / 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

Why Modern OS are interrupt driven?Give an example..

Answer / imrana

os is interrupt driven software this means that if there is no interrupt then the system will be die

Is This Answer Correct ?    10 Yes 2 No

Why Modern OS are interrupt driven?Give an example..

Answer / banavathvishnu

There are 3 types of OS
1. Interrupt driven
2. Polling
3. Event driven

In Interrupt driven OS CPU clock is handed over to
Interrupt only when the interrupt is occured.

In Polling, CPU clock should wait until an event is occured
is very expencise wrt to CPU clock.

Is This Answer Correct ?    16 Yes 19 No

Post New Answer

More C Interview Questions

What is a nested loop?

0 Answers  


How can I pad a string to a known length?

0 Answers  


Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return - 1. The function should not make use of any C library function calls.

3 Answers   Google, Infosys, JTL, OpenFeel,


Explain pointers in c programming?

0 Answers  


hi send me sample aptitude papers of cts?

0 Answers  






Explain how can you restore a redirected standard stream?

0 Answers  


what is dangling pointer?

1 Answers   LG Soft,


If we have an array of Interger values, find out a sub array which has a maximum value of the array and start and end positions of the array..The sub array must be contiguious. Take the start add to be 4000. For Ex if we have an array arr[] = {-1,-2,-5,9,4,3,-6,8,7,6,5,-3} here the sub array of max would be {8,7,6,5} coz the sum of max contiguous array is 8+7+6+5 = 26.The start and end position is 4014(8) and 4020(5).

5 Answers   Microsoft, Motorola,


What is the difference b/w Structure & Class?

3 Answers  


write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.

2 Answers  


write a program that will print %d in the output screen??

9 Answers   Infosys,


What is dynamic memory allocation?

0 Answers  


Categories