Methods of Algorithm Description Second Edition to accompany the



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

Pseudocode
verview of Two Methods


Pseudocode essentially is English with some defined rules of structure and some keywords that make it appear a bit like program code. Some guidelines for writing pseudocode are as follows.

Pseudocode Guidelines

• The keywords used for pseudocode in this document are: for start and finish

BEGIN MAINPROGRAM, END MAINPROGRAM

for initialisation

INITIALISATION, END INITIALISATION

for subprogram

BEGIN SUBPROGRAM, END SUBPROGRAM

for selection

IF, THEN, ELSE, ENDIF

for multi-way selection

CASEWHERE, OTHERWISE, ENDCASE

for pre-test repetition

WHILE, ENDWHILE

for post-test repetition

REPEAT, UNTIL

  • Keywords are written in capitals.

  • Structural elements come in pairs, eg for every BEGIN there is an END, for every IF there is an ENDIF, etc.

  • Indenting is used to show structure in the algorithm.

The names of subprograms are underlined. This means that when refining the solution to a problem, a word in an algorithm can be underlined and a subprogram developed. This feature is to assist the use of the ‘top- down’ development concept.

Download 110,98 Mb.

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