What is the difference between the program and the process?
Answer»
A program can be DEFINED as a LINE of CODE written in order to ACCOMPLISH a particular task. Whereas the process can be defined as the programs which are under EXECUTION.
A program doesn't execute directly by the CPU. First, the resources are allocated to the program and when it is ready for execution then it is a process.