Virtual Memory u0026 Paging Fundamentals Quiz Quiz

  1. Understanding Virtual Memory

    Which of the following best describes virtual memory?

    1. A memory management technique that gives the illusion of a larger main memory than physically exists
    2. A type of physical RAM installed on the motherboard
    3. A hard disk that stores operating system files only
    4. The process of backing up memory to an external drive
    5. A method of encrypting data in memory
  2. Paging Concepts

    In paging, what is a 'page fault'?

    1. When a program accesses a page not currently in main memory
    2. When a page is written to disk for backup purposes
    3. When two processes try to use the same memory page
    4. A type of hardware failure in RAM modules
    5. When an operating system switches between user accounts
  3. Address Translation

    Given the following code snippet, what translates a virtual address to a physical address?nnint *ptr = (int*)0x00400010; // Example memory access

    1. The Memory Management Unit (MMU)
    2. The Central Processing Unit (CPU) cache
    3. The device driver
    4. The application’s source code
    5. The network interface card (NIC)
  4. Page Table Structure

    What is stored in a page table?

    1. The mapping between virtual pages and physical frames
    2. The list of interrupt requests
    3. The execution order of processes
    4. File directory structures
    5. Network routing tables
  5. Page Replacement Policies

    Which of these is a common page replacement algorithm in virtual memory systems?

    1. Least Recently Used (LRU)
    2. First Come First Served (FCFS)
    3. Round Robin (RR)
    4. Binary Search Algorithm
    5. Flood Fill Algorithm
  6. Thrashing Trap

    What often happens if a system experiences too many page faults per second?

    1. The system enters a state called thrashing, with severely degraded performance
    2. The CPU temperature drops rapidly
    3. All data is saved instantly to disk
    4. Processes become immune to memory errors
    5. Application performance improves dramatically
  7. Fragmentation Types

    Which type of fragmentation can be significantly reduced by using paging?

    1. External fragmentation
    2. Internal segmentation
    3. Binary fragmentation
    4. Logical fragmentation
    5. Stack fragmentation
  8. Identifying Typos

    Select the correct term for the smallest fixed-size block in paging systems from the options below.

    1. Page
    2. Paeg
    3. Pegge
    4. Paige
    5. Pagge
  9. Common Pitfall: Stack Overflow

    What is most likely to cause a stack overflow in a process's memory layout?

    1. Infinite or excessively deep recursion
    2. A large number of open network connections
    3. Frequent context switching
    4. Too many threads waiting for I/O
    5. Insufficient secondary storage
  10. Virtual Address Space

    For a 32-bit system, what is the maximum theoretical size of the virtual address space for a process?

    1. 4 GB
    2. 16 KB
    3. 64 GB
    4. 2 TB
    5. 128 MB