suke ta suke, tuless jeeerk . . FOP oouuhhh FOP. .best ke kw? ? xD

2/07/2011

example of questions

       Find Area Of Circle [formula : area=3.14*radius*radius]  
       ALGORITHM
  • Get the radius of circle
  • Calculate the area of circle with 3.14 multiply by radius by radius
  • Display the area of circle
       PSEUDOCODE
  • Read the radius
  • Set the area = 3.14*radius*radius
  • Print output
       FLOW CHART :

      Find Celcius [formula : celcius = (5/9)*(fahrenheit-32)]
        ALGORITHM
  • Get the fahrenheit of celcius
  • Calculate celcius equal to five divided by nine multiply by fahrenheit minus 32
  • Display the celcius of fahrenheit
       PSEUDOCODE
  • Read the fahrenheit
  • Set the celcius = (5/9)*(fahrenheit-32)
  • Print output
       FLOW CHART :

      Find Fahrenheit [formula : fahrenheit = (9/5)*(celcius+32)]
        ALGORITHM
  • Get the celcius of fahrenheit
  • Calculate fahrenheit equal to nine divided by five multiply by celcius plus 32
  • Display the fahrenheit of celcius
       PSEUDOCODE
  • Read the celcius
  • Set the fahrenheit = (9/5)*(celcius+32)
  • Print output
       FLOW CHART :

2/04/2011

million thanks to pn.nur ayuni ^ ^

b4 aleq class 2 FEB 2011, miss da luangkan mse utk aja student yg tataw na wt blog niyyy.. even rmay yg da aleq, tp miss still na aja kmi.. kire miss OT tanpe gj la kann.. hahaha.. punye la tekun aq tgok miss aja, smpay nek juleng mte aq tgok miss aja lju gyle.. tp aq paam n finally aq bjaye wt blog niy.. tp yg pasal chap 1 & 2 tuhh aq tataw na wt cmne.. hentam jelaaa.. wt je ap yg aq blja mse kt class tuuuhh.. lw ade yg sala, tlg la tego ye kwn kwn.. hmm thanks again sbb miss da bg aq plihan na msok group mne.. hehe even aq tataw pape sal tht group tp lege la jugak cz aq da knl dorank n tw cre blja dorng cmne.. ta bp susa lw na discuss pape.. thanks ahli kumpulan kuuuuh sbb da accepted aq nye request na msok group kornk.. syg korunk lbey ((:

chapter two ..

Dlm bab niyyy plakk, blaja pasal C++.. yg aq paam C++ niy blaja pasal programming language ? coding.. dlu mse amek subject PCC 2 aq ad blaja coding gak.. utk wt website.. blja yg basic basic jerr.. tp dlm C++ niy laen lg.. cyesly aq ta bp na paam mse miss terang kn sal coding tuhh.. mcm bese, muke aq blurr.. huhu aq take note jelaaa.. niy la cth C++ yg miss aja utk crik area of circle.. wt bnde niy bdasarkn flow chart yg itew da wt..
 #include<iostream.h> //header
main( ) //start body
{ //open curly bracket
 //declare variable
float area;
float radius;
 //input 1
cout<<"Enter radius=";
cin>>radius;
 //fomula
area=3.14*radius*radius;
//output
cout<<"area="<<area;
return 0;
}//close curly bracket
 //end Body

Care nk wt dy sbnanye cm niyy :
1) ptme skly yg kite kne wat ialah tgok formula yg dy da bg tuuh..cth nye mcm kt ats yg aq da wt tuhh.. area utk circle is area=3.14*radius*radius

2) pastuh tgok kt formula tuh, crik ad bp byk variable name

3) pastuh declare variable

4) da siap declare variable, wt flow chart bdasarkan soklan yg dy bg (jgn sala simbol)
cth : start > read radius > area=3.14*radius*radius > print output > end

5) start wt coding.. ade beberape pkare yg sgt penting dlm coding niy.. antarenye :
= utk starting, jgn lupe nk wt #include<iostream.h> dlm 1st line
= 2nd line lak jgn lupe wt main()
= 3rd line jgn lupe wt {
= line pleng last jgn lupe wt }
= sume tentang flow chart kne tulis dlm body
= sume di tulis dlm hruf kcik
= xbole ade space except 4 the certain part mcm comment, declare variable and input&output yg ade dlm ("") nan return 0
=jgn lupe letak simbol ;

         + Comment
  • // = utk 1 baris coding
  • /* , */ = utk ksuluruhan coding / >1 baris coding
  • xkesa nk ltk space or nk rpt kn jer
+ Declare variable ( Start ) 
    DATA TYPEINTEGER
    IntegerInteger (o-9)
    FloatFloat (decimals)
    DoubleDouble (decimals)
    CharCharacter (a-z / A-Z)
    StringString (Sentences)
    ConstConstant (pi=3.142)
+ Input
           cout<<"________";
           cin>>variable_name_thae_had_declare ;

RULES :
  • Bjage2 nan ejaan, hruf bsr&hruf kcik
  • key in ekot soklan, lw dlm soklan bahasa melayu= xley suke suke ltx bm (kne sbijik mcm soklan)
  • dlm ( " " ) xkesa nk ltx space ke tanak
+ Output
         cout<<"______"<<variable_name_that_had_declared ;

chapter one ..

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
haaa.. ade lg yg penting dlm FOP niy.. utk sume formula, kite taley gune mathematical format.. tp kne gne programming format.. tp utk darab&bahagi jer, utk tambah&tolak still same mcm bese..
  • for multiply = * (e.g 100 * 2)
  • for divide = / (e.g 10 / 100)
e.g for flow chart symbols : http://www.breezetree.com/article-excel-flowchart-shapes.htm

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
       PSEUDOCODE
  • Read the width
  • Read the height
  • Set the area = width*height
  • Print output
       FLOW CHART :
      

2/03/2011

org da stat cuty tp aq kne g class.. malasssss !

rabu mlm, msok je class aq tataw na wt ape.. dak dak lom dtg.. aq sorang kt dlm so aq gne kn mse yg ade utk on fb kjap.. hehe tp jap jerr pas uh miss da msok.. kwn yg laen pon da ade yg dtg.. miss msok tros tulis ape tah kt white board uhhh.. aq tgok kn jelaaa.. da abes miss tules, dy suh itew owg wt ape yg dy tules uh.. dy suh itew register forumm.. miss da bg link niy http://lect-ayuni.forumms.net/ , kite tgl na join jer.. tiap student kne wt sbb utk mudah kn wt kj ape yg miss bg kot?? ntah aq pon ta bp na paam.. yg penting aq da wt nt lme lme paam la tuuuuh.. insyallah (: hmm mse na reg uh ad yg aq ta paam.. at last aq mnx tlg kat kak Syezza.. she's d best student kot bg pndangan aq.. dala baek, panday lak tuhhhhh.. tnx to kak SYEZZA.. <3

OK joooom ?

jom ape?? jom blja ke jom cite?? cite lu laaa, jp g br wt kj :PP hmm sbnanye aq tataw np itew kne blja FOP niyy.. ta sempat plak na tye miss ary tuhh.. sng ke susa ke ntaahh aq pon ta paam.. yg aq tw 1st class rytuh aq ta dtg sbb egt kn lom stat stdy.. tp upe nye da stat.. siap ade group group lg.. aq da blurr sbb tataw pape.. sdey pon ade gak sbb tade groupp T T .. hmm 4 d 2nd class plak aq tga sket.. kaki bengkak sket gyle na jln.. fam ta bg pegi tp aq tanak.. kne pegi jugak sbb tkot ta paam t pe miss aja.. naseb la baek aq dtg..... tw ta knp?? miss br na stat aja.. yg best nye konon aq kn nga saket, tp aq tetap jd student yg ptme msok class.. yg pegi amek kunci n msok class tuuuh adalah aq HERYANI BINTI HALIFI.. wee bangge nan diri sndri tape kn?? hahahaha :D:D

simple tp menarek c(:

haa b4 aq stat wt kj yg miss bg, aq edit lu blog niy.. bia nmpk comel siket.. skg da ciap da pon.. da ltx lgu, da ltx gmba.. bnde ta penting sume aq ltx.. haha! dala mls na wt cntex cntex sgt.. t kang dak dak rjen plak na tgok aq nye blog niy.. agaga jk jk.. skg smngat la jugaak na update blog.. SEBAB ?? bile bukak je msty nmpk muke comel aq kt dpn saly.. hahahahaha :D:D