ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > ZSTU-(2020-2021)-1 > student homework > 2018529627020 JE >
HOMEWORK 2 Version 0
👤 Author: by kagenzaclaudiengmailcom 2020-09-22 07:21:34
 

 

The Purpose of Process.

The purpose of process is to ensure consistency. A good process is like a checklist that ensures the right things get done by the right people at the right time. Unfortunately, sales is a discipline that often lacks documented processes. Consequently, sales results are often unpredictable from one quarter to another.

A program and a process are related terms. The major difference between program and process is that program is a group of instructions to carry out a specified task whereas the process is a program in execution. While a process is an active entity, a program is considered to be a passive one.

There exist a many-to-one relationship between process and program, which means one program can invoke multiple processes or in other words multiple processes can be a part of the same program.

Key Differences Between Program and Process 



  1. A program is a definite group of ordered operations that are to be performed. On the other hand, an instance of a program being executed is a process.

  2. The nature of the program is passive as it does nothing until it gets executed whereas a process is dynamic or active in nature as it is an instance of executing program and perform the specific action.

  3. A program has a longer lifespan because it is stored in the memory until it is not manually deleted while a process has a shorter and limited lifespan because it gets terminated after the completion of the task.

  4. The resource requirement is much higher in case of a process; it could need processing, memory, I/O resources for the successful execution. In contrast, a program just requires memory for storage.


Conclusion


Program and process are relevant but are dissimilar. A program is just a scr ipt stored on disk or seem to as the previous stage of the process. On the contrary, the process is an event of a program in execution.

 

Because, In a multitasking computer system, processes may occupy a variety of states. These distinct states may not be recognized as such by the operating systemkernel However, they are a useful abstraction for the understanding of processes.

Please login to reply. Login

Reversion History

Loading...
No reversions found.