Methods of Algorithm Description Second Edition to accompany the


Note: As the flowchart version of the multi-way selection indicates, only one



Download 110,98 Mb.
bet8/17
Sana31.12.2021
Hajmi110,98 Mb.
#240246
1   ...   4   5   6   7   8   9   10   11   ...   17
Bog'liq
ddddddddddd

Note: As the flowchart version of the multi-way selection indicates, only one process on each pass is executed as a result of the implementation of the multi-way selection.

In a flowchart, multi-way selection is expressed as:

Examples Using Binary Selection



Problem 1: Write a set of instructions to describe when to answer the phone.

7TN Pseudocode



IF the telephone is ringing THEN answer the telephone

ENDIF





Flowchart




Problem 2: Write a set of instructions to follow when approaching a set of traffic control lights.

Pseudocode



IF the signal is green THEN proceed through the intersection

ELSE

stop the vehicle

ENDIF

Flowchart



An Example Using Multi-way Selection




Download 110,98 Mb.

Do'stlaringiz bilan baham:
1   ...   4   5   6   7   8   9   10   11   ...   17




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
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