UGC NET CS 2023System Software and Operating System › Memory ManagementVerified
UGC NET CS 2023 PYQ: Consider the following statements: S1: LRU page replacement algorithm suffers from the belady's anomaly S2:…
Consider the following statements:
S1: LRU page replacement algorithm suffers from the belady's anomaly
S2: Shortest remaining time first scheduling may cause starvations
S3: Stack is shared by all threads in a process
- A$\mathrm{S} 1 \mathrm{~S} 2$ and $\mathrm{S} 3$ are true
- B$\mathrm{S} 1, \mathrm{~S} 3$ false and $\mathrm{S} 2$ is trueCorrect answer
- C$\mathrm{S} 1, \mathrm{~S} 2$ are false and $\mathrm{S} 3$ is true
- D$\text{S1, S2}$ and $\mathrm{S} 3$ are false
Answer
(B) $\mathrm{S} 1, \mathrm{~S} 3$ false and $\mathrm{S} 2$ is true
Approach
Judge each statement against the standard property: stack algorithms, starvation in SRTF, and per-thread stacks.
Reviewed by UGC IQ Editorial Team.