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

2/21/2011

miss uji kitorang ..

haaa skg aq na smbong cite.. pas da ciap miss aja sume, n da aja mcm mne cre nak wat jwpn step by step.. miss bg 1 soklan.. then cm bese r, suh ktorng wt.. sj na test student paam ta.. maseng maseng smngat gyler na wat.. sbb tmbh tolak je kn.. cehhh ! pdahal susa jgk.. hahaha.. tp alhamdulillah aq pon dpt jwb ((: stakat niyy, chap 4 niy la plg sng bg aq.. bg aq laa.. tataw plak kwn kwn yg len.. hope dorang pon ok ! amiiin kt bwh niyy soklan yg miss suh ktorang wt..

SOALAN :
             

JAWAPAN :
              

just do it ! :D

EXAMPLE 1

EXAMPLE 2

EXAMPLE 3

chapter four ..

ok guys.. setelah sekian lame aq ta update ini blogggg, huhh ase cm malash la plaak na update.. haha.. tp na tanak kne update jgak!! (: mulekan nan bismillah cm bese.. hee hmm ok last week punyer class, miss bg notes utk chap 3 & 4.. tp knp ekk?? knp chap 3 kite ta blaja?? ntahh laa aq pon ta paam.. yg aq tw kite tros start nan chap 4.. express! :D miss trang kn byk bnde actually.. tp ad yg ta msok otak aq.. sbb kdng aq berangan.. tp lg byk yg msok dpd yg ta msok tuhh.. insyallah

Di sbbkn dlm bab niy kte blaja psl pngiraan, so tht byk simbol kte kne egt.. tw takkk?? meh sini bia aq aja ap je simbol yg aq ckp tuhh..

1) Arithmetic operators :
    + + (Unary Plus)
    - - (Unary minus)
    + (Addition)
    - (Substraction)
    * (multiplication)
    / (Floating-point division / Integer division)
    % (Modulus)
Dlm C++, ade increament nan decrement operator..
    + + (Pre-increment) e.g + +m
    + + (Post-increment) e.g m+ +
    - - (Pre-decrement) e.g - -n
    - - (Post-decrement) e.g n- -

Tips utk sng hfl : klw simbol dy tuh kt dpn variable (Pre-), kne tambah or tolak nan 1.. tp klw simbol kt blkng (Post-) xyah tmbah pape.. ekot jek mcm soklan dy.. aq bg cth k..
SOALAN :        a = 2 , b = 3
                      m = 2 , n = 3
                       p = 2 , q = 3
                       x = 2 , y = 3            

(+ + a) + (- - b) * 4 > (+ + m) * (- - n) + 4

JAWAPAN :
               

2) Relational operators :
    < (Less than)
    > (Greater than)
    = = (Equal to)
    < = (Less than or equal to)
    > = (Greater than or equal to)
    ! = (Not equal to)

3) Logical operators : (0/False , 1/True)
    & & (AND) ----> ade je 0 mesty 0/false
    | | (OR) ----> ade je 1 mesty 1/true
    ! (NOT) ----> tebalek kn jer.. klw 1, jwpn 0.. klw 0, jwpn 1
    !(& &) (NOT AND) ----> jwpn tbalek nan & &
    !(| |) (NOT OR) ----> jwpn tbalek nan | |
 e.g Question yg miss suh ktorang wt


2/11/2011

TARRAGON's group pon power ape ! :D

da abes wt 1st exercise, miss bg 2nd exercise plakk.. yg first td tuh tade markah ponn.. sj je na refresh otak kmi kmi niyy.. yg 2nd plak kne wt nan group mseng mseng..amek markah laktuhh.. tyme tuh cume ade 4group tmasok group aq saly.. so the best group akn dpt 4marks, 2nd dpt 3marks, 3rd dpt 2marks n the last group akn dpt 1marks.. mseng mseng kne bjuang na dpt kn 4marks tuhh.. hmm soklan yg miss bg 1 jer.. same jer utk sume group.. aq tunjuk soklan dy k..

Exercise 2 :
Bahasa melayu=
Bahasa inggeris=
Matematik=
Sains=
Total=
Average=

Formula :
total=bm+bi+math+sains
average=total/4

kt ats niy soklan yg miss bg.. lw kw hebat, try la wt :P lw tataw na wt, tgok jwpn aq bg kt bwh niy k, pastuh try la paham kn (: ..eh lupe na ckp.. jwpn dy bukan hand writting tw.. tp typing kt Turbo c++ yg miss da install kt pc kt lab cosmo.. leceh tw taaaaak ! sala siket pon tiade maaf bg mu.. sbb nye komputer kn takder prasaan.. fuuhhh menyampah !

OK niy step na wt jawapan :
1) Go to my computer
     

2) Choose Local Disk (C:)

3) Click folder TC > folder BIN
    

4) Click TC application

5) If your windows can't support this system for full screen, just ignore MS-DOS Subsystem table
    (terime jela screen yg comel loteh kecik na mampos tuhh)

6) After open the Turbot C++ , click file > new > type your group coding

7) Answer for exercise 2

8) Don't forget to save the coding

9) To compile, go to compile menu and click compile

10) Press any key

11) If you make any mistake, syntax error will appear

12) To run, go to run menu and click run

haaa.. mcm tuh la cre na wt jwpn utk soklan kt ats td.. leceh kn?? hmm aq nye group dpt 3 marks je sbb ktorang byk sala.. asek asek syntax error.. pning pale na crik part mne yg ktorng wt sala.. tp end up dpt jgk.. even group laen da ade yg betol dr td.. so group aq yg mcm owg jakon, tjerit jerit jd 2nd group yg bjaye wt.. ok ape.. kire hebat jgk la kan?? hahaha tol tak geng?  yg kt ats uh jwpn lw typing dlm Turbo C++.. table tuh kcik sgt n ta bp na clear.. so aq bg jwpn lw hand writting k..

#include<iostream.h>//header
main()//start body
{//open curly bracket
float bm;
float bi;
float math;
float sains;
float total;
float average;
//input 1
cout<<"bahasa melayu=";
cin>>bm;
//input 2
cout<<"bahasa inggeris=";
cin>>bi;
//input 3
cout<<"matematik=";
cin>>math;
//input 4
cout<<"sains=";
cin>>sains;
//formula
total=bm+bi+math+sains;
//output
cout<<"total="<<total;
//formula
average=total/4;
//output
cout<<"average="<<average;
return 0;
}//close curly bracket
//end body





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 :
      

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

2/02/2011

luahan pasaan !

bismillah... utk ptme kly nye aq m'bloging kn diri niyy.. maseh ta bp na paam actually, tp try jelaaa.. suke ta suke, tuless jeeerk.. haha mepek aq nye tittle.. bialaaa da tade idea na wt cane.. hmm aq pleng ta suke bebel sorang sorang mcm niyy.. besh ag bebel kat org laen.. mcm org ta betol da sengeh sengeh dpn lappie niy.. niy sume miss punye pasal laaaa.. tp tapela utk kebaikan aq jgk.. skg mmg bosan sbb ta bese ag, aq pcye t lme lme aq msty bminat n rjen na update blog mepek niyy tiap aryy.. hee