Interrupt Introduction MCQ Quiz – Objective Question with Answer for Interrupt Introduction

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

A. PowerPC
B. MC68000
C. Z80
D. IBM PC

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.

 

22. 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.

 

23. Which software interrupt is used in MC68000?

A. Internal interrupt
B. TRAP
C. SWI
D. NMI

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.

 

24. Which of the following are accessible by the ISR in the software interrupt mechanism?

A. register
B. interrupt
C. nmi
D. memory

Answer: A

The additional data are offered by certain registers and these additional data are used to specify the type of the data parameter and the request with the specific ISR when running in the software interrupt mode.

 

25. What allows the data protection in the software interrupt mechanism?

A. Different mode
B. Same mode
C. SWI
D. TRAP

Answer: A

The switching between user mode and supervisor mode provides protection for the processor, that is, the different modes in the software interrupt allow the memory and the associated code and data to be protected from each other.

 

26. What does NMI stand for?

A. non-machine interrupt
B. non-maskable interrupt
C. non-massive interrupt
D. non-memory interrupt

Answer: B

The NMI stands for the non-maskable interrupt in which the external interrupts cannot be masked out.

 

27. Which NMI is used in the IBM PC?

A. SWI
B. TRAP
C. 80×86 NMI
D. Maskable interrupt

Answer: C

The most commonly used non-maskable interrupt is the 80×86 NMI, which is implemented in the IBM PC.

 

28. Which can be used to pass the status information to the calling software in the software interrupt mechanism?

A. register
B. memory
C. flag
D. nmi

Answer: A

In order to use the software interrupt more effectively, the additional data are used to specify the type of the request, and data parameters are passed to the specific ISR. This additional data are offered by certain registers. These registers are accessible by the ISR and they can also be used to pass the status information back to the calling software.

 

29. Which of the following uses clock edge to generate an interrupt?

A. edge-triggered
B. level-triggered
C. software interrupt
D. nmi

Answer: A

In the edge-triggered interrupt, the clock edge is used to generate an interrupt. The transition is from a logical low to high or vice versa.

 

30. In which interrupt, the trigger is dependent on the logic level?

A. edge-triggered
B. level-triggered
C. software interrupt
D. nmi

Answer: B

In the level-triggered interrupt, the trigger is completely dependent on the logic level. The processors may require the level to be in a certain clock width so that the shorter pulses which are shorter than the minimum pulse width are ignored.

Scroll to Top