Valeo Interview Question

What are different types of interrupts?

Interview Answers

Anonymous

May 31, 2015

External &Internal Interrupt

2

Anonymous

Dec 12, 2015

1- External Interrupts: These types of interrupts generally come from external input / output devices which are connected externally to the processor. They are generally independent and oblivious of any programming that is currently running on the processor. 2- Internal Interrupts: They are also known as traps and their causes could be due to some illegal operation or the erroneous use of data. Instead of being triggered by an external event they are usually triggered due to any exception that has been caused by the program itself. Some of the causes of these types of interrupts can be due to attempting a division by zero or an invalid opcode etc. 3- Software interrupts: These types if interrupts can occur only during the execution of an instruction. They can be used by a programmer to cause interrupts if need be. The primary purpose of such interrupts is to switch from user mode to supervisor mode.

2

Anonymous

Feb 21, 2012

Cyclic and Eventual. (this answer is not the best, because it describes when an interrupt occurs. It should be that there are software interrupts and hardware interrupts).

Anonymous

Jan 28, 2015

software interrupts hardware interrupts

5