edited by
545 views

1 Answer

Best answer
2 votes
2 votes

Interrupts are mainly 3 types

  • External Interrupt
  • Hardware Interrupt
  • Software Interrupt

External Interrupt come from I/O devices or from any other external source.Examples of External Interrupts are power failure, I/O device requesting transfer of data, I/O device finished transfer of data etc.

Internal interrupts arise from illegal or erroneous use of an instruction or data. Internal Interrupts are also called traps. Examples of Internal interrupts are stack overflow, register overflow, attempt to divide by zero etc.

Software Interrupt is initiated by executing an instruction. Software Interrupt is a special call instruction that behaves like an interrupt rather than an subroutine call. It can be used by a programmer to initiate an interrupt procedure at any desired point in the program. A software interrupt often occurs when an application software terminates or when it requests the operating system for some service.

edited by

Related questions

0 votes
0 votes
2 answers
1
gatecse asked Mar 2, 2018
756 views
Bluetooth uses ____ method in physical layer to avoid interference from other devices or other networksFHSSFDSSTDSNone of the above
0 votes
0 votes
1 answer
2
gatecse asked Mar 2, 2018
386 views
In which of the following search agent operates by interleaving computation and action?Offline searchOnline searchBreadth first searchDepth first search
0 votes
0 votes
1 answer
3
gatecse asked Mar 2, 2018
370 views
Which of the following deals with the precise model where accurate solutions are achieved quickly?Soft computingMobile computingHard computingNone of the above
0 votes
0 votes
1 answer
4
gatecse asked Mar 2, 2018
501 views
Supervised learning and unsupervised learning are two board category ofData warehouseDBMSNeural NetworkNone of the above