Sunday, August 15, 2010

Waktu test untuk student hari Rabu (Sesi: Ms Alish)- Test 1 wed (August 18th, 2010)



Session 1:  8.15am-9.00am
BIL
NAMA
NO. MATRIK
1
ABDUL HAMID BIN A KAMILUDDIN
CD100371
2
ABDUL MUIIZ BIN RAMLI
CD100341
3
ABDULL LATIFF BIN MOHD ISA
CD100307
4
AHMAD ANUAR BIN AZMIL
CD100364
5
AMREET SINGH CHAAL
CD100372
6
AZLAN BIN AHMAD
CD100312
7
CHE HAZAL IZZUWAN BIN CHE GHAZALI
CD100353
8
CHRISTOPHER GABRIEL SWYNY
CD100343
9
CHUNG WEE BEEN
CD100360
10
DAHRUM BIN SAMSUDIN
CD100382
11
DANIAL HADI BIN HAMIDIN
CD100316
12
DAVENDRAN A/L NALATAMBI
CD100328
13
KAMARULHISYAM BIN ABD RAUF
CD100337
14
KHAIRUL HAFIZI BIN MD RADZI
CD100314
15
KHUZAIRIL HAFEZ BIN BAHRUDIN
CD100327

















Session 2:  9.30am-10.15am
1
MARDHATI BTE MAHADI
CD100375
2
MEOR HASBULLAH BIN MEYOR SAMSUDIN
CD100309
3
MIRNAH BINTI SUARDI
CD100369
4
MOHD. ZULKIFLI BIN OSMAN
CD100308
5
NURUL ADILA BINTI MOHAMAD REDZUAN
CD100355
6
STEVENSON CONORY MARCUS
CD100352
7
SURENDRAN A/L GANESAN
CD100332
8
SYAMSIR BIN AMIRUDDIN
CD100322
9
WAN NUR AMALINA BINTI MIOR IDRIS
CD100381
10
WAN NURULSUHAIDA BINTI WAN DERAMAN
CD100305
11
ZULALIFF BIN ZULKIPLI
CD100321
12
NURUL HUSNA BINTI ZAKARIA
CD100359
13
RAJA HAFIZUDDIN BIN RAJA BAHARI
CD100365
14
SITI SALEHAH BINTI AMIRSAH
CD100317

Friday, August 13, 2010

void main(), int main(), main()

soalan ni jawapan dia lebih kurang dengan getch, getchar, getche....

BUKAN MASALAH YANG MANA BAGUS GUNA TAPI YANG MANA LEGAL (BOLEH GUNA PAKAI)

sebenarnya sentiasa guna rule C99 tapi oleh kerana kita pakai compiler dos tu
maka RULE89 is applied here...... kalau dalam kelas pakwin sentiasa ingatkan sentiasa pakai int

tapi compiler kita guna void main()

kalau awak guna int main()


sebelum close bracket '}' sila guna return 0/return(0) ok :D

P.S save dalam (*.c) okay kelas kita kelas C

Perbezaan getch(), getchar(),getche()

getchar
kita gunakan ni bila kita dapat input dari pengguna

getch
Sama macam getchar tapi dia tak akan echo ke screen output

getche
kalau dua dua tu tak boleh jugak kita guna getche di mana input dari keyboard akan echo ke screen




biasanya getchar boleh guna pada semua compilers dan gunakan getch dan getche pada sistem yang sokong pengambilan input dari keyboard tanpa perlu tekan [enter]




ni awak tak perlu risau sangat sebab tak masuk exam :) bukan pasal apa... compiler (software) berbeza beza tahun pengeluaran dia so rule pun beza beza.... this is just a minor glitch..... so guna mana yang compatible dengan compiler.... ok.... :D 

Thursday, August 12, 2010

ascii ascii lain lain

kadang kadang bila run dia keluar benda lain so boleh check untuk computer kita guna code ni

int main()
{
  clrscr();
int counter = 001;
do{
printf("\t%d%c",counter,counter);
}
while(++counter <=300);

getch();

}


______________________________________________
ok.......... Lagi tips Exam

biasakan input 5 nombor dan calculate

LAB 4 Exercise 3 > yang agak lebih kurang dengan test


siapa dah buat output dia lebih kurang macam ni:

Tuesday, August 10, 2010

more example

This can be a good exercise for you too... this is question from your flow chart question.... don't worry we try our best not to include if else.... but other then that master you calculation okay




Elaborating and collaboration + Happy Ramadan

Okay before i start to explain this picture guys please do ask your classmate (yes who ever studied with me) to view this blog... i will keep posting few example for your own use..... please feel free to ask me what ever you wanted to know



This as close example  can show you i will think of something else and try to put it here as well

the program above shows that you will ask the user to enter 2 input (int or float etc etc) and yes...
you will use the 2 input to calculate something.... basically above here show adding two numbers and minus two numbers... no it is not as simple as this .... try to do multiply and divide.. and master some of ansi code.. just in case you need them... just so you know the test will be an easy one simply type and run we will mark you from there... mastering your design and alignment here will be added bonus.... because you will ask to deliver the same out put from the question... i know you can do it... GAMBATTE KUDASAI NE (basically it means Selamat Berusaha)

p.s Please forgive me if i do or say anything wrong in our class may this ramadan will give a better light in our life... peace and SELAMAT BERPUASA to all muslim... and yes.... happy holiday to the others.... may the force be with you guys too :D

please jgn lah tgk je blog ni bagi soalan sikit..... i try my best to answer asap.....

Sunday, August 8, 2010

Selamat Datang/ Welcome

To my Wednesday students since we not going to have class this week i am going to share with you
what to focus on for the exam... WHICH IS NEXT WEEK ... Location and time frame exactly as your class

Firstly the lab is open book... concentrate on your lecture note (print and bring in)

Please don't share this blog with other class... or anyone.. only if they were n my class too then its okay okay.... it will be unfair for you guys.... and don't forget to enroll to /BTI1022 Blackboard.. who ever receive the sms upon sending in the email from announcement i made in blackboard please do spread the words ok...

1stly you already missed few class
2ndly we are on holiday this Wednesday the others will still have class

so the tips is


  • Practice your output design and alignment
  • practice discount
  • make use of ansi code
  • check on math/calculation
Macam ni ke
remember practice practice practice.... please do sent in those phone number just in case there is something up...

p.s i will be free on Thursday 11-12.30 @G2 in front of CAD lab 3-4 > make use of this time frame