What is process in OS? How it differ from program?

Answers

This answer is not selected as best answer. This answer may not be sufficient for exam.

Your limit has been exceed. We have implemented this system because, We got difficulty on managing our servers. Please donate some amount to remove this limit.

Quota: 0 / 30

Donate

A process is basically a program in execution. The execution of a process must progress in a sequential fashion. A process is defined as an entity which represents the basic unit of work to be implemented in the system.

Difference between Program and Process :

Sr.No. Program Process
1. Program contains a set of instructions designed to complete a specific task. Process is an instance of an executing program.
2. Program is a passive entity as it resides in the secondary memory. Process is a active entity as it is created during execution and loaded into the main memory.
3. Program exists at a single place and continues to exist until it is deleted. Process exists for a limited span of time as it gets terminated after the completion of task.
4. Program is a static entity. Process is a dynamic entity.
5. Program does not have any resource requirement, it only requires memory space for storing the instructions. Process has a high resource requirement, it needs resources like CPU, memory address, I/O during its lifetime.
6. Program does not have any control block. Process has its own control block called Process Control Block.
7. Program has two logical components: code and data. In addition to program data, a process also requires additional information required for the management and execution.
8. Program does not change itself. Many processes may execute a single program. There program code may be the same but program data may be different. these are never same.
If you found any type of error on the answer then please mention on the comment or submit your new answer.

Your limit has been exceed. We have implemented this system because, We got difficulty on managing our servers. Please donate some amount to remove this limit.

Quota: 0 / 30

Donate

A process is basically a program in execution. The execution of a process must progress in a sequential fashion. A process is defined as an entity which represents the basic unit of work to be implemented in the system.

Difference between Program and Process :

Sr.No. Program Process
1. Program contains a set of instructions designed to complete a specific task. Process is an instance of an executing program.
2. Program is a passive entity as it resides in the secondary memory. Process is a active entity as it is created during execution and loaded into the main memory.
3. Program exists at a single place and continues to exist until it is deleted. Process exists for a limited span of time as it gets terminated after the completion of task.
4. Program is a static entity. Process is a dynamic entity.
5. Program does not have any resource requirement, it only requires memory space for storing the instructions. Process has a high resource requirement, it needs resources like CPU, memory address, I/O during its lifetime.
6. Program does not have any control block. Process has its own control block called Process Control Block.
7. Program has two logical components: code and data. In addition to program data, a process also requires additional information required for the management and execution.
8. Program does not change itself. Many processes may execute a single program. There program code may be the same but program data may be different. these are never same.

 

If you found any type of error on the answer then please mention on the comment or submit your new answer.
Leave your Answer:

Click here to submit your answer.

Discussion
0 Comments
  Loading . . .