GATE / CS ARCHIVE

GATE CSE 1991 / QUESTION 3(xi)

False operating-system claims

Operating Systems · Other / Mixed Topics · Full GATE CSE 1991 paper

GATE 1991, Q3(xi) 2 marks · MSQ
Report issue

Other / Mixed Topics

Question 3(xi), GATE 1991: GFG asks false statements: A virtual memory limited by secondary storage; B critical sections require indivisible instructions such as test-and-set; C monitors ensure no deadlock; D LRU may thrash; E best fit prevents fragmentation. Forum omits C and misprints thrashing as hashing.
Question 3(xi), GATE 1991: GFG asks false statements: A virtual memory limited by secondary storage; B critical sections require indivisible instructions such as test-and-set; C monitors ensure no deadlock; D LRU may thrash; E best fit prevents fragmentation. Forum omits C and misprints thrashing as hashing.
Question 3(xi), GATE 1991: GFG asks false statements: A virtual memory limited by secondary storage; B critical sections require indivisible instructions such as test-and-set; C monitors ensure no deadlock; D LRU may thrash; E best fit prevents fragmentation. Forum omits C and misprints thrashing as hashing.
Tap to enlarge
Select all that apply
Answer & solution

Answer: C and E are false; B is false if it means a special atomic read-modify-write is required; A depends on the memory model (no official key was published)

Monitors enforce mutual exclusion but can still deadlock through circular waits, so C is false. Best fit may leave many tiny holes, so E is false. LRU can thrash when the working set exceeds available frames, so D is true. B needs care: Peterson-style algorithms use atomic reads/writes without test-and-set, refuting a requirement for a special read-modify-write instruction. Yet they still rely on indivisible basic accesses in the usual model, so the broader literal claim about any indivisible instruction is not refuted that way. A conventionally concerns committed backing capacity, not virtual-address-space width. The common intended false set B, C, E is conditional on those readings.

Original paper, page 4