📜  程序和指令之间的区别

📅  最后修改于: 2021-09-12 11:09:41             🧑  作者: Mango

1. 程序:
程序,顾名思义,就是一个软件应用程序,它包括一组按顺序排列的指令,专门设计用于执行特定任务,并且使用不同的编程语言对计算机进行编程。

2. 说明:
指令,顾名思义,就是一组指令、文档或步骤,它们是处理器的单个操作,需要由处理器执行。

程序和指令之间的区别:

Program Instruction
Programs are simply set of instructions or computer code. Instruction are simply order given to computer processor.
It instruct computer to carry out function such as calculation, formatting, etc. It instruct computer to perform discreet action such as move, load decimal, etc.
Programs are collection of software applications especially designed to execute specific task. These are set of machine language instructions that processor understand and perform.
Types of programs include game programs, word processors, web browsers, graphic programs, etc. Types of instruction includes integer instruction, floating-point instruction, flow control instruction, etc.
Programs are given to computer by computer programmer in specific programming language. Instructions are given to computer using keyword or input device by human beings.
Programs are generally stored in secondary storage devices such as hard disks and when we execute program, it gets copied on main memory. Instructions are generally stored on hard disk or any other storage device and are performed until they are executed by user.
These are hard to understand and create. These are easy to understand and create.
Compilers are used by computer to translate program written in high-level language to machine code and then it can be used directly by computer. Operating system or software’s are used by computer to translate user commands into human readable format.