Methods of Algorithm Description Second Edition to accompany the


Note: There are two acceptable ways to represent a decision in all of the structures. 1. The condition



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

Note: There are two acceptable ways to represent a decision in all of the structures.

1. The condition is expressed as a statement and the two possible outcomes are indicated by True, False.




2. The condition is expressed as a question and the two possible outcomes are indicated by Yes, No.




Either method is acceptable. For consistency, the former method is used throughout the document.


Multi-way Selection



Multi-way selection allows for any number of possible choices, or cases. The path taken is determined by the selection of the choice which is true. Multi-way selection is often referred to as a case structure.

TT2U In pseudocode, multiple selection is expressed as:

CASEWHERE expression evaluates to
choice a : process a

choice b : process b

OTHERWISE : default process ENDCASE


Download 110,98 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   10   ...   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