Week |
Release Date |
Learning Objectives |
Contents |
Graded Assessments |
1
|
6, Apr 2015 09:00 (GMT+8)
|
- To briefly describe computer hardware and software
- To explain the problem solving process
- To write the first Java program
|
Hardware and software; Problem solving
- Introduction
- Hardware
- Software and Programming Languages
- Problem Solving
- First Java Program
Handouts:
|
Week 01 Graded Problem Tasks Lab 01 - Hello World
- Due date: 13 Apr 2015 23:30 (GMT+8)
|
2
|
6, Apr 2015 09:00 (GMT+8)
|
- To use the primitive data types in Java
- To utilize identifiers and variables for storing different values
- To construct simple programs by using arithmetic expressions and arithmetic operators
- To explain the use of assignment statements
- To apply type conversions in Java
- To apply simple input/output (I/O) in programs
|
Primitive data types; Identifiers and Variables; Assignment statements; Arithmetic expressions; Simple I/O
- Introduction
- Identifiers
- Variable and Data Types
- Expressions
- Memory Allocation
- Simple I/O
Handouts:
|
Week 02 Graded Problem Tasks Lab 02 - Math is Easy
- Due date: 20 Apr 2015 23:30 (GMT+8)
|
3
|
13, Apr 2015 09:00 (GMT+8)
|
- To briefly describe object-oriented programming
- To create a class with properties and methods
- To construct and use objects in a class
- To document classes with Java documents ion style
|
Objects and classes; Properties and methods; Java documentation
- Introduction
- General Structure
- Comments
- Example: BankAccount
- Example: ColorImage
- Example: Car2
Handouts:
|
Week 03 Graded Problem Tasks Lab 03 - ColorImage Objects
- Due date: 27 Apr 2015 23:30 (GMT+8)
|
4
|
20, Apr 2015 09:00 (GMT+8)
|
- To apply the scope rules in resolving the values of variables in different scopes
- To describe Boolean type and Boolean operators
- To construct Boolean expressions using Boolean operators
- To apply the use of if-else-if statements to control the flow of a program
- To apply the use of switch statement to control the flow of a program
- To understand the char type and String type in Java
|
Scope rules; Boolean expressions; Branching statements: if-else-if, switch; Character String
- Introduction
- More Examples
- Character String
- Boolean Expressions
- Branching Statement - If-else-if
- Branching Statement - Switch
Handouts:
|
Week 04 Graded Problem Tasks Lab 04 - Rock-paper-scissors
- Due date: 4 May 2015 23:30 (GMT+8)
|
5
|
27, Apr 2015 09:00 (GMT+8)
|
- To formulate repetitive actions in a program by using a loop statement
- To explain the different loop constructs such as while loop, do ... while loop and for loop
- To use shortcut operators in programs
- To construct an array for holding objects of the same type
- To swap entries in an array
|
Loops; Shortcut operators; Arrays
- Introduction
- Static Methods and Shortcut Operators
- Do-while and For Loops
- Arrays
Handouts:
|
Week 05 Graded Problem Tasks Lab 05 - Matching Game
- Due date: 11 May 2015 23:30 (GMT+8)
|