Praktikum Pemrograman Komputer (FIS-134)

download Praktikum Pemrograman Komputer (FIS-134)

If you can't read please download the document

  • date post

    31-Dec-2016
  • Category

    Documents

  • view

    223
  • download

    1

Embed Size (px)

Transcript of Praktikum Pemrograman Komputer (FIS-134)

  • !"#$%&'()*+,*$!

    !"#$%&$'#'()*%#!+,"$-./012345

    67889)6:;)#[email protected]?-A:;

  • !"#$%&'()*+,*$-&'.-("/()-)0&1"-2$+.(

    !"#$%&'&(&)*+,-+.-/&0-1-2-&3

    )456789:975

    !"#"$ %&'"()*(+$%&,$'-.'"$"/ % (-$&+),' % */*0 % (*)" % "("/ %$,/..+/"("/ %1"2"3" %4%

    +/)+(%1,#"5"'%$,/6+3+/%&'-.'"$%(-$&+),'%1,'7"3"'("/%"#.-'*)$"%6"/.%),#"2%7*3+3+/8

    9,'7"&")%1"/6"(%5,/*3%1"2"3"%&,$'-.'"$"/0%3,&,')*:%;-')'"/0%?40%@"3A"#0%B"C"0%

    7"/%#"*//6"8%,#"*/ %1"2"3" %"'"3 % )*/..*0 % ),'7"&") % 5+."%

    1"2"3"%"'"3%',/7"2%E%*/$%&'&%$()*#)+,,"-#$%+-#.+#&F%6"*)+%1"2"3" %+00&,1%2% 6"/.%#,1*2%

    7,(")%7,/."/%1"2"3"%$,3*/%E(-7,%6"/.%7*$,/.,')*%-#,2%(-$&+),'F8

    ,#"*/%$,$*#*(*%(,+/..+#"/%

    7"'* % 1"2"3" % &,$'-.'"$"/ % "'"3 % )*/..*0 % 6"*)+ %$,/..+/"("/ % &,'*/)"2 % 6"/. % #,1*2 %$+7"2%

    7*&"2"$*%-#,2%$"/+3*"0%1"2"3"%4%5+."%$,$*#*(*%(,A,&")"/%,(3,(+3*%$,/7,(")*%(,A,&")"/%

    ,(3,(+3* % 1"2"3" % "'"3 % ',/7"2 % 7"/ % 5+." % (,$"$&+"/ %$,$"/*&+#"3* % "#"$") % 7")" % 3,A"'"%

    #"/.3+/.8 % G,+/..+#"/ % */*#"2 % 6"/. % (,$+7*"/ %$,/5"7*("/ % 1"2"3" %4 % 1"/6"( % 7*&*#*2 % -#,2%

    &'-.'"$$,' % (-$&+),' % +/)+( %$,/6+3+/ % "*("3* % E3-H)I"',F % (-$&+),'0 %$+#"* % 7"'* % 3*3),$%

    -&,'"3*%E*(&)+5"-#$0205&,F%3,&,')*%J*A'-3-H)DK*/7-I30%J"A%")"+%L*/+M%2*/.."%"*("3*%6"/.%

    1,'5"#"/ % 7* % 7"#"$ % 3*3),$ % -&,'"3* % 3,&,')* % "*("3* % &,/.-#"2 % (")" % E/*)3 $ ()*6&00*)4% 7"/%

    &,/.-#"2%7")"8

    24;

  • !"#$%&'()*+,*$-&'.-("/()-)0&1"-2$+.(

    !"#" $ %"&'( $ )*+,- $ ./((01 $ 20%3&0/ $ #"40 $ 5"674"%740'8 $ 9/:: $ #0 $ ;8/40/86"(>>'("4"%01 $J7%/A"#[email protected]"(>$8/80:0"( $5'(%$+(')"--'(- $1/&0(>>"$;(#"$ %0#">'("4"8$;(#"F

    ;>"4$4"[email protected]"(>$;(#"$%':01$#"A"%$#08/(>/4%0$#"($#0C":"(>'(""6'(>"( $ @"(> $ #0"0 $ R.U $ B61!"4(2!"% $ 7"8",'+*"1!$

    918&('1*"1!E $ @"(> $ 1/:"0( $8/80:0" $#0:/(>4"10$#0$#":"8(@"F$.0$101%/8$7A/4"10$G=OP0(#7H1-$R.U$'(%'4"8"($?$

    @"(> $ 3' $ #"A"%$

    #0A/47:/&$#0$HHHF6:77#1&/#F(/%F$G/1/86"(>"( $ 6"&"1" $ ? $ '(%'< $ A/847>4"8"($

    6/4740/(%"10$76C/'("O

    3&4.005&4)(-)6)0 7

  • !"#$%&'()*+,*$-&'.-("/()-)0&1"-2$+.(

    !"#$%&'!"#$%&$"'()"'%*+%*$&$,%-./%012(13)04

    !"#$%"$#&'()(#&*(+()(&,

    5126$0+7$"%829'2$,%(1*126$"$%*$&$,%3$6$($%:%312+7)0;

    !"#$%&'()*+'",-./

    01"#23

    4

    56"#+72891%,:'"1:;#

    1%:%*$"%!"#$%&'4%A+7$%0+*$7%$*$%81($"%71($&$6$"@%3)7$%79"(9&1%BC9,,$"*!

    829,80%DE!F+"*9G(H%*$"%,$()7%71%*2+>1%,-%*1"'$"%,1"'10+7%812+"0$6%$';%71,)*+$"%710+7%

    812+"0$6%!"#$%*$"%017$"%09,39&%1"0124%I$(+&%#$"'%,)"C)&%*+%&$#$2%$*$&$6%0)&+($";

    91%,:'"1

    51"J1&$($"%829'2$,;

    529'2$,%*+%$0$(%*+$G$&+%*1"'$"%812+"0$6%!"#$%&'()*+'",-./4%512+"0$6%!"#$%&'(:

    ,12)8$7$"%($&$6%($0)%J1"+( %$('$("!'))"( *B81"'$2$6H4%512+"0$6%+"+%$7$"%,1,+"0$%79,8)012%

    ,1,3$C$%=+&1 %*+'",-.% B#$"'%*+7$01'92+7$"%(13$'$+%=+&1 %+',-'(H%(131&),%,)&$+%,1,3$C$%

    812+"0$6 % &$+""#$4 % K+&1 % 61$*12 % +"+ % 312+(+ % (17),8)&$" % =)"'(+ % #$"' % $7$" % *+')"$7$" % *$&$,%

    829'2$,%#$"'%*+()()"4%K+&1 %*+'",-.% *+8$"''+&%7$21"$%=)"'(+ %56"#+723% #$"'%*+"#$0$7$"%

    *$&$,%=+&1%61$*12%*+'",-.%$7$"%*+')"$7$"%*$&$,%829'2$,%#$"'%*+()()"4

    E1&$"J)0"#$%012*$8$0%=)"'(+;

    01"#23:

    4

    >

    K)"'(+ %01"#23% ,12)8$7$" % =)"'(+ % #$"' % 6$2)( % $*$ % *$&$, % (10+$8 % 829'2$, % #$"'%

    ,1"'')"$7$"%3$6$($%:%7$21"$%79,8)012%$7$"%,1,)&$+%,1,3$C$%812+"0$6%*$2+%=)"'(+%+"+4%

    3&4.005&4)(-)6)0 7

  • !"#$%&'()*+,*$-&'.-("/()-)0&1"-2$+.(

    !"#$%&'&'()#*+,&'-"#$%&',".'/+$&'-"#$%&0-"#$%&'1+#$'2+'4)5)2+6'#+(+'-"#$%&'1+#$',&&."5&'

    %)7+%+#$ ' 5+#,+ ' ."8"#$ ' 91+#$ ' ()#"#*"..+# ' /+6:+ ' (+ ' ()8"7+.+# ' %)/"+6 ' -"#$%&;

  • !"#$%&'()*+,*$-&'.-("/()-)0&1"-2$+.(

    !"#$%&'()*+,-+'.)/$)'0'%1)%$.*'()/2(-'()('.')!"#$%&!)/'()!"#$%&'3)4$&')0$/'&)'/')

    *2%'()&2%'#'5'(1)6"&')&,(%,#2)78,..'(/9*+,.*0):;9)/'()&20$&)*2+$(0'5)!"#$%'

    &2."/$'()02&'()0,.6,#)2(02+3)?'%$#)@'(-)."(8"#)/$)#'@'+)'/'#'5)&,.*"02+)'&'().2.$(0')

    A(/').2.'%"&&'()%26'+'(-)('.'1)&2."/$'().2('.*$#&'(B

    !"##$))()#)

    /2(-'()()#))/$-'(0$)&'+'&02+)@'(-)A(/').'%"&&'(3

    C2(D2#'%'()*+,-+'.B

    C'/' ) *+,-+'. ) /$ ) '0'%1 ) *2+$(0'5 )!($) ' *$+$,-./0) .2.$(0' ) &,.*"02+ ) "(0"&)

    .2(@$'*&'()'#'.'0).2.,+$)@'(-)'&'()/$$%$),#25).'&%$.'#)EF)&'+'&02+)/'()'#'.'0)$($)'&'()

    /$62+$)#'62#)*$+$+1)[email protected]'(-)%2#'(D"0(@')'&'()/$%26"0)%26'-'$)$'()(*))'0'")%*'(+%,%'->3)2($)'

    .2+"*'&'()%'#'5)%'0")0$*2)/'0')@'(-).2.62+$)0'5")&,.*"02+)6'5=')*2('(/')*$+$+1)'&'()

    62+$%$)/'0')/2(-'()0$*2)%0+$(-)76262+'*')&'+'&02+>3

    C2+$(0'5 )3!$*4567389 ' :*$+$+1;0) 62+'+0$ ) &,.*"02+ ) '&'( ) .2.$(0' ) .'%"&'()

    62+"*')%0+$(-)7&'+'&02+>)/'()/$%$.*'()*'/')'#'.'0)@'(-)02#'5)/$62+$)#'62#)()#)#.3)!'(/')7'

    /$('.'&'( ) *2(2(0" ) G,+.'01 ) /'( ) &'+2(' ) G,+.'0 ) @'(- ) /$.$(0' ) '/'#'5 ) %0+$(- ).'&' ) *'/')

    *+,-+'.)/$'0'%)/$*$#$5)73")!'(/'):)/$%26"0),*2+'0,+)'#'.'0)%25$(--'):*$+$+1)62+'+0$)/'0')

    @'(-)/$.'%"&&'()'&'()/$%$.*'()*'/')'#'.'0)/'+$)%"&"&'3

    !2+'&5$+1)*2+$(0'5)[email protected]@"'73'A*89'*$+$+1;0).2.$(0')&,.*"02+)"(0"&)

    .2('.*$#&'( ) %0+$(- )/)&&") @'(- ) /$$&"0$ ) ,#25 ) &'+'&02+ ) @'(- ) 02+%$.*'( ) *'/' )*$+$+1) /'()

    &2."/$'()&"+%,+)62+*$(/'5)6'+$%3

    #$%&'()*+%,-./$%0+1

    H20$&').2("#$%&'()&,/2)*+,-+'.1)'/'&'#'(@')A(/')*2+#").2(@$%$*&'()&,.2(0'+)'-'+)

    ,+'(-)#'$()@'(-).2.6'8')*+,-+'.)A(/')/'*'0).2.'5'.$)&,/2)A(/')/2(-'()#26$5)."/'5)

    '0'")A(/')D"-').2.2+#"&'((@')"(0"&).2(-$(-'0)*+,-+'.)'*')@'(-)A(/')0"#$%3)I$)/'#'.)

    6'5'%')J1)&,.2(0'+)/$/'5"#"$),#25)0'(/')KK)'0'")%2*'%'(-)0'(/')KL)/'()LK3)A*'6$#')&,.2(0'+)

    8"&"*)*2(/2&)/'()5'(@').2(2.*'0$)%'0")6'+$%)6$'%'(@')/$-"('&'()0'(/')KK)%2/'(-&'())D$&')

    &,.2(0'+)A(/')8"&"*)*'(D'(-)/'().2(2.*'0$)6262+'*')6'+$%).'&')/$/'5"#"$),#25)KL)/'()

    /$'&5$+$ ) ,#25 ) LK3 )H,.2(0'+ ) ) 0$/'& ) '&'( ) /$*+,%2% ) &20$&' ) &,/2 ) *+,-+'. ) /$9!"#$%&'3 ):'&')

    3&4.005&4)(-)6)0 7

  • !"#$%&'()*+,*$-&'.-("/()-)0&1"-2$+.(

    !"#$"%&'()*)+,&-.%'/%!%0'/10,+1(2%-'/)-$%-'2#&)-0%"3

    !"#$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

    ##############%&'(&)*#%+&,)*)

    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#"!

    -./0123+45,3.'678

    *)./9:

    ;

    07)/)*)*[email protected]

    A&./,B9CD)52EE)/#/)*)#F/3)G#H:@

    50)/B9CI5HJK/)*)*2:@######!!#*+*)52EE)/#/)*)

    A&./,B9CL)11'#I5#M/#HJ#/)*)*2:@

    N

    !"#$%

    4,%0+%5'!"#$"%&'.%-$'&)&1-0%'&%(,2%-'-%&%6'789'/%-'!"#/1':!"#$"%&'(0,/1;'2)&,/1%-'

    &)-%&!1+2%--.%'2)' +%.%"< '=1&!%-'>1+)'/)-$%-'-%&% 'E+1)5O=OPQD60' /1&%-%'2)+%('/%-'

    789'/1$%-01'/)-$%-'2)+%('/%-'789''?-/%'()-/1"1-'7)#>+#>+#0-#'0"762$)*'7)#>)*/-0-#'6)*#.-$--#'

    .-#>',-+#'-6-(+,-'4.-*-$'$+1-0'1+6)#2%+:'G-,-7'%-,'+#+3'0+$-'7)#>>2#-0-#'6)*#.-$--# '&'(

    )*+)'1)#>-#'H"*7-$'()*+02$&

    &''84.-*-$9'6)*#.-$--#I=')*+)'6)*#.-$--#IJ''%-*24'1+0)*/-0-#',)(+%'1-*+'4-$23'7-0-'1+>2#-0-#'(,"0'6)*#.-$--#&

    &''84.-*-$9'@'6)*#.-$--#I=A

  • !"#$%&'()*+,*$-&'.-("/()-)0&1"-2$+.(

    !"#$%&'&&$(!"#$%&$()*+&(,&-&'(,.$%&'&/&$(,&0&1(2"$'*/(2"#'.$+/&'(3

    !"'45%&'678(9(-"#$%&'&&$67:;(

    ((((((((((((((((((((((((((-"#$%&'&&$678(9(-"#$%&'&&$6>:;(

    ((((((((((((((((((((((((((((((((((((-"#$%&'&&$6>

  • !"#$%&'()*+,*$-&'.-("/()-)0&1"-2$+.(

    !"#$"%&'(")(*+,

    !"#$%&'()*+'",-./

    !

    01"#2345

    "#+41#6718

    "

    9:"#+;21:1#641#6714>&%[email protected]??34B4(:1'14'"41#+1:14G?4'1#4A??4I#

  • !"#$%&'()*+,*$-&'.-("/()-)0&1"-2$+.(

    !"#$%&'(&)*+$%,-.,-

    !"#"$%$&$'(")%*+,-+"$.%)&+/"0"1-%"0"%'&'&+"*"%*&+21)"3%")"(%*&+14")""1%4"1-%

    21-21%02(#"1-%'&'&+"*"%/"#2%5"$"%12#"2%5(")(%6"+2"'%'($%$&$&1(32%12#"2%)&+)&1)(7%8#239

    "#23 % $&1(#25/"1 % *&+14")""1 % )"02 % 5&:"+" % '&+(#"1-. % /2)" % 0"*") % $&14")"/"114" % $"#(2%

    *&+14")""1%*&+(#"1-"1%!"#%")"(%$%&'(7%;&'($14".%3"+(5%02*"3"$2%)&+#&'23%0"3(#(%25)2#"3%

    ,*&+"),+%!"#$"%"&'%

  • !"#$%&'()*+,*$-&'.-("/()-)0&1"-2$+.(

    !"#$$ !"#$%&'()'*'+$ ,-./-%0/+1%/&/%&-%#'23/4%5/)-/2'.%&-13+/6/+%&/43.37%2/)3%&-63)/+1%#/$3

    $$!"# !)'%&'()'*'+$ ,-./- % 0/+1 %/&/ %&- % #'23/4 % 5/)-/2'. % &-63)/+1%#/$37%2/)3%6'*3&-/+%&-13+/6/+

    !"#$%&'(&')*"'(&')!"#

    8")*/$%9')-+$/4%9')3./+1/+%&'+1/+%*'+113+/6/+%%'/&/./4%#'2/1/-%2')-63$:

    %'()*+,#)+-./0')*+,#)+-.10')*+,#)+-.23',)#45"6""4'0

    ;'&/+16/+%2'+$36%9')3./+1/+%&-*/+/%$')&/9/$%.'2-4%&/)-%#/$3%9')+0/$//+%&/9/$%&-+0/$/6/+%

    &/./*%2'+$36%2."6%9')+0/$//+: