101

In demand paging, every page of a process must be loaded into RAM before the process can begin executing.?

a True
b False
c -
d -
Correct: (B) False
Explanation — Demand paging permits a process to start with only the necessary pages in memory and bring in other pages as required.
102

A Round Robin scheduler uses a time quantum of 5 ms. A process uses its full 5 ms without finishing or requesting I/O. What normally happens next??

a It returns to the ready queue
b It becomes blocked until disk I/O completes
c It keeps the CPU until it finishes
d It is automatically terminated
Correct: (A) It returns to the ready queue
103

A system uses a page size of 1,024 bytes. Using zero-based byte addresses, which page contains logical address 3,100??

a Page 1
b Page 2
c Page 3
d Page 4
Correct: (C) Page 3
Explanation — Page number = floor(3,100 ÷ 1,024) = 3, so the address is in page 3.
104

In a system using non-preemptive priority scheduling, a process with lower priority keeps waiting while higher-priority processes are selected. Which technique can help reduce this problem??

a Deemand Paging
b Spooling
c Aging
d Compaction
Correct: (C) Aging
105

A segmentation table gives a segment base address of 4,000 and a segment limit of 600 bytes. If the offset is 450 and the limit is the segment's size, what physical address is produced??

a 4,600
b 4450
c Invalid Address
d 450
Correct: (B) 4450
Explanation — The offset is within the 600-byte limit, so the physical address is base + offset = 4,000 + 450 = 4,450.
106

Process P1 holds resource R1 and requests R2. Process P2 holds R2 and requests R1. Assume each resource can be held by only one process at a time. Which conclusion is most accurate??

a Paging has caused the resource dependency
b The cycle guarantees that both processes will finish soon
c The processes are merely waiting for CPU time
d A circular wait exists and the processes are deadlocked
Correct: (D) A circular wait exists and the processes are deadlocked