Thursday, May 6, 2021

List the differences between a process and a program in operating system

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.

 

 

******************
Related Questions:


 List the differences between program and process in Operating system

Differentiate between program and process in OS

 

 

No comments:

Post a Comment

Featured Content

Multiple choice questions in Natural Language Processing Home

MCQ in Natural Language Processing, Quiz questions with answers in NLP, Top interview questions in NLP with answers Multiple Choice Que...

All time most popular contents

data recovery