What is the difference between a process and a program? |
[Edit] |
Back in the old days they told me that a process is a program in execution (Absolute machine code loaded in memory)
Answer
PROGRAM :
Is a set of instructions which were written to perform specific task and
PROCESS :
Is an operation which takes the instructions given and does the manipulations or any thing that is instructed in the code itself. In other words "EXECUTION OF INSTRUCTIONS".
It is evident that a "PROCESS" will entirely depend on a "PROGRAM"
Answer
Here is what a process is...
A process is a single executable module that runs concurrently with other executable modules. For example, in a multi-tasking environment that supports processes, like OS/2, a word processor, an internet browser, and a data base, are separate processes and can run concurrently. Processes are separate executable, loadable modules as opposed to threads which are not loadable. Multiple threads of execution may occur within a process. For example, from within a data base application, a user may start both a spell check and a time consuming sort. In order to continue to accept further input from the user, the active thread could start two other concurrent threads of execution, one for the spell check and one for the sort. Contrast this with multiple .EXE files (processes) like a word processor, a data base, and internet browser, multi-tasking under OS/2 for example.
Here is what a program is..
A set of instructions for a computer that lets the computer perform a specific task. Programs that perform tasks directly relating to what a person would want to do (such as word processors, spreadsheets, etc.) are called application software, to distinguish them from system software.
Answer
A process is a single executable module that runs concurrently with other executable modules. A set of instructions for a computer that lets the computer perform a specific task.
Answer
In general process is an active entity which runs with other processes . Program is a passive entity which cant stand alone.There is no means when a process stand alone.
First answer by Reg Wilkinson. Last edit by SudoKing. Contributor trust: 109 [recommend contributor]. Question popularity: 131 [recommend question]
|
Research your answer: |



