Site icon T4Tutorials.com

Virtual Memory MCQs

1. : What is the primary purpose of virtual memory in modern operating systems?

(A) To extend the physical memory of a computer using disk storage


(B) To manage hardware devices


(C) To speed up CPU operations


(D) To provide additional CPU cores



2. : Which of the following is true about virtual memory addressing?

(A) Virtual memory uses addresses that are mapped to physical memory addresses


(B) Virtual memory directly accesses physical addresses


(C) Virtual memory addressing is only used in 64-bit systems


(D) Virtual memory eliminates the need for physical memory



3. : What is the role of a page table in virtual memory management?

(A) To map virtual addresses to physical addresses


(B) To manage the CPU’s registers


(C) To handle input and output operations


(D) To control network traffic



4. : What is a page fault?

(A) An event that occurs when a program accesses a page not currently in physical memory


(B) An error in the page table


(C) A hardware failure


(D) An interruption in the CPU’s processing



5. : What happens when a page fault occurs?

(A) The operating system loads the required page from disk into physical memory


(B) The program is terminated


(C) The CPU is reset


(D) The page table is deleted



6. : Which technique is used to manage the space in physical memory for virtual memory?

(A) Paging


(B) Segmentation


(C) Caching


(D) Buffering



7. : What is a page frame?

(A) A fixed-size block of physical memory


(B) A block of virtual memory


(C) A section of the page table


(D) A unit of disk storage



8. : In virtual memory, what is the term for the division of memory into fixed-sized blocks?

(A) Paging


(B) Segmentation


(C) Fragmentation


(D) Swapping



9. : What is the purpose of a page replacement algorithm?

(A) To determine which pages to swap out of physical memory when it is full


(B) To manage page table entries


(C) To handle page faults


(D) To increase CPU speed



10. : Which of the following is a common page replacement algorithm?

(A) Least Recently Used (LRU)


(B) First-In-First-Out (FIFO)


(C) Optimal Page Replacement


(D) All of the above



11. : What does the term “thrashing” refer to in virtual memory systems?

(A) Excessive paging or swapping, which degrades system performance


(B) A type of disk error


(C) A CPU fault


(D) A network issue



12. : What is the primary advantage of virtual memory?

(A) It allows programs to use more memory than is physically available


(B) It speeds up data transfer rates


(C) It increases the number of CPU cores


(D) It provides better network connectivity



13. : Which of the following is a disadvantage of virtual memory?

(A) It can lead to increased disk I/O and slower performance


(B) It reduces the amount of available physical memory


(C) It limits the number of programs that can run simultaneously


(D) It requires more CPU cores



14. : In virtual memory, what is the term for the mapping of a page table entry to a physical page frame?

(A) Address translation


(B) Segmentation


(C) Paging


(D) Swapping



15. : What is the term for a segment of a program’s memory space that can be swapped in and out of physical memory?

(A) Page


(B) Frame


(C) Segment


(D) Block



16. : Which of the following strategies can help reduce the impact of thrashing?

(A) Increasing physical memory size


(B) Decreasing the page size


(C) Reducing the number of running processes


(D) All of the above



17. : What is the term for a memory management scheme that uses variable-sized blocks instead of fixed-sized pages?

(A) Segmentation


(B) Paging


(C) Swapping


(D) Fragmentation



18. : Which component in virtual memory management helps to keep track of free and used memory pages?

(A) Memory Management Unit (MMU)


(B) Page Table


(C) Disk Storage


(D) CPU Register



19. : In virtual memory systems, what is the term for the portion of disk space used to simulate additional RAM?

(A) Swap Space


(B) Cache


(C) Buffer


(D) Register



20. : What is the typical unit size for a memory page in a virtual memory system?

(A) 4 KB


(B) 64 KB


(C) 1 MB


(D) 2 GB



21. : Which virtual memory technique allows different parts of a program to be loaded into different areas of physical memory?

(A) Paging


(B) Segmentation


(C) Swapping


(D) Caching



22. : What is the term for the technique of temporarily transferring data from RAM to disk storage to free up physical memory?

(A) Swapping


(B) Paging


(C) Buffering


(D) Caching



23. : Which virtual memory component is responsible for translating virtual addresses into physical addresses?

(A) Memory Management Unit (MMU)


(B) Page Table


(C) Disk Controller


(D) CPU Register



24. : What is a common page replacement strategy that aims to minimize the number of page faults?

(A) Optimal Page Replacement


(B) Least Recently Used (LRU)


(C) FIFO


(D) Random Replacement



25. : What does the term “page size” refer to in a virtual memory system?

(A) The size of each fixed-size block in physical memory


(B) The total amount of physical memory


(C) The size of the disk storage


(D) The size of the CPU cache



26. : Which of the following is a primary reason for using virtual memory in a computer system?

(A) To increase the amount of available memory beyond physical limitations


(B) To increase the CPU clock speed


(C) To improve network bandwidth


(D) To manage peripheral devices



27. : What is a common method for handling page faults?

(A) Loading the required page from disk into physical memory


(B) Ignoring the fault and continuing execution


(C) Terminating the process causing the fault


(D) Allocating additional CPU cores



28. : Which of the following is a benefit of segmentation over paging in virtual memory systems?

(A) Segmentation allows for variable-sized memory blocks


(B) Segmentation reduces page fault rates


(C) Segmentation simplifies memory management


(D) Segmentation eliminates the need for virtual memory



29. : What is a “valid” bit in a page table entry used for?

(A) To indicate whether the page is currently in physical memory


(B) To manage access permissions


(C) To track the age of the page


(D) To store the page size



30. : What does the “dirty” bit in a page table entry indicate?

(A) Whether the page has been modified since it was last loaded into memory


(B) Whether the page is valid or not


(C) The age of the page


(D) The size of the page



 

Read More Computer Architecture MCQs

  1. SET 1: Computer Architecture MCQs
  2. SET 2: Computer Architecture MCQs
  3. SET 3: Computer Architecture MCQs
  4. SET 4: Computer Architecture MCQs
  5. SET 5: Computer Architecture MCQs
  6. SET 6: Computer Architecture MCQs
  7. SET 7: Computer Architecture MCQs
  8. SET 8: Computer Architecture MCQs
  9. SET 9: Computer Architecture MCQs

 

Exit mobile version