1. Home
  2. Explore
  3. Computer Science
  4. Virtual Memory Management

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Virtual Memory Management

  • 23Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Virtual Memory Concepts
Virtual memory allows a process to have a
address space that is distinct from physical memory.

23 questions

  1. 1
    Virtual memory allows a process to have a
    _____
    address space that is distinct from physical memory.
    Hint

    Think of the term that contrasts with 'physical' when describing memory seen by a process.

    Answer

    logical

  2. 2
    The technique of loading pages only when they are needed is called
    _____
    paging.
    Hint

    This approach is also known as 'lazy swapping' because it waits until a page is actually used.

    Answer

    demand

  3. 3
    When a process references a page that is not in physical memory, it generates a
    _____
    .
    Hint

    This is an interrupt that occurs when a required page is missing from main memory.

    Answer

    page fault

  4. 4
    The component of the operating system that handles page faults and loads pages on demand is called the
    _____
    .
    Hint

    This part of the OS is responsible for bringing pages into memory as needed.

    Answer

    pager

  5. 5
    In demand paging, when a page fault occurs, the process is moved to the
    _____
    queue until the page is loaded.
    Hint

    Think of the queue where processes go when they are waiting for an I/O operation to complete.

    Answer

    wait

  6. 6
    The approach where no pages are pre-loaded and the first instruction causes a page fault is called
    _____
    demand paging.
    Hint

    This term means 'complete' or 'absolute' when describing this lazy approach.

    Answer

    pure

  7. 7
    The phenomenon where a program tends to access a small set of pages repeatedly is known as
    _____
    of reference.
    Hint

    This property of programs is why demand paging works efficiently.

    Answer

    locality

  8. 8
    A dedicated area on disk used to store pages that are not currently in physical memory is called
    _____
    space.
    Hint

    This space is reserved for moving pages between memory and disk.

    Answer

    swap

  9. 9
    The effective access time in a demand-paging system depends on the probability of a
    _____
    .
    Hint

    The chance that a memory access will require a disk I/O to bring in a missing page.

    Answer

    page fault

  10. 10
    A system that spends most of its time swapping pages in and out instead of executing processes is experiencing
    _____
    .
    Hint

    This term describes a condition where the system is overwhelmed by paging activity.

    Answer

    thrashing

  11. 11
    The set of pages that a process is currently using frequently is called its
    _____
    set.
    Hint

    This term refers to the pages that must be in memory to avoid thrashing.

    Answer

    working

  12. 12
    The page replacement algorithm that chooses the page that will not be used for the longest time in the future is called the
    _____
    algorithm.
    Hint

    This algorithm provides a benchmark but is not implementable because it requires future knowledge.

    Answer

    optimal

  13. 13
    The page replacement algorithm that replaces the oldest page in memory is called
    _____
    .
    Hint

    This algorithm uses a simple queue to decide which page to evict.

    Answer

    FIFO

  14. 14
    The page replacement algorithm that replaces the page that has not been used for the longest time is called
    _____
    .
    Hint

    This algorithm uses past usage to predict future use.

    Answer

    LRU

  15. 15
    An anomaly where increasing the number of frames can lead to more page faults is known as
    _____
    anomaly.
    Hint

    Named after the researcher who discovered this counterintuitive behavior.

    Answer

    Belady's

  16. 16
    To avoid unnecessary writes to swap space, a page that has not been modified is called a
    _____
    page.
    Hint

    Opposite of 'dirty' – it means the page does not need to be written back.

    Answer

    clean

  17. 17
    A page that has been written to and contains new data is called a
    _____
    page.
    Hint

    This term indicates the page must be saved to swap space before being replaced.

    Answer

    dirty

  18. 18
    The technique of bringing in multiple pages around a faulted page to reduce future faults is called
    _____
    .
    Hint

    This approach groups pages together because of locality of reference.

    Answer

    clustering

  19. 19
    To control thrashing, an operating system can monitor the
    _____
    fault frequency and adjust the degree of multiprogramming.
    Hint

    If this frequency is too high, the system suspends processes to reduce paging.

    Answer

    page

  20. 20
    In Windows, the working set has a
    _____
    and maximum size that can be adjusted based on free memory.
    Hint

    This is the lower bound that guarantees a process a certain number of frames.

    Answer

    minimum

  21. 21
    During a page fault, the OS first checks if the memory reference is
    _____
    before proceeding to load the page.
    Hint

    This check ensures the address is allowed, not an illegal access.

    Answer

    valid

  22. 22
    A free frame list is used to keep a pool of available frames so that the pager can quickly
    _____
    a page without waiting for eviction.
    Hint

    This verb means to bring a page into memory from disk.

    Answer

    load

  23. 23
    The degree of multiprogramming can be reduced by
    _____
    a process to free frames and stop thrashing.
    Hint

    This action temporarily stops a process from executing.

    Answer

    suspending

1 of 23
Question 1 of 23

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent