Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the differences between a Program, an Executable, and a Process?

What are the differences between a Program, an Executable, and a Process?

like image 363
Mohammad Olfatmiri Avatar asked Oct 21 '12 16:10

Mohammad Olfatmiri


People also ask

What is the difference between a program and a process?

A program is a passive entity such as a file which contains a list of instructions stored on a disk often called an executable file. A process is an active entity with a program counter specifying the next instruction to execute and a set of associated resources.

Is an executable a program?

An executable is a file that contains a program - that is, a particular kind of file that is capable of being executed or run as a program in the computer. In a Disk Operating System or Windows operating system, an executable file usually has a file name extension of . bat, .com, or .exe.

What is difference between application process and application?

An application is a program which you interact with on the desktop. This is what you spend almost all of your time using on the computer. Internet explorer, microsoft word, iTunes, skype - they are all applications. A process is an instance of a particular executable ( .exe program file) running.

What is the difference between an exe?

The main difference between the two extensions is their purpose. EXE is used mainly to indicate that the file is an executable one. In comparison, MSI indicates that the file is a Windows installer. While an MSI is used only with installers, this is not the case with EXE.


1 Answers

In simple words -

Program: Program is a set of instructions which is in human readable format.(HelloWorld.c)

Executable: Executable is a compiled form of a Program (HelloWorld.exe file)

Process: Process is the executable being run by OS. The one you see in Task Manager or Task List (HelloWord.exe Process when we double click it.)

like image 57
Parag Meshram Avatar answered Sep 29 '22 00:09

Parag Meshram