Announcements

Class 12 (Chapter 16)

posted Nov 26, 2008 2:22 AM by Haoran Zhang   [ updated Nov 26, 2008 6:26 AM ]

Learning outcomes:
  1. Understand the concept of algorithms in computer programming.
  2. Learn how to use linear search and binary search, together with their pros and cons.
  3. Learn how to use selection sort, insertion sort, and merge sort, together with their pros and cons.
  4. Know how to search or sort using methods in java.util.Arrays. (See the Java API.)

Class 11 (Chapter 13)

posted Nov 19, 2008 3:05 AM by Haoran Zhang

Learning outcomes:
  1. Know why to use exception handling in Java.
  2. Learn some of the commonly seen errors and exceptions.
  3. Learn the syntax of try-catch-finally blocks.

Class 10 (Chapter 10)

posted Nov 12, 2008 12:41 AM by Haoran Zhang   [ updated Nov 12, 2008 12:47 AM ]

Learning outcomes:
  1. Review inheritance in Java.
  2. Understand the concepts and techniques of polymorphism.
  3. Understand the concepts and techniques of interface.

Class 9 (Chapter 9)

posted Nov 4, 2008 11:44 PM by Haoran Zhang

Learning outcomes:
  1. Learn the idea and concepts of inheritance, and know why it is good.
  2. Learn the use of use of the keyword protected and its potential problems.
  3. Be able to declare inheritance relationship by the keyword extends.
  4. Call the constructor of the superclass using super, or the methods of the superclass using super.methodName(...).
  5. Realize that every class in Java directly or indirectly inherits from the Object class.
  6. Learn the difference between deep copy and shallow copy.

Class 8 (Chapter 8.1-8.8, 8.10-8.13)

posted Oct 28, 2008 10:45 PM by Haoran Zhang

Learning outcomes:
  1. Understand data encapsulation and data hiding (e.g. public, protected and private; set and get methods)
  2. Learn to use the keyword "this" to refer to the members of the current object.
  3. Distinguish between constructors and default constructors.
  4. Learn how to overload constructors.
  5. Learn how to use static variables and methods, and to import static members of a class.
  6. Understand the Garbage Collection mechanism in Java, its advantages and disadvantages.
  7. Learn how to declare a constant using the keyword "final".

    Class 7 (Chapter 7, 7.6-7.12)

    posted Oct 28, 2008 9:33 PM by Haoran Zhang

    Learning outcomes:
    1. Review the concept of OOP and relevant problem-solving techniques by trying the exercise problems in Chapter 6.
    2. Understand the concepts of pass-by-reference and pass-by-value.
    3. Learn how to use multidimensional arrays.
    4. Know how and why to specify a variable-length argument list in Java methods.
    5. Learn how to pass command-line arguments into a Java program.

    Class 6 (Chapter 6, 6.10-6.12; Chapter 7, 7.1-7.5)

    posted Oct 8, 2008 5:49 PM by Haoran Zhang   [ updated Oct 8, 2008 5:58 PM ]

    Learning outcomes:

    Chapter 6:
    1. Understand the concept of scope.
    2. Overload methods.
    Chapter 7:
    1. Know the advantages of using arrays (through the MarkSix example).
    2. Learn the various ways of initializing an array.
    3. Use array and the random number generator to write a simple application.
    4. Learn the technique of shuffling the items in an array.
    Sections 7.6-7.12 are not covered in the test. We will come back to them after the test.

    Class 5 (Chapter 6, 6.1-6.9)

    posted Sep 30, 2008 8:39 PM by Haoran Zhang   [ updated Sep 30, 2008 8:47 PM ]

    Learning outcomes:
    1. Recognize the importance of using program modules in programming.
    2. Understand static methods and static fields, using the class Math as an example.
    3. Know how to declare methods with multiple parameters.
    4. Understand and make good use of argument promotion and casting.
    5. Know about the Java API Packages and develop the habit to read Java API documentations.
    6. Know how to use a random number generator.
    Sections 6.10-6.12 are to be covered in class 6.

    Class 4 (Chapter 5)

    posted Sep 24, 2008 5:42 PM by Haoran Zhang

    Learning outcomes:
    1. Know how to write a loop using while, do-while, and for respectively. Also understand their difference.
    2. Use methods from the Java Math class.
    3. Use switch for selection.
    4. Use break and continue to alter the program flow.
    5. Use logical operators in the program.

    Class 3 (Chapter 4)

    posted Sep 16, 2008 9:03 PM by Haoran Zhang   [ updated Sep 16, 2008 9:13 PM ]

    Learning outcomes:
    1. Understand the concept of pseudo-code.
    2. Understand and use the following control statements (including nested control statements):
      • if and if...else
      • while loop
      • (We will come to the do...while loop and for loop in the next chapter.)
    3. Use compound assignment operators (e.g. +=, -=, etc.)
    4. Use increment and decrement operators (e.g. ++, --, etc.)

    ‹ Prev    1-10 of 13    Next ›