Docsity

Operating Systems Practice Test II for COP 4600 [Fall 2006] - Prof. Jarred Ligatti, Exams of Operating Systems

Toggle sidebar
bg1
Operating Systems (COP 4600) [Fall 2006]
Practice Test II
NAME: ___________________________________________
Instructions:
1) This test consists of 8 questions totaling 68 points.
2) You have 75 minutes to complete and turn in this test.
3) Short answer questions include a guideline for how many sentences to write. Respond
in complete English sentences.
4) This test is closed books, notes, papers, friends, neighbors, etc.
5) Use the backs of pages in this test packet for scratch work. If you write more than a
final answer in the area next to a question, circle your final answer.
6) Write and sign the following: “I pledge my Honor that I have not cheated on this test.”
_______________________________________________________________________
_______________________________________________________________________
Signed: ______________________________________________
1
pf3
pf4
pf5

Partial preview of the text

Download Operating Systems Practice Test II for COP 4600 [Fall 2006] - Prof. Jarred Ligatti and more Exams Operating Systems in PDF only on Docsity!

Operating Systems (COP 4600) [Fall 2006]

Practice Test II

NAME: ___________________________________________

Instructions:

  1. This test consists of 8 questions totaling 68 points.
  2. You have 75 minutes to complete and turn in this test.
  3. Short answer questions include a guideline for how many sentences to write. Respond in complete English sentences.
  4. This test is closed books, notes, papers, friends, neighbors, etc.
  5. Use the backs of pages in this test packet for scratch work. If you write more than a final answer in the area next to a question, circle your final answer.
  6. Write and sign the following: “I pledge my Honor that I have not cheated on this test.”


Signed: ______________________________________________

What is thrashing, and under what circumstances does it occur? (2-3 sentences)

  1. [7 points] What does PTBR stand for, and what is a PTBR? (1-2 sentences)
  2. [7 points] What is external fragmentation, and what are the two principal ways it can be prevented? (2-3 sentences)

How many pages are there on a byte-addressing system with a logical address space of 2TB and frames of size 512KB?

  1. [7 points] A paging system has 1024 frames, each of size 2^18 B. How much of memory gets lost to internal fragmentation when three processes each require 987KB of memory?

a) Fill in the graph below for the number of page faults when using FIFO replacement on the following memory reference string: 2, 4, 3, 2, 3, 1, 2, 4, 5, 1, 2, 3, 1. Include specific data points. | Number | Of Page | Faults | | | | | |__________________________________________________ Number of Frames b) Does this graph exhibit Belady’s anomaly?