CS FundamentalsModerateTCS NQT · Infosys pattern
A process of size 13,000 bytes is loaded with paging, page size 4,096 bytes. How much internal fragmentation is there in its last page?
- A. 3,384 bytes
- B. 712 bytes
- C. 0 bytes, because paging has no internal fragmentation
- D. 1,096 bytes
Correct answer: A. 3,384 bytes
It needs ⌈13000/4096⌉ = 4 pages = 16,384 bytes, so 16,384 − 13,000 = 3,384 bytes are wasted in the last page. Paging removes external fragmentation, not internal.
More Operating Systems questions
- Processes: P1 (arrival 0, burst 7), P2 (arrival 2, burst 4), P3 (arrival 4, burst 1), P4 (arrival 5, burst 4) (ms). Using non-preemptive…
- A child process has terminated, but its parent has not yet called wait() to read its exit status. The child is now a:
- In a many-to-one thread model (many user-level threads mapped to one kernel thread), what happens when one thread makes a blocking system…
- Which disadvantage applies to linked file allocation but NOT to indexed allocation?
- A disk has cylinders 0–199 and the head is at cylinder 72. The request queue, in arrival order, is 110, 25, 160, 47, 130, 8, 95, 185. What…
- A disk spins at 7,200 RPM. What is its average rotational latency?