Why is double buffering used in I/O?
Correct answer D. So a device can fill one buffer while the process empties the other, overlapping I/O with processing
Subject / 929 questions
Page 18 of Programming multiple-choice questions with answers. Tap an option to check yourself.
Page 18 of 47
Correct answer D. So a device can fill one buffer while the process empties the other, overlapping I/O with processing
Correct answer C. systemd
Correct answer D. Journaling for recovery plus file permissions through access control lists
Correct answer B. P1, P0, P2, P3
Correct answer C. (7, 4, 3)
Correct answer B. 10
Correct answer A. A safe state is never deadlocked, but an unsafe state may lead to deadlock without being one yet
Correct answer B. Circular wait
Correct answer C. A wait-for graph obtained by removing resource nodes from the resource-allocation graph
Correct answer C. Internal fragmentation in the last page of a process
Correct answer B. Compaction
Correct answer B. 250 KB
Correct answer B. 20
Correct answer C. 7596
Correct answer A. 4 MB
Correct answer A. To cache recent page-number to frame-number translations so most lookups avoid an extra memory access
Correct answer A. 120 ns
Correct answer B. 1.1 microseconds
Correct answer C. The hardware traps to the operating system with an addressing error
Correct answer D. It loads a page into memory only when that page is first referenced