nuffnang ads

Daisypath Anniversary tickers
Lilypie Second Birthday tickers

Thursday, November 11, 2010

How is the first week of the semester?

Satu minggu pertama telah berlalu.. dan dah pun start bertimbun2 exercise kat atas meja aku.. campur kat email.. Takut rasa nak buka email.. terkejut tgk bnyk sgt dlm inbox... Checking??.. Wait until saturday la.. tak sanggup nak bersengkang otak tgk jawapan diaorg.. Takut nanti *fainted* tgk jawapan.. Hari ni hari yang free yeay! smlm mmg dasyat.. kelas dari kol 10 - 6 ptg.. Budget nak puasa tapi tak takyah la weii.. Silap2 nmpk semua kepala student cam bulat2 yang membentuk donut..Iman senipis kulit bawang.. Like onion slice haha bole gitu..

So smlm I ask the students to answer this question..
Develop an algorithm for the robot /computer to cross the road at the zebra crossing with traffic light.

Asnwer:
So firstly the robot must go in front of the road.. Near the sidewalks.. Then the robot scan.. "Oh there is a traffic light".. Then scan the color of the traffic light:

If  (traffic light color == red)
     then push the button and wait until it goes green

If (traffic light color == green)
     then the robot can move

If (traffic light color == yellow)
    then the robot should ready to speed up..

And then everybody was laughing.. Typical malaysian robot.. It is so funny and I never thought of this. Usually it was a boring answer.. For example just wait until it turns green and then u can walk.. So the answer this time is different and I can see that they have really good imagination.. They really think of something in details.. Starting from move until u find a sidewalk until the robot scan the button.. Scan the colours.. Haha hilarious..That's why it's great to become a teacher.. Seeing students is one powerful way to make ur day! I have a blast time with them..

Some of them can't wait for their labs.. Keep asking me when we can do our first programming?.. Ok tomorrow is the day when u can make ur first program.. They were like Yeay!!!! Ok.. I never face this situation before haha.. Let see tomorrow how they will work out with python.. Python is one of the programming language..No GUI bebeh..

Ok right now I have to go back and work to check ur exercise *Sweating*

No comments:

Post a Comment