Memory Management Quiz 1
17 Questions
1 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

What is the primary purpose of memory management?

  • To provide data to the ALU
  • To achieve efficient utilization of memory (correct)
  • To manage secondary storage
  • All of the above

Which of the following is a disadvantage of the paged memory allocation scheme?

  • It has some internal fragmentation in the last page
  • It increases overhead in address resolution (correct)
  • It allows dynamic partitioning of memory
  • Job memory allocation is contiguous

What type of memory allocation scheme stores a portion of an executing process on disk or secondary memory?

  • Demand paging memory allocation (correct)
  • Fixed partitioning
  • Dynamic partitioning
  • Single-user contiguous

Is it true that when a program is initially prepared for loading, its pages are in logical sequence?

<p>False (C)</p> Signup and view all the answers

Does the FIFO page replacement policy remove pages that are longest in memory?

<p>False (D)</p> Signup and view all the answers

In the least recently used (LRU) policy, which page in memory gets replaced?

<p>The page that has not been referenced for the longest time (A)</p> Signup and view all the answers

In a memory management system using LRU, what Page is most likely to be in Page Frame 1 at Time 8?

<p>B (D)</p> Signup and view all the answers

If we use LRU, what Page is likely to be in Page Frame 3 at Time 8?

<p>A (D)</p> Signup and view all the answers

When employing LRU, what is the expected failure rate since Time 1?

<p>.7 (C)</p> Signup and view all the answers

In an OPT memory management system, which Page is most likely to be in Page Frame 1 at Time 7?

<p>C (A)</p> Signup and view all the answers

If OPT is used, what Page is expected to be in Page Frame 3 at Time 7?

<p>D (C)</p> Signup and view all the answers

When applying OPT, what is the likely success rate since Time 1?

<p>.375 (D)</p> Signup and view all the answers

In the CLOCK page replacement policy, how is the pointer used to step through active pages' reference bits?

<p>Sequentially (A)</p> Signup and view all the answers

What is the page in Page Frame 1 at Time 7 if the Clock page replacement policy is used?

<p>B (D)</p> Signup and view all the answers

If the LRU (Least Recently Used) policy is applied, what Page is in Page Frame 2 at Time 7?

<p>B (A)</p> Signup and view all the answers

If FIFO (First-In-First-Out) is implemented, what Page is in Page Frame 3 at Time 8?

<p>D (D)</p> Signup and view all the answers

Considering the page request order A, B, C, A, D, B, A, B and using FIFO, what Page is in Page Frame 3 at Time 7?

<p>C (B)</p> Signup and view all the answers

More Like This

Early Memory Management Systems Quiz
5 questions
Computer Science - I Exam Notes
8 questions

Computer Science - I Exam Notes

ProminentWilliamsite5438 avatar
ProminentWilliamsite5438
Operating Systems Exam Study Notes
36 questions
Use Quizgecko on...
Browser
Browser