Memory Management - 2

What is the term for the mapping of logical pages to physical frames in the page table?
Contiguous allocation
Internal fragmentation
Demand paging
Address translation
In which situation does the OS perform swapping of processes?
During context switches
When running low on CPU cache
On every memory access
During demand paging
What is the primary disadvantage of contiguous allocation in modern operating systems?
Internal fragmentation
External fragmentation
Page table overhead
CPU cache issues
What type of memory allocation divides a process memory image into segments corresponding to code, data, and stack?
Contiguous allocation
Paging
Segmentation
Swapping
Which part of the operating system is responsible for constructing and maintaining page tables?
CPU cache
Memory management unit
Page table manager
Operating system kernel
How does segmentation differ from paging in terms of memory management?
Segmentation uses a flat address model, while paging uses a hierarchical model.
Segmentation eliminates internal fragmentation, while paging eliminates external fragmentation.
Segmentation relies on contiguous memory allocation, while paging allows non-contiguous allocation.
Segmentation simplifies address translation, while paging adds an extra level of indirection.
What is the term for the smaller problem that arises with internal fragmentation in paging?
External fragmentation
Page table overhead
CPU cache issues
Internal fragmentation
What happens during a context switch in terms of memory management?
Swapping of processes
Updating the page table pointer
Allocation of physical frames
Clearing the CPU cache
How is demand paging related to the concept of virtual memory in modern operating systems?
Demand paging eliminates virtual memory
Virtual memory corresponds entirely to physical memory
Demand paging allows for a larger virtual address space than physical memory
What is the purpose of using paging in memory management?
Eliminate internal fragmentation
Enable demand paging
Simplify CPU cache management
Avoid external fragmentation
0
{"name":"Memory Management - 2", "url":"https://www.quiz-maker.com/QBXRJRLBO","txt":"What is the term for the mapping of logical pages to physical frames in the page table?, In which situation does the OS perform swapping of processes?, What is the primary disadvantage of contiguous allocation in modern operating systems?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker