EXERCISES

1.1 There are four processes P1 through P4 in a single-processor system. P1 has created P2 and P3; it also has created two resource classes R1 and R2, each consisting of only one unit of that resource. The process P3 has created the process P4. Presently, P1 is running, P2 is ready, and P3 and P4 are both blocked on the resource R1. Show the details of all processes and resource descriptors and their interconnections (pointers) reflecting the system state described.

1.2 Describe the difference between each process state.

1.3 What are the advantages of threads over multiprocessors? What are the disadvantages?

1.4 Explain the task of "virtualize" the CPU, done by the kernel.

1.5 Through what process the suspension of an execution is possible? Please explain.

1.6 Which are the pieces of information associated with a process? Please name and describe each one of them and their functions.

1.7 Describe the steps involved in a Process Creation. Give examples.

1.8 Describe the steps involved in a Process Termination. Give examples.

1.9 Explain the functions of the system calls fork, abort, wait, and exit.

1.10 Compare the differences between user-level threads and kernel supported threads.

LinkExchange
LinkExchange Member Free Home Pages at GeoCities

Hosted by www.Geocities.ws

1