Docsity

CS 3733 Operating Systems — Fall 2008 Assignment 4, Assignments of Operating Systems

Toggle sidebar
bg1
CS 3733 Operating Systems — Fall 2008 Assignment 4
Name
Consecutively number the pages and fill in the table of contents below.
page check if
Description number correct
makechild.c
makechildparallel.c
makelib.c
makelib.h
Part 0 output
Part 1 output
Part 2 output
Part 3 output
Part 4 output
Part 5 extra source
Part 5 output
Part 5 explanation
Part 6 extra source
Part 6 output
Part 6 explanation
Part 7 extra source
Part 7 output
Part 7 explanation
Answer the questions 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 progress was made on the part that
is not working:
pf2

Partial preview of the text

Download CS 3733 Operating Systems — Fall 2008 Assignment 4 and more Assignments Operating Systems in PDF only on Docsity!

CS 3733 Operating Systems — Fall 2008 Assignment 4

Name

Consecutively number the pages and fill in the table of contents below.

page check if Description number correct

makechild.c

makechildparallel.c

makelib.c

makelib.h

Part 0 output

Part 1 output

Part 2 output

Part 3 output

Part 4 output

Part 5 extra source

Part 5 output

Part 5 explanation

Part 6 extra source

Part 6 output

Part 6 explanation

Part 7 extra source

Part 7 output

Part 7 explanation

Answer the questions 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 progress was made on the part that is not working:

  1. How did you convince yourself that the programs reported the correct result if a fork failed?

  2. When you ran Part 4, was any of the output interleaved?

  3. Suppose your program is called with 3 command line parameters. For each of the parts of the assignment, how many total processes are there, assuming that no errors occur. Hint: For Part 0, the answer is 1.

  4. Assume that the program is called with 3 command line parameters. For each of parts 1 through 4 of the assignment, draw a diagram similar to Figures 3.2 or 3.3 of USP showing parentage of the processes. Do not worry about how the processes are labeled.