Home  >  Article  >  What is the procedure?

What is the procedure?

青灯夜游
青灯夜游Original
2020-07-18 13:21:226681browse

A program is a sequence of instructions. A computer program is a set of instructions that a computer can recognize and execute. It runs on an electronic computer and is an information tool that meets certain needs of people. It is written in certain programming languages ​​and runs on a certain target structure system.

What is the procedure?

Computer Program is a set of instructions that a computer can recognize and execute. It runs on an electronic computer to meet certain needs of people. tool.

It is written in some programming languages ​​and runs on some target architecture. For example, a program is like an article written in English (programming language). It needs to be read, understood, and marked by a person who understands English (compiler) and who can also read this article (structure system). article. Generally, computer programs based on English text must be compiled and linked into a digital format that is difficult for humans to interpret but can be easily interpreted by computers, and then put into operation.

A program is a sequence of instructions.

Running of the program

In order for the computer program to run, the computer needs to load code as well as data. From the bottom of the computer, this is a high-level language (such as Java, C/C, C#, etc.) code that is translated into machine language and is understood by the CPU for loading.

If you load and execute many programs on a computer that meets most operating systems such as Windows, Linux, etc., in this case, each program is a separate mapping, not the computer All executable programs on.

It refers to a sequence of coded instructions that can be executed by a device with information processing capabilities such as a computer in order to obtain a certain result, or a sequence of symbolic instructions or symbols that can be automatically converted into a sequence of coded instructions. Statement sequence. The source program and object program of the same computer program are the same work.

Algorithm

Algorithm refers to a strict explanation method for certain problems. Generally, an algorithm has the following characteristics:

  • Finiteness: The algorithm must be guaranteed to end after executing a limited number of steps.

  • Feasibility: The algorithm is definitely feasible. Even in mathematics, the algorithm is feasible, but if in practical applications, the program cannot be executed, then the algorithm does not have feasible.

  • Exactness: Each step of the algorithm must have a clear meaning.

  • Input: An algorithm must have 0 or more inputs.

  • Output: An algorithm must have 1 or more outputs.

For more related knowledge, please visit: PHP Chinese website!

The above is the detailed content of What is the procedure?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn