da settle pasal reg forum uh, miss bg notes utk chap 1&2.. bosan la tade buku, tp na wt cmne.. cosmo KEDEK..! btw, tnx miss cz da bg kami notes, so ta perlu la kami na g crik sndry.. hehe hmm pasal chap 1 tuuhh, kitorg blaja pasal Algorithm, Pseudocode, Flow Chart.. mcm bese, miss salu aja laju.. ta bole na berangan se saat pon.. grr nt mesty ta paam.. miss terang kn sume saly b4 dy bg exercise.. yg aq paam 3 bnde tuh saleng brkait rapat.. sala siket je kt algorithm confirm sala flow chart yg kite wt tuhh.. nmpk mcm simple tp lecehhh ! dala marks dy siket jekkk.. grr saba jela nan subject niyy.. hmm Algorithm nan pseudocode uh actually lbey kurng je jwpn,, cume beze dy, jwpn utk Algorithm niy lg pjg dpd jwpn utk pseudocode.. so lg menyampah na wt Algorithm.. pleng best wt flow chart laa.. cume kne hfl dy punyer symbols.. Flow Chart niy ade 6 symbols (Start/End, Input/Output, Process, Decision, Arrows & Connector).. stakat niy yg aq paam is Start/End uh msty kne wt bile na wt Flow Chart.. Start ats saly, End bwh saly.. Input/Output plak kne wt b4 n after Process.. Input uh b4 wt Process, Output plak pas wt Process.. Process bese nye utk ltx formula yg da tsedie kt soklan.. Utk Decision, Arrows nan Connector uh aq kurng paam cz lom pna wt soklan yg kne gne kn symbol2 tuhhh.. nt lw da try wt, myb paam la kot.. insyallah (:
- e.g for Input = read, get
- e.g for Output = print, display
- for multiply = * (e.g 100 * 2)
- for divide = / (e.g 10 / 100)
e.g : Find Area Of Rectangle [formula : area=width*height]
ALGORITHM
- Get the width of rectangle
- Get the height of rectangle
- Calculate the area of rectangle by multiply width by height
- Display the area of rectangle
- Read the width
- Read the height
- Set the area = width*height
- Print output
No comments:
Post a Comment