Home > Common Problem > What are the 5 major features of the program?

What are the 5 major features of the program?

coldplay.xixi
Release: 2020-07-09 13:34:08
Original
17276 people have browsed it

The five major characteristics of a program are: 1. Finiteness, the operating steps of an algorithm are limited and cannot be infinite; 2. Determinism, each step in the algorithm must be determined, It cannot be ambiguous; 3. Input, what is needed to execute the algorithm; 4. Output, the result that the program needs to get; 5. Validity, so that the program can run effectively without exceptions.

What are the 5 major features of the program?

The five major characteristics of the program are:

1. Finiteness: a The operating steps of the algorithm are limited and cannot be infinite. This is easy to understand. The code of any project is limited, and the operating steps are of course also limited.

2. Determinism: The words that must be determined for each step in the algorithm cannot be ambiguous, like: if what, then, if not, if what, then whatever, this or that, it is not clear which one to choose and how to go about it.

3. Input: What is needed to execute the algorithm, such as comparing the ages of a and b, how do you compare entity data without age.

4. Output : The program is to solve a specific problem, so the program needs to get a result, which is the output.

5. Effectiveness: It is to make the program run effectively without exceptions. , thereby obtaining a specific result.

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template