Why Modern OS are interrupt driven?Give an example
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is FIFO?
What is wild pointer in c?
void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }
The C language terminator is a.semicolon b.colon c.period d.exclamation mark
Why doesn't C have nested functions?
What is the difference between macros and inline functions?
What is nested structure with example?
logic for generating all the combinations of the any number of given letters. ex::::::::: if a,b,c,d are given the o/p should be abcd,dcba,dbac,bcad,................ 4*3*2*1 combinations............
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
Given an array A[n+m] of n+m numbers, where A[1] ... A[n] is sorted and A[n+1] ... A[n+m] is sorted. Design a linear time algorithm to obtain A[1...n+m] sorted using only O(1) extra space. Time Complexity of your algorithm should be O(n) and Space Complexity O(1).
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
with out using main how to execute the program?