CS FundamentalsHardGATE CS
Assertion (A): Increasing the number of frames given to a process under FIFO can increase its page faults. Reason (R): FIFO does not satisfy the inclusion (stack) property.
- A. Both A and R are true, but R is not the correct explanation of A
- B. Both A and R are true, and R is the correct explanation of A
- C. A is true but R is false
- D. A is false but R is true
Correct answer: B. Both A and R are true, and R is the correct explanation of A
Belady's anomaly occurs exactly because FIFO's resident set with n + 1 frames need not contain its resident set with n frames.
More Operating Systems questions
- Assertion (A): A system in an unsafe state will definitely deadlock. Reason (R): In an unsafe state no sequence exists in which all…
- Assertion (A): Context switching between threads of the same process is cheaper than between processes. Reason (R): Threads of the same…
- Which pair correctly matches each mechanism with the problem it solves? P. Aging Q. Priority inheritance R. Copy-on-write S. Working-set…
- Match the file-system structure with what it is used for: (1) superblock, (2) inode bitmap, (3) journal, (4) directory entry. (a) maps a…
- Which sequence of metadata updates for appending a block to a file is SAFEST to write to disk without a journal, so that a crash leaves at…
- An application calls fsync() after writing a new file and then renames it into place. Why must it also fsync the containing directory on…