Sources of Interrupt MCQ Quiz – Objective Question with Answer for Sources of Interrupt in Embedded System

1. Which interrupts are generated by the on-chip peripherals?

A. internal
B. external
C. software
D. hardware

Answer: A

The internal interrupts are generated by the serial and parallel ports which are on-chip peripherals.


2. Which of the following is the common method for connecting the peripheral to the processor?

A. internal interrupts
B. external interrupts
C. software
D. exception

Answer: B

The common method for connecting the peripheral to the processor is the external interrupts. The external interrupts are provided through the external pins which are connected to the peripherals.


3. Which interrupt can make a change in the processor’s mode?

A. internal interrupt
B. external interrupts
C. exceptions
D. software mode

Answer: C

An exception is an event that changes the software flow to process the event. It includes both internal and external interrupts which cause the processor to change to a service routine.


4. How many exceptions does an MC68000 have?

A. 256
B. 128
C. 90
D. 70

Answer: C

The MC68000 has 256 table entries that describe 90 exceptions.


5. Which interrupts allows a protected state?

A. internal interrupt
B. external interrupt
C. software interrupt
D. both internal and external interrupts

Answer: C

The software interrupt can change the processor into a protected state by changing the program flow.


6. How a software interrupt is created?

A. instruction set
B. sequential code
C. concurrent code
D. porting

Answer: A

The software interrupts include a set of instructions for handling interrupts. The instruction set allows a currently executing program to change its flow.


7. What does SWI stand for?

A. standard interrupt instruction
B. sequential interrupt instruction
C. software interrupts instruction
D. system interrupt instruction

Answer: C

The instruction set of software interrupts is provided by the special instruction set. One such is the SWI which is commonly used in Z80.


8. Which of the following use SWI as an interrupt mechanism?

A. PowerPC
B. MC68000
C. Z80

Answer: C

The PowerPC and MC68000 use the TRAP instruction set for accessing software interrupt. IBM PC uses 8086 NMI. Z80 uses SWI for accessing software interrupts.


9. Which of the following supplies additional data to the software interrupt?

A. internal interrupt
B. external interrupt
C. software interrupt
D. nmi

Answer: C

For using the software interrupt more effectively, additional data are used, which specifies the type of the request, and data parameters are passed to the specific ISR. This additional data are offered by certain registers.


10. Which software interrupt is used in MC68000?

A. Internal interrupt

Answer: B

The MC68000 uses a software interrupt mechanism for accessing interrupts from the peripheral in which the instruction is created using the TRAP mechanism.

Scroll to Top