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

write a C program : To find out the number of identical words in two files . the file name should be taken as command line argument .

1 Answers   Subex,


m=++i&&++j(||)k++ printf("%d"i,j,k,m)

1 Answers   ABC,


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

0 Answers  


In which mode we open the file for read,write and append also in c ? a)W b)w+ c)r+ d)a

2 Answers   BitWise,


write a c program to add two integer numbers without using arithmetic operator +

13 Answers   Value Labs,






What is bin sh c?

0 Answers  


p*=(++q)++*--p when p=q=1 while(q<=6)

0 Answers   KINPOE,


please can some one guide me, to the answer Write a C program to enter 15 numbers as an input from the keyboard and program will find and print odd numbers and their average. i have studied while and do while loop for loop if and else if switch

2 Answers  


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

0 Answers  


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a<b,printb.find the sum digits of that number & then print.if a==b multiply 10 with a & add 20 with b store in c and then print

0 Answers  


Program to find the value of e raised to power x using while loop

5 Answers   IBM, N Tech,


How to use c/c++ code in JAVA

10 Answers   CDAC, IBM, Satyam, Scope International,


Categories