CS 110 Arch/OS
Grading Fork Project
Introduction
Quickly, read the projects and grade them, based on
a 10 point scale.
All we are looking for here is a program that has:
-
Two processes, a parent and child, where the parent forks the child
and the parent waits for the child to finish.
The copied (shared copy)
variable is just a means to pass information, i.e.,
the sleep time.
Probably the most difficult task is finding the system call for
the date and time.
They need to setup the data structure correctly,
time_t Date1; do the correct call, Date1=time(NULL),
and use ctime to print out the date.
-
We asked that they somehow highlight (delineate) the parent
and child printouts.
They could do that a number of ways, e.g., a highlighter or unique
print characters for each or just some scrible. Since this is the
process through the rest of the projects, any readable issues should
be addressed in this grading.
Basically, you are trying to see if they understand what they
are doing related to forks and system calls in general.
Points Issues
-
-5, no submitted code - just check that the file is there.
-
-2 or 3, No use of ctime
-
-5, No script file or No code
Last modified Feb 14, 2003 by mike@cs.hmc.edu