Archive for November, 2007
BUSA01: Exam schedule updated
Dear BUSA01 students,
In case you don’t already know, the schedule for the BUSA01 examination has been changed. Instead of Saturday 15 December 2007, we will have the exam at
Monday
17 December 2007
The venue is NAB-319. Please mark it in your diary. Thank you.
ISM 004 Test Two
ISM 004 Test2
Date: 30 November 2007 (Friday)
Time: 1:30 pm to 3pm
Venue: NAB204
Coverage: Chapter 1,2,3 (SQL) , 4, 5, 6
Admission Briefing Talk @ CityU
ISM001 Class Summary (9)
Chapter 10 is about polymorphism, which is another important concept associated with OOP.
Fig. 10.1 is a simple example of polymorphism. On lines 30-31 of the program, we assign a reference of a subclass BasePlusCommissionEmployee object to a super class CommissionEmployee variable. This is legal because a BasePlusCommissionEmployee object is a CommissionEmployee. Note that when we call the method toString() of commissionEmployee2 on line 34, Java actually knows that we want to call the toString() method of the subclass. In other words, when a superclass variable contains a reference to a subclass object, and that reference is used to call a method, the subclass version of the method is called, and the programmer does not need to care about all these. This is known as dynamic binding or late binding (See p.487 of textbook) because the binding (determining which method to call) is done at run time.
Read the rest of this entry »
BUSA01: Comments on project presentation draft
Students from my sections (3, 4, 5) in BUSA01:
I have added to WebCT my comments on your project presentation drafts. Please read them and make necessary changes. Thank you.
Death by PowerPoint
For students who are going to give their presentations very soon, Alexei Kapterev shares how to make good PowerPoint slides:
Need help? Study together!
BUSA01 Test 2: Learn from mistakes
Dear BUSA01 students,
Your teacher will return the Test 2 papers to you in this week. The following contains samples of the common mistakes made by you or your fellow classmates:
The solutions:
To do better in the exam, please read the documents carefully. We will also spend some time with these in the class this week.
Otherwise, you may also read: 《奪 F 秘笈》in order to learn how to fail the course.
ISM001: The Fighters’ Universe
Dear ISM001 students,
First of all, let me remind you that we have no class on this Friday because of the congregation ceremony. But don’t worry. I have prepared another time-killing homework assignment for you, namely the Fighters’ Universe. Just follow the instructions and submit your work by 12 December 2007.
The previous Simple Text Fighter can be found here.
Some example outputs:
Java Fighters' Universe! v20071112 == Round 1 == Boss Florence attacks Boss Janice! Boss Florence loses *** Boss Florence: 10 -> 10 *** Boss Janice: 10 -> 12 == Round 2 == Ho Yin attacks Justin! Ho Yin loses *** Ho Yin: 10 -> 9 *** Justin: 10 -> 11 == Round 3 == Justin attacks Boss Janice! Justin loses *** Justin: 11 -> 10 *** Boss Janice: 12 -> 14 == Round 4 == Ho Yin attacks Justin! Ho Yin wins *** Ho Yin: 9 -> 10 *** Justin: 10 -> 9
BUSA01 Sections 1 & 2 (Justin) Cancel Class on 26 Nov 2007 Monday
BUSA01 Quantitative Skills sections 1 & 2 class (Justin’s sections) on 26 Nov 2007 Monday will be cancelled. Sorry for any inconvenience caused.



