• We need your support!

    We are currently struggling to cover the operational costs of Xtremepapers, as a result we might have to shut this website down. Please donate if we have helped you and help make a difference in other students' lives!
    Click here to Donate Now (View Announcement)

Computer studies ! Post your doubts here =)

Status
Not open for further replies.
Messages
971
Reaction score
532
Points
103
Most of the cases it's due to error. Correct me if I m wrong.
But interrupts don't happen all the time which is what your definition is implying. Here are some examples:

Certain commands in programming codes generate software interrupts to, for example, create a new process or request something from the OS.
A system timer could send an interrupt after a set amount of time to trigger something.
As someone mentioned above, keystrokes and mouse moves also.
Disk interrupts telling the user some data transfer has been successful.

All of the above use interrupts, but they don't cause any error. Interrupts can cause errors but not all the time (to my knowledge). I think it would be better if you didn't mention that part in your answer though because errors don't always happen in interrupts.
 
Status
Not open for further replies.
Top