Top 550+ Solved Operating System (OS) MCQ Questions Answer
Q. The hardware mechanism that allows a device to notify the CPU is called
a. polling
b. interrupt
c. driver
d. controlling
Q. The determines the cause of the interrupt, performs the necessary processing and executes a return from the interrupt instruction to return the CPU to the execution state prior to the interrupt.
a. interrupt request line
b. device driver
c. interrupt handler
d. all of the mentioned
Q. In general the two interrupt request lines are
a. maskable & non maskable interrupts
b. blocked & non maskable interrupts
c. maskable & blocked interrupts
d. none of the mentioned
Q. The are reserved for events such as unrecoverable memory errors.
a. non maskable interrupts
b. blocked interrupts
c. maskable interrupts
d. none of the mentioned
Q. The can be turned off by the CPU before the execution of critical instruction sequences that must not be interrupted.
a. nonmaskable interrupt
b. blocked interrupt
c. maskable interrupt
d. none of the mentioned
Q. The is used by device controllers to request service.
a. nonmaskable interrupt
b. blocked interrupt
c. maskable interrupt
d. none of the mentioned
Q. The interrupt vector contains
a. the interrupts
b. the memory addresses of specialized interrupt handlers
c. the identifiers of interrupts
d. the device addresses
Q. Division by zero, accessing a protected or non existent memory address, or attempting to execute a privileged instruction from user mode are all categorized as
a. errors
b. exceptions
c. interrupt handlers
d. all of the mentioned
Q. For large data transfers, is used.
a. dma
b. programmed i/o
c. controller register
d. none of the mentioned
Q. A character stream device transfers
a. bytes one by one
b. block of bytes as a unit
c. with unpredictable response times
d. none of the mentioned
Q. A block device transfers
a. bytes one by one
b. block of bytes as a unit
c. with unpredictable response times
d. none of the mentioned
Q. What is a dedicated device?
a. opposite to a sharable device
b. same as a sharable device
c. can be used concurrently by several processes
d. none of the mentioned
Q. A keyboard is an example of a device that is accessed through a interface.
a. block stream
b. set of blocks
c. character stream
d. none of the mentioned
Q. In polling
a. busy – wait cycles wait for i/o from device
b. interrupt handler receives interrupts
c. interrupt-request line is triggered by i/o device
d. all of the mentioned
Q. A non blocking system call
a. halts the execution of the application for an extended time
b. does not halt the execution of the application
c. does not block the interrupts
d. none of the mentioned