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

2/10/2011

class smlm ape cite??

class FOP smlm best.. bek bek nantok, tros na tekelua bijik mate niyy.. d sbbkn rmay ag student yg lom dtg, miss ckp dy tanak aja dlu.. nt kne ulng byk kaly penat.. hmm so miss tye nk wtper.. egt na settle pasal blog niyy.. cp yg ta ciap, cp yg tade, miss suh wt.. tp mslhnye tenet cosmo lak mslh.. tataw la knp.. so na on9 pon taley.. at last miss bg soklan sal last week nye chapter.. miss bg 2 soklan n ade 2 group.. 1 soklan, 1 group.. susa jgk soklan dy.. aq nan tataw pape, msok lam group kak syezza.. hehe group aq ade 4 ke 5 org tahh.. pastuh kitorg bincang sme sme.. sme sme blur, sme sme ngek, sme sme ngok tp sme sme tetap try wt.. sala ke btol, tuh cite blkng.. jnj kite da try !! (: haa mse ktorng nga pning na wt jwpn, student pon da rmay yg dtg.. so miss bg lg 1 soklan utk dorng.. mkne nye, ade 3 soklan n ade 3 group.. hmm nk tgok tak soklan yg group aq kne wt?? haa tgok r kt bwh niy k, aq bg nan jwpn skly.. cehh ! hahaha

Question
Multiply and divide two FLOAT numbers with using the formula below:
multiply=num1*num2
divide=num2/num1

Answer
FLOW CHART :

#include<iostream.h>// header
main()// start body
{// open curly bracket
//declare variable
float num1;
float num2;
float multiply;
float divide;
//input 1
cout<<"enter num 1";
cin>>num1;
//input 2
cout<<"enter num 2";
cin>>num2;
//formula
multiply=num1*num2;
//output
cout<<"multiply="<<multiply;
//formula
divide=num2/num1;
//output
cout<<"divide="<<divide;
return 0;
}//close curly bracket
//end body

niy jwpn yg btol,miss da tande.. yg sala mls nak tnjuk.. wt malu kaum jer.. hahaha.. tp ok la jgk sbb yg flow chart tuh btol sume.. tp smpay coding je lemah smngat.. sbb lom pena wt ag.. kt situh la yg salu wt mate ktorg rabak na korek jwpn.. sedeyy tw takk.. group aq byk wt sala.. byk yg ta lengkap.. lupe simbol semikolon laa, declare variable ta lengkap la, input ta lengkap la.. adehhh malu malu.. tp tape la, blaja dr ksilapan lg sng na egt kot.. insyallah byk kly wt, da tade 1 pon sala.. haha amiiinn :D

2/09/2011

cane nak register forum ??

1) Go to http://lect-ayuni.forumms.net/

2) Register by click "JOIN"

3) Continue by click agree button

4) Complete the register information and save

5) Confirm your password and save

6) Check your email

7) Click the link given

8) Test your username & password by login the forum


p/s : utk kwn kwn kuh yg blom reg, n tataw mcm mne na reg, ekot je step yg aq wt niyyy.. xpelu na pening pale ! (:
  

2/08/2011

class cm bese..

ptg niyy class cm bese.. mcm mls tp mcm rjen.. haha pe aq bobal?? sj jer na post.. lw menyampah takyah bc, lw da tebace tuuhh naseb kw la yeerk?? :D hmm blja ap ek ari niyyy.. mengharap topic ary niy best dan TIDAK MEMBOSANKAN.. amiinnn ! (:

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 :