The 1st theme: Introduction to the design of algorithms. Evaluation of algorithms in terms of volume and time. Horner's scheme for calculating the value of polynomials



Download 316,64 Kb.
bet3/4
Sana13.07.2022
Hajmi316,64 Kb.
#788967
1   2   3   4
Bog'liq
the 1st theme

The verbal form of the algorithm

  • The verbal form of the algorithm representation has a number of disadvantages. For sufficiently complex algorithms, the description becomes too cumbersome and not visual. This form of representation is usually used only at the initial stages of algorithm development.

Example to verbal form of the algorithm

The representation in programming languages

  • An algorithm written in a programming language is called a program.

The graphic form of the representation of algorithms

  • The graphic form of representation of algorithms is more visual and rigorous. The algorithm is depicted as a sequence of interconnected blocks, each of which corresponds to the execution of one or more operators. Such a graphical representation is called a flowchart of the algorithm.

To draw a flowchart following standard symbols are use

To draw a flowchart following standard symbols are use

Algorithm & Flowchart to find the sum of two numbers

The use of flowcharts makes it possible to:

  • The use of flowcharts makes it possible to:
    • visualize the basic constructions of the algorithm;
    • focus on the structure of the algorithm rather than on the syntax of the language;
    • analyze the logical structure of the algorithm;
    • transform the algorithm by the method of enlargement (reduction to a single block) or detailing - splitting into a number of blocks;
    • use the principle of blocks in the collective solution of a complex problem;
    • carry out a quick check of the developed algorithm (at the level of the idea);
    • to analyze a larger number of learning tasks.

Download 316,64 Kb.

Do'stlaringiz bilan baham:
1   2   3   4




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2025
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish