Consider the following two lists : Which of the following is correct match ?

2022

Consider the following two lists :

image.png

Which of the following is correct match ?

  1. A.

    (A)-(I), (B)-(II), (C)-(III), (D)-(IV)

  2. B.

    (A)-(II), (B)-(III), (C)-(I), (D)-(IV)

  3. C.

    (A)-(I), (B)-(II), (C)-(IV), (D)-(III)

  4. D.

    (A)-(II), (B)-(III), (C)-(IV), (D)-(I)

Attempted by 240 students.

Show answer & explanation

Correct answer: D

Answer: Stack overflow → Internal interrupt; Timer → External interrupt; Invalid opcode → Machine check interrupt; Superior call → Software interrupt.

  • Stack overflow is an internal interrupt (exception) because it arises from erroneous program execution (e.g., excessive recursion or stack growth) and is handled by the processor as an exception.

  • Timer is an external interrupt since it is generated asynchronously by a hardware timer device outside the CPU.

  • Invalid opcode is detected by the CPU during instruction decode/execution and is treated as a machine-level fault in many architectures; such faults are classed as machine check interrupts.

  • Superior (supervisor) call is a software-generated interrupt used by a program to request privileged OS services, so it is a software interrupt.

Therefore the correct classification is: Stack overflow → Internal interrupt; Timer → External interrupt; Invalid opcode → Machine check interrupt; Superior call → Software interrupt.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor