1. 程序:
程序,顾名思义,就是由程序员开发的一组简单的指令,它们告诉计算机要执行什么,并由直接从计算机操作系统运行的编译代码组成。
2. 可执行文件:
可执行文件,顾名思义,是包含编码指令序列的计算机文件,是一种能够在计算机中作为程序执行或运行的特定文件。
程序和可执行文件的区别:
Program | Executable File |
---|---|
Programs are set of instructions followed by computer system. | Executable File is file format of windows i.e., .exe file. |
It contain instructions that computer can understand and execute. | It contains machine instructions for computer architectures supported by Windows. |
All programs cannot be Exe files. | All Exe files can be program. |
Types of programs include spreadsheets, graphics programs, web browsers, data base systems, etc. | Types of executable files can be compiled programs, scripts, etc. |
It consist of compiled code that might run or execute directly from operating system of computer. | It consist of several blobs of data and instructions about how data should be loaded in memory. |
Programs are used to perform specific task and enhance functionality of computer system. | These files are used on windows computers to install or run software applications. |
Programs are created by programmers in programming language. | Exe files are created by compilers that convert source code in to machine code. |
Program code are usually written in one or more languages as per knowledge of programmer rather than machine code. | Exe files are usually written according to Microsoft Portable Executable (PE) specifications. |