Sei sulla pagina 1di 3

1.

The return address from the interrupt-service routine is stored on the


a) System heap
b) Processor register
c) Processor stack
d) Memory

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.

3. A single Interrupt line can be used to service n different devices?


a) True
b) False
Answer: a

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.

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
Answer: d

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.

8._____ is/are types of exceptions.


a) Trap
b) Interrupt
c) System calls
d) All of the mentioned
Answer: d

9. The program used to find out errors is called


a) Debugger
b) Compiler
c) Assembler
d) Scanner
Answer: a
Explanation: Debugger is a program used to detect and correct errors in the program.

10. The different modes of operation of a computer are


a) User and System mode
b) User and Supervisor mode
c) Supervisor and Trace mode
d) Supervisor, User and Trace mode
Answer: b
Explanation: The user programs are in the user mode and the system crucial programs are in the
supervisor mode.
NEW HORIZON COLLEGE OF ENGINEERING
AUTONOMOUS COLLEGE AFFILIATED TO VTU
ACCREDIATED BY NAAC WITH 'A' GRADE AND NBA
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
QUIZ – 2
Faculty :K.Pramilarani Course : Computer Organization Course Code :10CSE45

1. The return address from the interrupt-service routine is stored on the


a) System heap
b) Processor register
c) Processor stack
d) Memory
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
3. A single Interrupt line can be used to service n different devices?
a) True b) False

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

10. The different modes of operation of a computer are


a) User and System mode
b) User and Supervisor mode
c) Supervisor and Trace mode
d) Supervisor, User and Trace mode

Potrebbero piacerti anche