Interrupt
Question 1 |
In a vectored interrupt
the branch address is assigned to a fixed location in memory | |
the interrupt source supplies the branch information to the processor through an interrupt vector | |
the branch address is obtained from a register in the processor | |
none of the above |
Question 1 Explanation:
A vectored interrupt is a processing technique in which the interrupting device directs the processor to the appropriate interrupt service routine vector.
Question 2 |
For the daisy chain scheme of connecting I/O devices, which of the following statements is true?
It gives non-uniform priority to various devices. | |
It gives uniform priority to all devices | |
It is only useful for connecting slow devices to a processor device. | |
It requires a separate interrupt pin on the processor for each device. |
Question 2 Explanation:
Daisy chaining technique tells the processor in which order the interrupt should be handle by providing priority devices.
→ In this all devices connected serially.
→ High priority devices placed first, followed by low priority devices.
→ In this all devices connected serially.
→ High priority devices placed first, followed by low priority devices.
Question 3 |
When an interrupt occurs, an operating system
ignores the interrupt | |
always changes state of interrupted process after processing the interrupt | |
always resumes execution of interrupted process after processing the interrupt
| |
may change state of interrupted process to 'blocked’ and schedule another process
|
Question 3 Explanation:
Option A: Based on the priority.
Option B: Not always.
Option C: Not always. If some high priority interrupt comes during execution of current interrupt then it fails.
Option D: It is True always.
Option B: Not always.
Option C: Not always. If some high priority interrupt comes during execution of current interrupt then it fails.
Option D: It is True always.
Question 4 |
Which of the following devices should get higher priority in assigning interrupts?
Hard disk | |
Printer | |
Keyboard | |
Floppy disk |
Question 4 Explanation:
Hard disk has the higher priority in assigning interrupts.