Operating System- CS604
Assignment # 01
Fall 2011
Question # 1:
“Commonly it considered that degree of multiprogramming is affecting CPU utilization and always increase the CPU utilization.” In either case “yes” or “no”, justify the given statement with strong arguments. Write the answer in your own words.
Question # 1:
Write a program in C language and run it in Linux environment that displays the following results:
1. Display the Process ID of the Parent processes
2. Then execute a fork() call
3. If call is successful on fork( ) execution then display the process identifier of the Child process which returned to the Parent process Or Display the Process ID of Child process
4. Show that Process ID of the Parent process does not change before and
after fork() call.
5. Child process display a message “I AM CHILD PROCESS”
6. Parent process display a message “I AM PARENT PROCESS”
0 comments
Post a Comment