Suche senden
Hochladen
Lecture8
•
Als PPT, PDF herunterladen
•
0 gefällt mir
•
216 views
M
Munkhchimeg
Folgen
Technologie
Kunst & Fotos
Melden
Teilen
Melden
Teilen
1 von 17
Jetzt herunterladen
Empfohlen
Lecture8
Lecture8
Munhchimeg
Lecture8
Lecture8
Munhchimeg
давталттай алгоритм
давталттай алгоритм
GEnkhjargal
Davaa123
Davaa123
CHIMGEE14
давталттай алгоритм
давталттай алгоритм
Enkh Gvnj
Lecture 2
Lecture 2
Muuluu
Өгөгдлийн бүтэц
Өгөгдлийн бүтэц
Muuluu
Prestation_ClydeShen
Prestation_ClydeShen
Clyde Shen
Empfohlen
Lecture8
Lecture8
Munhchimeg
Lecture8
Lecture8
Munhchimeg
давталттай алгоритм
давталттай алгоритм
GEnkhjargal
Davaa123
Davaa123
CHIMGEE14
давталттай алгоритм
давталттай алгоритм
Enkh Gvnj
Lecture 2
Lecture 2
Muuluu
Өгөгдлийн бүтэц
Өгөгдлийн бүтэц
Muuluu
Prestation_ClydeShen
Prestation_ClydeShen
Clyde Shen
4th annual india leadership awards 2014
4th annual india leadership awards 2014
Indian Affairs
4th annual india leadership conclave
4th annual india leadership conclave
Indian Affairs
Lecture6
Lecture6
Munkhchimeg
4th annual pharmaceutical leadership summit
4th annual pharmaceutical leadership summit
Indian Affairs
Ded Algorithm1
Ded Algorithm1
Munkhchimeg
Chap12alg
Chap12alg
Munkhchimeg
U.cs101 алгоритм программчлал-5 zasvar badral(1)
U.cs101 алгоритм программчлал-5 zasvar badral(1)
Badral Khurelbaatar
U.cs101 алгоритм программчлал-3
U.cs101 алгоритм программчлал-3
Badral Khurelbaatar
5 algorithm
5 algorithm
Turuu Tsogt
Lecture7
Lecture7
Batjargal Batbold
Algortmin dawtalt
Algortmin dawtalt
Munkhuu Buyanaa
U.cs101 алгоритм программчлал-7
U.cs101 алгоритм программчлал-7
Badral Khurelbaatar
онол
онол
Баярсайхан Л
Algortmin parametrt dawtalt hicheel
Algortmin parametrt dawtalt hicheel
Munkhuu Buyanaa
алгоритм
алгоритм
Ichinnorov Ganbat
6 shugaman
6 shugaman
Turuu Tsogt
U.cs101 алгоритм программчлал-2
U.cs101 алгоритм программчлал-2
Badral Khurelbaatar
Lecture6
Lecture6
Batjargal Batbold
Lecture7
Lecture7
Munkhchimeg
Lecture7
Lecture7
Munhchimeg
Algoritm
Algoritm
Student
Lecture7
Lecture7
Munhchimeg
Weitere ähnliche Inhalte
Andere mochten auch
4th annual india leadership awards 2014
4th annual india leadership awards 2014
Indian Affairs
4th annual india leadership conclave
4th annual india leadership conclave
Indian Affairs
Lecture6
Lecture6
Munkhchimeg
4th annual pharmaceutical leadership summit
4th annual pharmaceutical leadership summit
Indian Affairs
Ded Algorithm1
Ded Algorithm1
Munkhchimeg
Chap12alg
Chap12alg
Munkhchimeg
Andere mochten auch
(6)
4th annual india leadership awards 2014
4th annual india leadership awards 2014
4th annual india leadership conclave
4th annual india leadership conclave
Lecture6
Lecture6
4th annual pharmaceutical leadership summit
4th annual pharmaceutical leadership summit
Ded Algorithm1
Ded Algorithm1
Chap12alg
Chap12alg
Ähnlich wie Lecture8
U.cs101 алгоритм программчлал-5 zasvar badral(1)
U.cs101 алгоритм программчлал-5 zasvar badral(1)
Badral Khurelbaatar
U.cs101 алгоритм программчлал-3
U.cs101 алгоритм программчлал-3
Badral Khurelbaatar
5 algorithm
5 algorithm
Turuu Tsogt
Lecture7
Lecture7
Batjargal Batbold
Algortmin dawtalt
Algortmin dawtalt
Munkhuu Buyanaa
U.cs101 алгоритм программчлал-7
U.cs101 алгоритм программчлал-7
Badral Khurelbaatar
онол
онол
Баярсайхан Л
Algortmin parametrt dawtalt hicheel
Algortmin parametrt dawtalt hicheel
Munkhuu Buyanaa
алгоритм
алгоритм
Ichinnorov Ganbat
6 shugaman
6 shugaman
Turuu Tsogt
U.cs101 алгоритм программчлал-2
U.cs101 алгоритм программчлал-2
Badral Khurelbaatar
Lecture6
Lecture6
Batjargal Batbold
Lecture7
Lecture7
Munkhchimeg
Lecture7
Lecture7
Munhchimeg
Algoritm
Algoritm
Student
Lecture7
Lecture7
Munhchimeg
Lecture7
Lecture7
Munkhchimeg
If presentation
If presentation
Tsoomoo Myagmar
Ähnlich wie Lecture8
(18)
U.cs101 алгоритм программчлал-5 zasvar badral(1)
U.cs101 алгоритм программчлал-5 zasvar badral(1)
U.cs101 алгоритм программчлал-3
U.cs101 алгоритм программчлал-3
5 algorithm
5 algorithm
Lecture7
Lecture7
Algortmin dawtalt
Algortmin dawtalt
U.cs101 алгоритм программчлал-7
U.cs101 алгоритм программчлал-7
онол
онол
Algortmin parametrt dawtalt hicheel
Algortmin parametrt dawtalt hicheel
алгоритм
алгоритм
6 shugaman
6 shugaman
U.cs101 алгоритм программчлал-2
U.cs101 алгоритм программчлал-2
Lecture6
Lecture6
Lecture7
Lecture7
Lecture7
Lecture7
Algoritm
Algoritm
Lecture7
Lecture7
Lecture7
Lecture7
If presentation
If presentation
Mehr von Munkhchimeg
Protsesor
Protsesor
Munkhchimeg
Lecture916
Lecture916
Munkhchimeg
Lecture915
Lecture915
Munkhchimeg
Lecture914
Lecture914
Munkhchimeg
Lecture913
Lecture913
Munkhchimeg
Lecture911
Lecture911
Munkhchimeg
Lecture912
Lecture912
Munkhchimeg
Lecture910
Lecture910
Munkhchimeg
Lecture5
Lecture5
Munkhchimeg
Lecture9
Lecture9
Munkhchimeg
Lecture8
Lecture8
Munkhchimeg
Lecture4
Lecture4
Munkhchimeg
Lecture3
Lecture3
Munkhchimeg
Ded Algorithm
Ded Algorithm
Munkhchimeg
Tobch Lecture
Tobch Lecture
Munkhchimeg
Lecture914
Lecture914
Munkhchimeg
Tobch Lecture
Tobch Lecture
Munkhchimeg
Pm104 Standard
Pm104 Standard
Munkhchimeg
Protsesor
Protsesor
Munkhchimeg
Pm104 2004 2005
Pm104 2004 2005
Munkhchimeg
Mehr von Munkhchimeg
(20)
Protsesor
Protsesor
Lecture916
Lecture916
Lecture915
Lecture915
Lecture914
Lecture914
Lecture913
Lecture913
Lecture911
Lecture911
Lecture912
Lecture912
Lecture910
Lecture910
Lecture5
Lecture5
Lecture9
Lecture9
Lecture8
Lecture8
Lecture4
Lecture4
Lecture3
Lecture3
Ded Algorithm
Ded Algorithm
Tobch Lecture
Tobch Lecture
Lecture914
Lecture914
Tobch Lecture
Tobch Lecture
Pm104 Standard
Pm104 Standard
Protsesor
Protsesor
Pm104 2004 2005
Pm104 2004 2005
Lecture8
1.
Ìýäýýëëèéí ñèñòåì, àëãîðèòìèéí
¿íäýñ Ëåêö ¹08
2.
Àãóóëãà 1. Ïàðàìåòð
äàâòàëò 2.Ïàðàìåòð äàâòàëò áè÷èõ 3.Ïàðàìåòð äàâòàëòûã àëãîðèòìûí õýëýíä 4. Æèøýý áîäëîãóóä
3.
4.
5.
2. Параметрийн тухайн
үеийн утга эцсийн утгаас хэтэрсэн эсэхийг шалгасан нөхцөлтэй өмнөх нөхцөлтэй давталтыг зохиож бичнэ. 3. Давталтын биеийн төгсгөлд параметрийн утгыг алхамтай тэнцүү утгаар өөрчилж утга олгосон байна.
6.
7.
8.
9.
10.
11.
Давталтын алхам эерэг
бол параметрийн бага утгаас их утга руу өссөн утганд биелэх давталт болох бөгөөд хэрэв эцсийн утга нь эхний утгаасаа бага байвал давталтын бие биелэхгүй шууд дараачийн үйлдэлд шилжнэ .
12.
13.
Параметрт давталт Тоолуур
= эх, эцсийн, алхам Циклийн бие Тоолуур
14.
Жишээ 1. Өгөгдсөн
х,у хоёр бодит тооны аль ихийг нь ол ( өгөдсөнс утгуудын хамгийн их утгыг тэдгээрийн максимум гэж нэрлэнэ ) . 2.x,y,z гэсэн 3-н хэмжигдхүүний максимумыг ол. 3.N- натурал (n ≥1 ) болон a 1 , a 2 ,..., a n бодит тоонууд өгөгдсөн бол өгсөн дарааллын максимумыг олох алшгоритм зохио.
15.
Алг 1
ж _a Оруул (x,y) Max:= (x) Хэрэв y:>max Бол max:=y Гарга (max) Төгс
16.
Алг2 ж _b
Оруул (x,y,z) Max:=x Хэрэв y>max Бол max:=y Хэрэв z>max Бол max:=z Гарга (max) Төгс
17.
Алг3 ж _c
Оруул (n) Гарга ( “эхний тоог өг” ); Оруул (a); Max:=a ; i:=2; i ≤n бол _ давт { гарга ( “дараах тоог өг” ); Оруул (a); Хэрэв а >max Бол max:=a; i:=i+1 }; Гарга (max) Төгс
Jetzt herunterladen