Sample Final Exam
- How does the working-set model relate process scheduling and memory
management?
- What is an access control matrix?
- What is the difference between deadlock and starvation?
- Three procedures, A, B, and C, are to be linked together into one
process and loaded into memory. The length of each procedure is 600
words. Consider the following memory management schemes:
- Paging: page size is 1000 words, page tables occupy 1 page each.
- Segmentation: segment table size is 1000 words.
-
Paged segmentation: page size is 1000 words, page tables occupy 1 page
each, segment table size is 1000 words.
Assume that all procedures and all tables are in memory. For each of
the three systems, what is the total occupied memory space (i.e., the
space that cannot be used by another process)? This includes the space
occupied by the procedures and the various tables, as well as space
wasted due to the fixed page size.
- Consider a system where free space is kept in a free space list.
-
Suppose that the pointer to the free space list is lost. Can the system
reconstruct the free space list?|
-
Suggest a scheme to ensure that the pointer is never lost as a result of
memory failure.
Send email to
cs150@csif.cs.ucdavis.edu.
Department of Computer Science
University of California at Davis
Davis, CA 95616-8562
Page last modified on 3/16/2000