Docsity

CS 3733 Operating Systems Assignment 3 - Spring 2001 - Prof. Steven Robbins, Assignments of Operating Systems

Toggle sidebar
bg1
CS 3733 Operating Systems — Spring 2001
Assignment 3
Name
Consecutively number the pages and fill in the index below with page numbers.
Put a check mark in the appropriate place if you thing the part is correct. For the three ring
programs, explain why you think the output looks the way it does and put the page number for this
description below under the heading output description.
Description source page lint page test output output description check if correct
makefile
ring1.c
ring2.c
ring3.c
Part 2
Extra Credit
Answer the questions that are on the back of this sheet.
If you think everything you did is correct, check here:
Otherwise, give a brief description of what is working and what is not:
pf2

Partial preview of the text

Download CS 3733 Operating Systems Assignment 3 - Spring 2001 - Prof. Steven Robbins and more Assignments Operating Systems in PDF only on Docsity!

CS 3733 Operating Systems — Spring 2001Assignment 3

Name Consecutively number the pages and fill in the index below with page numbers. Put a check mark in the appropriate place if you thing the part is correct. programs, explain why you think the output looks the way it does and put the page number for this For the three ring description below under the heading output description. Description source page lint page test output output description check if correct makefile ring1.c ring2.c ring3.c Part 2 Extra Credit Answer the questions that are on the back of this sheet. If you think everything you did is correct, check here: Otherwise, give a brief description of what is working and what is not:

Give a short answer here for each of these questions:1) F or ring.c where did the prompt appear? Why?

  1. For ring1.c where did the prompt appear? Why?
  2. For ring2.c where did the prompt appear? Why?
  3. For ring3.c where did the prompt appear? Why?
  4. What does it mean when the output indicates that the parent of a process has PID 1?
  5. Which of your part 2 runs behaved most like ring.c? Why?
  6. Which of your part 2 runs behaved most like ring1.c? Why?
  7. Which of your part 2 runs behaved most like ring2.c? Why?
  8. Which of your part 2 runs behaved most like ring3.c? Why?
  9. Did any of your part 1 programs behave like the first Print Not Atomic run of part 2? Why?
  10. Explain the difference in output among the last three runs from part 2.