Koofers

Past Exam for CSI 4337 - Introduction to Operating Systems at Baylor (BU)

Exam Information

Material Type:Exam 3
Professor:Staff
Class:CSI 4337 - Introduction to Operating Systems
Subject:Computer Science
University:Baylor University
Term:Spring 2005
Keywords:
  • Explanation
  • Round Robin
  • Organizations
  • Master File
  • Communication
  • Linked List
  • Initial Value
  • Gantt Chart
Login / Sign Up to View Document
Preview Page 1Preview Page 2Preview Page 3Preview Page 4Preview Page 5Preview Page 6

Sample Document Text

CSI 4337 Exam #3 May 5, 2005 (final) Eight Pages Name___________________________________________________________________ All questions are worth 10 points. Maximum score: 100. 1. Is the following system in a safe state? If so show the "safe sequence" otherwise, list the processes that cannot be added to the safe sequence. If P4 makes a request of (1,0,1,0) and we grant the request, will the system be in a safe state? Has Max Available A B C D A B C D A B C D P0 1 1 0 1 2 2 1 1 1 0 2 0 P1 1 1 1 1 4 1 1 2 P2 2 1 1 1 3 1 2 1 P3 1 0 0 1 1 3 1 1 P4 1 1 0 0 2 2 2 4 2 2. Given a shared variable S that has an initial value of 100, the following two statements are executed in two separate processes P1 and P2. Give the final values of S and explain how each can occur. Show how to protect these two statements with semaphores so that no error occurs. P1 P2 . . S = S + 12; S = S - 40; . . 3 3. What information can we...
155, "/var/app/current/tmp/"