Exercises-Memory

Exercises-Memory - CSE120: Operating Systems Yuanyuan Zhou...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE120: Operating Systems Yuanyuan Zhou Department of Computer Science, University of California, San Diego 1 CSE120 Optional Exercises 1. Ideally, what criteria should we use to replace pages? (a) Choose the victims to achieve the highest memory utilization. (b) Choose the victims to achieve the lowest page-fault rate. (c) Choose the victims to achieve the highest disk utilization. Your answer [ ] 2. Which of the following tells the system whether not a paper needs to write to the disk when it is replaced? (a) Base register (b) Dirty bit (c) Page table (d) Limit register Your answer [ ] 3. Pick a statement that is FALSE about inverted page table (a) It is used to save space (b) A hash table may be used to implement inverted page table (c) It eliminates page faults (d) It may have an adverse effect on performance Your answer [ ] 4. Once the system detects trashing, what can the system do to eliminate this problem? (a) increase the number of CPU-bound jobs (b) decrease the degree of multiprogramming (c) install a faster CPU (d) none of the above
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Exercises-Memory - CSE120: Operating Systems Yuanyuan Zhou...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online