assignment process management

Post on 03-Dec-2014

323 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

CSC204 - Practical Approach to Operating System Assignment 1: Process Management

Name: MOHD. AMIRUL MUTAQIN BIN ROSLAN Student ID: 2010474818

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)

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

NEW

READY

WAITING

RUNNING

FINISHEDAdmittedInterrupt

Exit

I/O or event completion

I/O or event wait

Scheduler dispatch

CSC204 - Practical Approach to Operating System Assignment 1: Process Management

- Process status wordiv. 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 schedulerScheduler Job ProcessFunction Selects jobs from a queue

of incoming jobsAssigns the CPU to execute processes of those jobs placed on ready queue by Job Scheduler

Frequent Of Usage Use frequently 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: (8 marks)

a. SJF

b. RR

c. FCFS

CSC204 - Practical Approach to Operating System Assignment 1: Process Management

d. SRTF

9. Explain how batch processing is operated. (3 marks)

10. In multitasking, is it really multiple programs being executed simultaneously? Explain your answer. (4 marks)

11. How multitasking can be achieved? (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: (3 marks)

a. Single user, single tasking

b. Single user ,multitasking

CSC204 - Practical Approach to Operating System Assignment 1: Process Management

c. Multiuser, multitasking

15. What are the benefits of having a multitasking compared to single tasking.(4

marks)

CSC204 - Practical Approach to Operating System Assignment 1: Process Management

End of question paper.

top related