Designing and Testing a Basic Interrupt Handling Circuit

Post Test

Q1. What happens to the program counter (PC) during an interrupt?

a) It is set to zero

b) It is saved and then points to the ISR

c) It is permanently overwritten

d) It continues executing the main program


Q2. Which step ensures that the system can return to the main program after handling an interrupt?

a) Saving and restoring the context

b) Acknowledgment of the interrupt

c) Execution of the ISR

d) Disabling all interrupts


Q3. What is the role of the interrupt controller in the circuit?

a) It executes the ISR directly

b) It disables low-priority interrupts

c) It generates interrupts automatically

d) It prioritizes and forwards interrupts to the processor


Q4. Which of the following indicates a correctly handled interrupt?

a) The ISR modifies the context permanently

b) The system halts after the ISR execution

c) The program resumes from where it was interrupted

d) Multiple ISRs run simultaneously without context saving


Q5. During the experiment, if the system does not respond to an interrupt, what is the most likely cause?

a) The ISR is running too quickly

b) The interrupt request line is not enabled

c) The main program is executing normally

d) The context restoration is skipped


Lab contributed by: BTKIT, Dwarahat,Uttarakhand