Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Answer: c
Explanation: The Processor after servicing the interrupts as to load the address of the previous process
and this address is stored in the stack.
2. The time between the receiver of an interrupt and its service is ______
a) Interrupt delay
b) Interrupt latency
c) Cycle time
d) Switching time
Answer: b
Explanation: The delay in servicing of an interrupt happens due to the time is taken for contact switch to
take place.
4. When dealing with multiple devices interrupts, which mechanism is easy to implement?
a) Polling method
b) Vectored interrupts
c) Interrupt nesting
d) None of the mentioned
Answer: a
Explanation: In this method, the processor checks the IRQ bits of all the devices, whichever is enabled
first that device is serviced.
6. The processor indicates to the devices that it is ready to receive interrupts ________
a) By enabling the interrupt request line
b) By enabling the IRQ bits
c) By activating the interrupt acknowledge line
d) None of the mentioned
Answer: c
Explanation: When the processor activates the acknowledge line the devices send their interrupts to the
processor.
7. If during the execution of an instruction an exception is raised then
a) The instruction is executed and the exception is handled
b) The instruction is halted and the exception is handled
c) The processor completes the execution and saves the data and then handle the exception
d) None of the mentioned
Answer: b
Explanation: Since the interrupt was raised during the execution of the instruction, the instruction
cannot be executed and the exception is served immediately.
4. When dealing with multiple devices interrupts, which mechanism is easy to implement?
a) Polling method
b) Vectored interrupts
c) Interrupt nesting
d) None of the mentioned
5. The code sent by the device in vectored interrupt is _____ long.
a) upto 16 bits
b) upto 32 bits
c) upto 24 bits
d) 4-8 bits
6. The processor indicates to the devices that it is ready to receive interrupts ________
a) By enabling the interrupt request line
b) By enabling the IRQ bits
c) By activating the interrupt acknowledge line
d) None of the mentioned
7. If during the execution of an instruction an exception is raised then
a) The instruction is executed and the exception is handled
b) The instruction is halted and the exception is handled
c) The processor completes the execution and saves the data and then handle the exception
d) None of the mentioned
8._____ is/are types of exceptions.
a) Trap
b) Interrupt
c) System calls
d) All of the mentioned
9. The program used to find out errors is called
a) Debugger
b) Compiler
c) Assembler
d) Scanner