The time lost is swap out and swap in can be reduced by ________.
A) writing the swapped out page based on dirty bit
B) storing the pages in cache instead of memory
C) storing the pages in ROM instead of the memory
D) directly overwriting on existing pages - correct answer ✔✔writing the swapped out page based on
dirty bit (A)
Suppose we have the following page accesses: 1 2 3 4 2 3 4 1 2 1 1 3 1 4 and that there are three frames
within out system. Using the FIFO replacement algorithm, what is the number of page faults for the
given reference string? - correct answer ✔✔8
Which of the following concepts is best at preventing page faults?
A) Address location resolution
B) Hit ratios
C) The working set
D) Paging - correct answer ✔✔The working set (C)
Belady's anomaly states that _________.
A) Giving more memory to a process will improve its performance
B) for some page replacement algorithms, the page-fault rate may increase as the number of allocated
frames increases
C) as the number of allocated frames increases, the page-fault rate may decrease for all page
replacement algorithms
D) for some page replacement algorithms, the page-fault rate may decrease as the number of allocated
frames increases - correct answer ✔✔for some page replacement algorithms, the page-fault rate may
increase as the number of allocated frames increases (B)
_________ occurs when a process spends more time paging than executing.
, A) Demand paging
B) Thrashing
C) Memory-mapping
D) Swapping - correct answer ✔✔Thrashing (B)
What size segment will be allocated for a 39 KB request on a system using the Buddy system for kernel
memory allocation? - correct answer ✔✔64 KB
Which of the following is a benefit of allowing a program that is only partially in memory to execute?
A) Programs can be written to use more memory than is available in physical memory.
B) Less I/O is needed to load or swap each user program into memory.
C) CPU utilization and throughput is increased.
D) All of the other options - correct answer ✔✔all of the other options (D)
Optimal page replacement _________.
A) is used mostly for comparison with other page-replacement schemes
B) requires that the system keep track of previously used pages
C) can suffer from Belady's anomaly
D) is the page-replacement algorithm most often implemented - correct answer ✔✔is mostly used for
comparison with other page-replacement schemes (A)
Which of the following memory management schemes solved internal fragmentation?
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller kirus27. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.99. You're not tied to anything after your purchase.