Questions: Working Set Model and Thrashing

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A system has 1000 physical frames. Five processes are running, and their working sets require 150, 200, 250, 180, and 300 frames respectively. The OS tries to keep all five running. What happens?

AThe system runs efficiently — 1000 frames is close enough to the total demand of 1080 frames
BThe system enters thrashing because total working set demand (1080 frames) exceeds available physical memory (1000 frames)
CThe OS automatically compresses the largest working sets to fit within 1000 frames
DPage fault rates increase moderately but performance stays acceptable with a good replacement algorithm
Question 2 Multiple Choice

The OS detects thrashing. Which action best addresses the root cause according to the working set model?

ASwitch to LRU page replacement to better approximate the working set
BIncrease the page size so fewer frames are needed to hold the same data
CSuspend one or more processes entirely to reduce total working set demand below available physical memory
DIncrease the working set window Δ so each process has a larger, more stable resident set
Question 3 True / False

Thrashing can be solved by using a more sophisticated page replacement algorithm that keeps the most important pages in memory.

TTrue
FFalse
Question 4 True / False

Temporal locality — the tendency for programs to reuse recently accessed pages — is the property that makes the working set concept useful as a predictor of future page demand.

TTrue
FFalse
Question 5 Short Answer

Why does CPU utilization paradoxically drop toward zero during thrashing, even though the system appears fully loaded and active?

Think about your answer, then reveal below.