Unit5 - Subjective Questions

CSE316 • Practice Questions with Detailed Answers

1

Differentiate between Logical Address Space and Physical Address Space. Explain the role of the Memory Management Unit (MMU) in this context.

2

Explain the concept of Swapping in memory management with a neat diagram.

3

Discuss the problem of Fragmentation. Distinguish between Internal and External fragmentation.

4

Describe the Dynamic Storage Allocation strategies: First-fit, Best-fit, and Worst-fit.

5

Explain the basic method of Paging hardware. Define Frames, Pages, and the Page Table.

6

Derive the Physical Address calculation in paging and explain the role of the Translation Look-aside Buffer (TLB) in improving performance.

7

Explain Hierarchical Paging (Multi-level Paging). Why is it necessary for large logical address spaces?

8

What is Segmentation? How does it differ from Paging in terms of the user's view of memory?

9

Describe the architecture of Segmentation with Paging (e.g., Intel Pentium or MULTICS). What are the advantages of this hybrid approach?

10

Define Virtual Memory. What are the major benefits of using virtual memory in an operating system?

11

Explain the concept of Demand Paging. Outline the steps involved in handling a page fault.

12

What is Belady’s Anomaly? Explain it in the context of the FIFO page replacement algorithm.

13

Compare and contrast FIFO, Optimal, and LRU page replacement algorithms.

14

What are Overlays? How do they relate to swapping, and why are they less common in modern systems?

15

Explain the concept of Thrashing. What causes it, and how can the Working Set Model help prevent it?

16

What are Shared Pages in a paging system? How are they implemented?

17

Describe the Page Interrupt Fault (Page Fault). What hardware support is required to handle it?

18

Explain the concept of Protection in a Paging system. How is it enforced?

19

Differentiate between Paging and Segmentation regarding the problem of Fragmentation.

20

Calculate the Effective Access Time (EAT) for a system with the following parameters: Memory access time = 100ns, TLB access time = 20ns, and TLB hit ratio = 80%.