Assignment Process Management
Assignment Process Management
Assignment Process Management
ANSWER ALL QUESTIONS IN THIS PAPER. 1. Explain the responsibility of operating system in relation to the process management. (2 marks) Operating system manages many kinds of activities ranging from user programs to system programs like printer spooler, name server, file server etc. 2. Define below terminologies: (8 marks)
a. Process state is an indicator of the nature of the current activity in a process b. Job queue is an order of process c. Scheduler d. parallelism 3. Draw the diagram of process state and explain briefly the cycle and changes involved. (5 marks) NEW Admitted Interrupt READY I/O or event completion Scheduler dispatch WAITIN G Exit RUNNIN G I/O or event wait FINISHED
4. List down FOUR (4) information you can found in the PCB with one example of each. (4 marks) i. Process identification - name ii. Process status - Hold iii. Process state
- Process status word iv. Accounting - CPU time 5. Name the TWO (2) types of schedulers and differentiate between the two of them in term of its function and the frequent of usage. (6 marks) Job scheduler and Process scheduler Scheduler Job Function Selects jobs from a queue of incoming jobs
Frequent Of Usage
Use frequently
Process Assigns the CPU to execute processes of those jobs placed on ready queue by Job Scheduler Use only after Job Scheduler send the command
6. In single tasking environment, processor management is said to be simple. Explain why. (2 marks)
7. In multiprogramming, how does the processor being allocated to each job? (2 marks)
8. Give the full name and definition of the abbreviation below: a. SJF
(8 marks)
b. RR
c. FCFS
d. SRTF
(3 marks)
10. In multitasking, is it really multiple programs being executed simultaneously? Explain your answer. (4 marks)
(2 marks)
12. What are the differences between cooperative multitasking and pre-emptive multitasking? (4 marks)
13. What is the function of context switch in the multitasking environment? (3 marks)
14. Give TWO (2) examples of Operating System for the following: a. Single user, single tasking
(3 marks)
c. Multiuser, multitasking
15. What are the benefits of having a multitasking compared to single tasking. (4 marks)