Laporan Hasil Alpro Modul Vi
October 27, 2018 | Author: Adin Fahruddin | Category: N/A
Short Description
(PROSEDUR DAN FUNGSI)...
Description
LAPORAN HASIL PRAKTIKUM ALGORITMA DAN PEMROGRAMAN 1
NAMA
: ALI ALI FAHRUDDIN FAHRUDDIN
NIM
: DBC 113 113 046
KELAS
:G
MODUL
: VI VI (PR (PRO OSEDUR DA DAN FU FUNGSI)
JURUSAN TEKNIK INFORMATIKA FAKULTAS FAKULTAS TEKNIK TEKNI K UNIVERSITAS PALANGKA RAYA 2013
BAB I
TUJUAN DAN LANDASAN TEORI 1.1
Tujuan Pra!"u#
1. Daa! Daa! "#"a$ "#"a$a"% a"% &'# &'# *'#+ *'#+,* ,* +a -, -,% % /. Ma", Ma", "#",a! "#",a! *'#+, *'#+,** +a -,% -,% a%& +#a +#a a*a"#! a*a"#!#* #* "a,, "a,, !aa !aa a*a"#!#* 3. Ma", "#"#+a&a "#"#+a&a &aa "#,a "#,a&a &a *'#+, *'#+,** +a -,%
1.2 Lan$a%an T&'r" &'r" Pr'%&$ur $an Fun(%"
D% +aa" +,%a #"*'*a"a #"*'*a"a ,!,& "#",a! "#",a! ,a!, *'*a" 2a #a* "a&a *'*a" !#*#,! #*, +%,, +a*% ,*'*a" 2a %5%. S#!%a , ,*' *'* *a" a" !#*& !#*&a+ a+a a +aa +aa!! #*+ #*+%* %*%% #+% #+%*% *% +a*% +a*% *' *'*a *a" " ,!a" ,!a"aa +a +a !%a !%a ,*'*a" %!, +%#,! #aa% "'+, *'*a".+% +aa" #"*'*a"a aa a+a /
#% #%
"'+, +,
2a a
#*% #*%
+%, %,a&a a&a
2a%!, a%!,
*'# *'#+ +,*( ,*(*' *'# #+ +,*#) ,*#)
+a +a
-,%(-,!%'). D#a a+a2a "'+, +aa" ,a!, *'*a" "#"#*%&a +,a &7#,!,a &7#,!,a #*!a"a #*!a"a ,!,& ,!,& "#$%+a "#$%+a*% *% #,%a #,%a !#& *'*a" *'*a" 2a a"a #a*a #*,a &a% &%!a ,&, "#,%&a "'+, *'*"a #&a% aa#!#a$ %!, &%!a +aa! "#a&# ("#"a%) "'+, *'*a" %!, #%$ +a*% a!, &a% #,a% +#a +#a ,!,$a ,!,$a *'*a" *'*a" %!, #+%*%a+% #+%*%a+%# #,a ,aa a "'+, "'+, *'*a" *'*a" +aa! "#,*a% aa2a *'*a".
A. Pr'% Pr'%&$ &$ur ur
*'#+,* a+aa$ "'+, *'*a" 2a 2a "##*a&a a&!%8%!a 9 !,a #a*a &$,, +a "#$a%&a ,a!, #-#& !#*!#!,. Daa" *'#+,* ,a &%!a #*, "#+#-%%%&a 8a*%a# 2a a&a +%,a&a +aa " *'#+,* !#*#,!. Va*%a# Va*%a# a+a *'#+,* %% #*%-a! '&aa*!%2a 8a*%a# +aa" *'#+,* %% $a2a #*a&, +aa" '#*a% a+a *'#+,* 2a "#+#&a*a%&a 8a*%a# !#*#,!.#*%&,! '!'$ #+#&a*a%a ,a!, *'#+,*. P*'#+,* "#*,a&a "#*,a&a ,a!, *'*a" 2a !#*%a$ +aa" '& #+%*% 2a #*-,% #aa% ,5*'*a" ("'+, *'*a") *'*a") 2a "#*,a&a #,a$ *'*a"
% ,!,& "#"*'# #a%a +a*% #*aa *'*a" ,!a"a. P*'#+,*# #*,a ,!,& "#,",&a "#,",&a !a!#"#5!a!#"#! (P#*2a!aa) 2a +aa! +%aa&a "#a+% a!, +aa" '& +a ,!,& "#aa&a "a% $a2a +#a "#,%&a a"a *'#+,*# 2a "#a",2a 2a%!, #"a%a +%a&,&a a+a *'*a" ,!a"a.
STRUKTUR PRO)EDURE * •
JUDUL +,&a$&r- / na#a r'%&$ur $an $&ara%" ara#&!&r+aau a$a-
•
DEKLARASI / #&n(u#u#an na#ana#a $an !"& $a!a
•
ALGORITMA / a$an r'%&$ur +"n%!ru%"-
NOTASI ALGORITMA UNTUK PRO)EDURE * Pr'&$ur& Na#aPr'%&$ur+$&ara%" ara#&!&r4 j"a a$a-
#%-%&a% *'#+,* #*%% ##aa !#!a aa 2 +%a&,&a '#$ *'#+,* %%. Kondisi awal : a+aa : a+aa ##," *'#+,* +%a&aa&a. Kondisi akhir : a+aa : a+aa #!#a$ *'#+,* +%a&aa&a; DEKLARASI
#",a a"a 2 +%a&a% +% +aa" *'#+,* +a $a2a #*a&, '&a +% +aa" *'#+,* %%; ALGORITMA
a+a *'#+,* #*%% ,*,!a %!*,&%;
PENGGUNAAN5PEMANGGILAN PENGGUNAAN5PEM ANGGILAN PRO)EDURE * •
P*'#+,* ,&a *'*a" 2 #*%+%*% #+%*%
•
P*'#+,* !%+a& +aa! +%#&#&,% #a*a a,.
•
I!*,&%5%!*,&% +% +aa" *'#+,* +aa! +%a&aa&a %a *'#+,* %!, +%a&#.
•
P*'#+,* +%a&# + a*a "#"a% a"a2a +a*% *'*a" #"a% ("%a2a +a*% *'*a" ,!a"a a!a, "'+, *'*a" a%2a)
•
View more...
Comments