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 interrupt caused by the condition like I/O completion and device malfunction occuring within the I/O devices In the light of the above statements, choose the correct answer from the options given below.
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 only the OS can perform I/O. The reason is true: I/O interrupts are raised by conditions such as I/O completion or device malfunction.
Note: Many texts state that I/O protection relies on privileged instructions, which trap when executed in user mode; the official key nevertheless treats the assertion as false.
More System Software and Operating System questions
- Consider the following statements: S1: LRU page replacement algorithm suffers from the belady's anomaly S2: Shortest remaining time first s…
- Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R . Assertion A: A process involves a li…
- Given below are two statements: Which of the following statement/s is/are correct with respect to virtual memory Statement I: Address trans…
- Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R . A virtual memory system uses first-i…
- Consider three processes: P0 (arrival 0 ms, burst 7 ms), P1 (arrival 1 ms, burst 3 ms), P2 (arrival 2 ms, burst 7 ms). Pre-emptive shortest…
- Match List I with List II. List I: A. RAID level 2, B. RAID level 4, C. RAID level 5, D. RAID level 3. List II: I. Bit-interleaved parity,…