You are on page 1of 1

Assignment

• Write and implement simple c++/gava code for:

• creating process using API

• forking new process.

• Managing processes according to creation, deletion, searching for one


process among five processes using appropriate data structure.

• In your language, summarize all differences between process and program.

• Why to use the process abstraction?

• What happen when calling fork() in Unix and what is the difference between
it and exec() system call.

• What tasks are involved in switching the CPU from one process to another?

• Why is it called a context switch?

• Is the Operating System a program?

• Is the Operating System a process?

• Does it have a process control block?

• How is its state managed when it is not running?

• Write a summary to differ between Linux and Windows 7 according to


process implementation, creation, deletion, scheduling and communication.
• Note : The due date for this assignment is two week from the time of taking the lecture.

You might also like