Memory
10 Questions
14 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which of the following statements are true about page loading strategies?

  • The loading strategy controls into which frames pages are loaded.
  • Demand paging can lead to a sequence of page faults when a new program is starting to execute. (correct)
  • A good loading strategy reduces the number of page faults. (correct)
  • The loading strategy controls when pages are loaded into frames. (correct)
  • Which of the following statements are true about logical and physical memory address spaces?

  • The kernel cannot directly use pointers passed from a user space process to the kernel since such pointers are only meaningful in the logical address space of the user space process. (correct)
  • A memory management unit translates logical addresses into physical addresses. (correct)
  • Every process has its own logical address space. (correct)
  • The kernel translates logical addresses into physical addresses.
  • Which of the following statements are true about memory mappings?

  • Memory mappings can be backed by regular files or they can be anonymous. (correct)
  • Memory mappings can be locked in order to keep stored data secret.
  • Memory mappings may be shared between processes. (correct)
  • The POSIX memory mapping API provides programmers a mechanism to add pages to a running process. (correct)
  • Which of the following statements are true about page faults?

    <p>Page faults can be caused by buggy programs.</p> Signup and view all the answers

    Which of the following statements are true about paging systems?

    <p>Page table entries usually store protection bits (read, write, execute) controling how a CPU can access the content of a page.</p> Signup and view all the answers

    Which of the following statements are true about positioning strategies?

    Which of the following statements are true about positioning strategies?

    <p>The next fit strategy distributes holes more evenly over the memory space compared to the first fit strategy.</p> Signup and view all the answers

    Which of the following statements are true about page replacement strategies?

    <p>The first-in-first-out page replacement strategy can suffer from Belady’s anomaly.</p> Signup and view all the answers

    Which of the following statements are true about segmentation?

    <p>Segmentation requires to load a different base address for each memory segment in the memory management unit.</p> Signup and view all the answers

    Which of the following statements are true about stack algorithms?

    <p>LRU is a stack algorithm.</p> Signup and view all the answers

    Which of the following statements are true about swapping?

    <p>Swapping moves memory content temporarily to a secondary storage device.</p> Signup and view all the answers

    More Like This

    Web Browsers Features Quiz
    18 questions

    Web Browsers Features Quiz

    IssueFreeNeptunium avatar
    IssueFreeNeptunium
    page 6 and 7 physics
    29 questions

    page 6 and 7 physics

    FreshAestheticism avatar
    FreshAestheticism
    Page 11-15 (Ali)
    71 questions

    Page 11-15 (Ali)

    RationalValley avatar
    RationalValley
    Page 15-25 (Ali)
    100 questions

    Page 15-25 (Ali)

    RationalValley avatar
    RationalValley
    Use Quizgecko on...
    Browser
    Browser