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 ?    16 Yes 8 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 ?    8 Yes 1 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 ?    15 Yes 17 No



Post New Answer



More C Interview Questions

What is diffrance between declaration and defination of a variable or function

4 Answers  


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

0 Answers  


CopyBits(x,p,n,y) copy n LSBs from y to x starting LSB at 'p'th position.

9 Answers   Adobe,


what is the difference between char * const and const char *?

2 Answers   TCS,


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

0 Answers   TCS,






i need all types of question paper releted to "c" and other language.

0 Answers  


Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….

1 Answers  


Efficient data structure for store/search list of 1000 records a)array b)double linked list c)circular queue d)hash table

3 Answers   Value Labs,


typedef struct { int i:8; char c:9; float f:20; }st_temp; int getdata(st_temp *stptr) { stptr->i = 99; return stptr->i; } main() { st_temp local; int i; local.c = 'v'; local.i = 9; local.f = 23.65; printf(" %d %c %f",local.i,local.c,local.f); i = getdata(&local); printf("\n %d",i); getch(); } why there there is an error during compiling the above program?

1 Answers  


what is differnence b/w macro & functions

1 Answers  


#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }

3 Answers   SRG,


Write a program that takes three variables(a,b,c) in as separate parameters and rotates the values stored so that value a goes to b,b,to c and c to a

7 Answers  






Categories