3 Process Management

Operating Systems · Unit 3

Process Management

Exam-focused notes for Process Management (Operating Systems, BIT204): what the TU syllabus asks and how it has actually been tested, with 4 solved past questions from this unit.

What this unit covers

  • Process definition and characteristics
  • Program versus process distinction
  • Process Control Block
  • Process state transitions
  • 3-state process model
  • 5-state process model
  • Context switching

3-state process model

20805 marks

What is process? Explain 3 state process models with suitable diagram. [5]

A process is a program in execution. It is an active entity that requires resources such as CPU time, memory, files, and I/O devices to accomplish its task. A process is more than just program code (text section); it also includes the current activity repre...

Full solved answer →

Program versus process distinction

20805 marks

Differentiate between process and a program. What is PCB? [5]

Basis Program Process ------------------------- Definition A program is a static set of instructions stored on disk (passive entity) A process is a program in execution (active entity) Nature Passive, just a file containing code Active, has a life cycle (ne...

Full solved answer →

5-state process model

20785 marks

Draw and describe the 5-state process model. [5]

--- State Description -------------------- New Process has just been created but has not yet been admitted to the pool of executable processes Ready Process is prepared to execute and is waiting to be assigned to a CPU Running Process is currently being exe...

Full solved answer →

Process state transitions

05 marks

Explain about the transition between different states of a process. [5]

A process passes through several distinct states during its lifetime in an operating system. The following are the main states of a process: 1. New - The process is being created. 2. Ready - The process is waiting to be assigned to a processor. 3. Running -...

Full solved answer →