FOR FREE YEAR SOLVED

Process Management 

 

Definition of Program: Program is a sequence of instructions for the computer to perform specific tasks.

 

Definition of Process: 

 

There are several definitions of the term process, including:

  • a) A program in execution.
  • b) An instance of a program running a computer.
  • c) An entity that can be assigned to and executed on a processor.
  • d) A unit of activity characterized by the execution of a sequence of instructions, a current state, and an associated set of system resources.

 

We can also define another way that process is an entity that consists of two elements, Program Code (Which may be shared with other processes that are executing the same program) and set of data associated with that code

 

Now when the processor begins to execute this program code, and we refer to this executing entity as a process. The process will need certain resources—such as CPU time, memory, files, and I/O devices—to accomplish its task. These resources are allocated to the process either when it is created or while it is executing. 

 

 Process requires two types of time CPU time and I/O time.