For beginners and inexperienced programmers, the question often arises: “What are algorithms and why are they needed?” Although this concept is slowly disappearing into oblivion, but it is still relevant. When creating large commercial projects, it is simply impossible to do without algorithms. And before you start programming, it is better to understand them and only then proceed to practical exercises. Although this concept is associated with the creation of software on a PC, but it is quite common in everyday life. This article will give an example of what algorithms are in real life.
In computer science
, . , . . :
:
In the first case, it consists of standard blocks, the appearance of which is regulated by GOST with serial number 19.701-90. For example, a simple operation here will look like a rectangle, and the selection condition is a rhombus.The text description is not so obvious and therefore is used much less frequently. In appearance, it resembles a regular bulleted list with numbers or letters. According to the structure, a linear description is distinguished with branching. The first option is much less common. The difference between them is that in the second case there are branching units and the number of calculations to obtain the final result is unknown.
Real life
, . . , :
. , , . . .
, . – . , . . - . , – . , , .