List the differences between process and program in OS, operating system program versus process, what are the differences between a process and program in operating system environment
Question:
List the differences between a process and a program
Answer:
Program |
Process |
Static code and static data A program is an executable file which resides on the secondary, persistent memory (i.e., disk), and only contains the set of instructions needed to accomplish a specific job. One program can invoke multiple processes Multiple processes can run the same program |
Dynamic instance of code and data A process is a particular executing instance of a program when loaded to main memory A process belongs to only one program. |
List the differences between program and process in Operating system
Differentiate between program and process in OS
No comments:
Post a Comment