Sample Final Exam for Operating Systems | ECS 150, Exams of Operating Systems

Material Type: Exam; Class: Operating Systems; Subject: Engineering Computer Science; University: University of California - Davis; Term: Fall 2008;

Typology: Exams

Pre 2010

Uploaded on 07/30/2009

koofers-user-hle
koofers-user-hle 🇺🇸

9 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECS 150, Operating Systems Fall Quarter 2008
Sample Final
1. How does the working-set model relate process scheduling and memory management?
2. What is an access control matrix?
3. What is the difference between deadlock and starvation?
4. 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:
(a) Paging: page size is 1000 words, page tables occupy 1 page each.
(b) Segmentation: segment table size is 1000 words.
(c) 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.
5. Recall that the link count field in a MINIX inode contains the number of directory entries pointing to the inode,
something that can equally well be determined by looking at the directories themselves. Why is this field used?
6. Describe three ways that disk space may be allocated for a file.
Version of November 30, 2008 at 11:02am Page 1 of 1

Partial preview of the text

Download Sample Final Exam for Operating Systems | ECS 150 and more Exams Operating Systems in PDF only on Docsity!

ECS 150, Operating Systems Fall Quarter 2008

Sample Final

  1. How does the working-set model relate process scheduling and memory management?
  2. What is an access control matrix?
  3. What is the difference between deadlock and starvation?
  4. 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: (a) Paging: page size is 1000 words, page tables occupy 1 page each. (b) Segmentation: segment table size is 1000 words. (c) 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.
  5. Recall that the link count field in a MINIX inode contains the number of directory entries pointing to the inode, something that can equally well be determined by looking at the directories themselves. Why is this field used?
  6. Describe three ways that disk space may be allocated for a file.

Version of November 30, 2008 at 11:02am Page 1 of 1