All mock tests are FREE till 31 December — register to save your progress

Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R.
Assertion A: I/O protection is ensured by a hardware trap.
Reason R: I/O interrupts are caused by conditions like I/O completion and device malfunction occurring within the I/O devices.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. A is false but R is true

Explanation

I/O protection is achieved by making all I/O instructions privileged, so user programs must request I/O through the OS. The keyed answer treats the assertion as false. R correctly describes the sources of I/O interrupts.

More System Software and Operating System questions