A program or computer program essentially provides sequence instructions (or algorithms, if you like) to the operating system or computer. These computer programs come in an executable form that the operating system recognizes and can use to directly execute instructions.
Essentially, an Executable is a file in a format that a computer can execute directly, unlike source files that cannot be executed directly, and must be compiled first. The executable file is the result of compilation. I mentioned that the operating system recognizes the executable file, it does this through the extension. The common extension used for Windows executables is -.exe.
After executing the executable file, the process begins. A process is simply an instance of a computer program. You can think of the process as following the instructions contained in a computer program. When you view the Task Manager on a computer running Windows, you can see all the current processes. It processes its own resources, such as virtual memory, descriptions of the operating system (pens, data sources, sinks, etc.), security attributes and various other elements necessary for effective processing.
source share