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
- Consider the following statements: S1: The LRU page-replacement algorithm suffers from Belady's anomaly. S2: Shortest-remaining-time-first…
- Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R. Assertion A: A process invokes a libr…
- With respect to virtual memory: Statement I: Address translation is performed for every logical address used during the execution of a prog…
- A virtual memory system uses the first-in first-out page replacement policy and allocates a fixed number of frames to a process. Assertion…
- Consider the following arrival and burst times for three processes P0, P1, P2. The pre-emptive shortest job first algorithm is used, and sc…
- Match List I with List IIList I List II A. RAID level 2 I. Bit interleaved parity B. RAID level 4 II. Block interleaved distributed parity…