T4Tutorials .PK

NSCT – Memory Management MCQs

1. . Memory management in an operating system is responsible for:

(A) Managing files


(B) Allocating and deallocating memory to processes


(C) Managing CPU scheduling


(D) Managing printers




2. . Which type of memory is directly accessible by the CPU?

(A) Main memory (RAM)


(B) Secondary memory


(C) Cache


(D) Hard disk




3. . Contiguous memory allocation means:

(A) Process occupies scattered memory locations


(B) Memory is virtual


(C) Memory is not allocated


(D) Process occupies a single contiguous block of memory




4. . External fragmentation occurs when:

(A) Memory is divided into fixed-size blocks


(B) Free memory is scattered and not usable


(C) CPU is idle


(D) Processes are too small




5. . Internal fragmentation occurs when:

(A) Process cannot fit into memory


(B) CPU executes slowly


(C) Memory is shared


(D) Allocated memory is larger than required, leaving unused space




6. . Paging is a memory management technique that:

(A) Allocates memory to files only


(B) Uses variable-length memory blocks


(C) Allocates memory sequentially


(D) Divides memory into fixed-size blocks called pages




7. . In paging, the fixed-size blocks of main memory are called:

(A) Pages


(B) Registers


(C) Blocks


(D) Frames




8. . In paging, the blocks of a process are called:

(A) Segments


(B) Frames


(C) Registers


(D) Pages




9. . Which technique allows non-contiguous memory allocation without external fragmentation?

(A) Paging


(B) Segmentation


(C) Contiguous allocation


(D) Swapping




10. . Segmentation divides a process into:

(A) Variable-size segments


(B) Fixed-size pages


(C) Frames


(D) Registers




11. . Which memory management technique combines paging and segmentation?

(A) Swapping


(B) Contiguous allocation


(C) Virtual memory


(D) FIFO




12. . Virtual memory allows:

(A) Faster CPU speed


(B) Only one process to run at a time


(C) No memory sharing


(D) More processes to run than physical memory




13. . The memory management unit (MMU) is responsible for:

(A) CPU scheduling


(B) Translating virtual addresses to physical addresses


(C) File management


(D) Printer management




14. . Swapping is a technique where:

(A) CPU is swapped with memory


(B) Process is temporarily moved to secondary memory to free RAM


(C) Files are swapped


(D) Registers are swapped




15. . Which of the following can cause thrashing in memory?

(A) High CPU usage


(B) Disk scheduling


(C) External fragmentation


(D) Excessive paging




16. . First Fit, Best Fit, and Worst Fit are algorithms for:

(A) CPU scheduling


(B) File management


(C) Disk scheduling


(D) Memory allocation




17. . First Fit memory allocation:

(A) Allocates the smallest free block


(B) Allocates the largest free block


(C) Allocates the first free block large enough for the process


(D) Allocates memory randomly




18. . Best Fit memory allocation:

(A) Allocates the smallest free block that fits the process


(B) Allocates the first available block


(C) Allocates the largest block


(D) Allocates randomly




19. . Worst Fit memory allocation:

(A) Allocates the largest free block


(B) Allocates the smallest block


(C) Allocates the first available block


(D) Allocates randomly




20. . The main goal of memory management is to:

(A) Allocate CPU efficiently


(B) Ensure efficient and fair use of memory


(C) Manage printers


(D) Increase disk speed




Exit mobile version