Memory Management - contiguous allocation, swapping, paging, segmentation, demand paging, page replacement, thrashing, memory-mapped files - Question Bank
1. What is the main challenge in implementing pure segmentation efficiently?
2. Which memory management technique allows sharing of memory segments between processes?
3. A system with a low degree of multiprogramming is less likely to experience:
4. What is the 'degree of multiprogramming' in the context of memory management?
5. Which of the following is a common technique to reduce the overhead of page table lookups?
6. What is the primary difference between paging and segmentation?
7. When a page with a dirty bit set to '1' is replaced, what must the operating system do?
8. What is the primary role of the 'dirty bit' (or modification bit) in a page table entry?
9. Which memory management technique allows a process to be non-contiguous in physical memory?
10. What is the main advantage of dynamic partitioning over fixed partitioning?
11. A high page fault rate can indicate:
12. What is the 'working set' of a process?
13. In the Second-Chance (Clock) page replacement algorithm, what is the role of the reference bit?
14. Which page replacement algorithm is often considered a good approximation of LRU?
15. What is the primary purpose of 'locality of reference' in relation to memory management?
16. In a segmented paging system, what is the logical address composed of?
17. If a TLB miss occurs, where does the system look for the page table entry?
18. What is a Translation Lookaside Buffer (TLB)?
19. Which of the following is a common implementation detail for paging hardware?
20. How do memory-mapped files interact with the operating system's memory management?
21. What is the primary benefit of using memory-mapped files?
22. Which of the following is a potential problem with demand paging?
23. In demand paging, when a page fault occurs, what is the operating system's responsibility?
24. Which mechanism is essential for demand paging to work efficiently?
25. What is demand paging?
26. What is a disadvantage of pure segmentation?
27. What is a key advantage of segmentation over paging?
28. In segmentation, what does a segment table typically contain?
29. What is segmentation in memory management?
30. What is a common strategy to prevent or recover from thrashing?
31. Thrashing is often caused by:
32. What is 'thrashing'?
33. What is the primary advantage of the Optimal page replacement algorithm?
34. LRU (Least Recently Used) page replacement algorithm aims to replace the page that:
35. The FIFO page replacement algorithm replaces the page that:
36. Which of the following is NOT a common page replacement algorithm?
37. What is a 'page fault'?
38. In paging, what is a 'page table' used for?
39. What is the fundamental concept behind paging?
40. Swapping involves moving entire processes between:
41. Which memory allocation strategy aims to solve external fragmentation by moving processes in memory?
42. What is internal fragmentation?
43. What is external fragmentation?
44. Worst-fit algorithm in contiguous memory allocation allocates the process to:
45. The Best-fit algorithm for contiguous memory allocation attempts to minimize:
46. Which algorithm places the first process into the first available hole that is large enough?
47. What is a 'hole' in the context of contiguous memory allocation?
48. In contiguous memory allocation, what is a fixed-size partition?
49. What is the primary goal of memory management in an operating system?