COMP102 Schedule

Schedule of lectures, tutorials, assignments, tests, and holidays.

Video recordings of lectures will be availablethrough Blackboard or the video links below (which should also stream live!).

Lectures will also be on zoom:https://vuw.zoom.us/my/comp102 with passcode comp102.

See the TimeTable for times and locations of lectures, labs, and tutorials

Broken links mean that the content hasn't been uploaded yet.

Week 1: 28 February - 06 March Slides Videos Code
Lectures: Introduction to course, programming, and Java
(Note: Week 1 the video session is Friday, in the follow weeks it is Monday)
Introduction
What is a program
Our first java program
Temperature conversion
Structure of a program
Introduction
What is a program
Our first java program
Temperature conversion
Structure of a program
 

Week 2: 07 - 13 March Slides Videos Code
Lectures: Write your first program, syntax, constants, variables, assignment, and method calls Write your own programs
Syntax 101
Variables and assignments
Graphics with ECS100
Using constants
Lecture
Write your own programs
Syntax 101
Variables and assignments
Graphics with ECS100
Using constants Thursday
Friday
lollipop
Calculator
Assignment: Assignment 1 (out 10 Mar): Create the first program:
Introductory Lab (07-09 March): Using the computer, using BlueJ, submitting assignments, modifying a program, a programming puzzle

Week 3: 14 - 20 March Slides Videos Code
Lectures: Constants, using UI, parameters, conditionals/booleans, and more on methods Variables and user input
Methods with parameters
More methods
Conditionals
Booleans
Lecture
Variables and user input
Methods with parameters
More methods
Conditionals
Booleans
Thursday
Friday
Drawer
Calculator
Due: Assignment 1 due 10am, Thursday, 17 Mar
Assignment: Assignment 2 (out 17 Mar): methods (writing and calling), using variables, drawing:

Week 4: 21 - 27 March Slides Videos Code
Lectures: New objects, return values from methods, and while loops Object Oriented Programming
Methods with parameters
Methods that return values
Random numbers
While loops
More on While
Design with While
Lecture
Object Oriented Programming
Methods with parameters
Methods that return values
Random numbers
While loops
More on While
Design with While
Tuesday Workshop
Thursday
Friday
drawer
GhostStory
Due: Assignment 2 due 10am, Thursday, 24 Mar
Assignment: Assignment 3 (out 24 Mar): New objects, Methods with parameters:

Week 5: 28 March - 03 April Slides Videos Code
Lectures: Other loops and introducing ArrayLists For loop
Nested loops
do while
ArrayList
Foreach
Testing with data
Lecture
For loop
Nested loops
do while
ArrayList
Foreach
Testing with data
Tuesday Workshop
Thursday
Friday
Workshop
GhostsStory
Due: Assignment 3 due 10am, Thursday, 31 Mar
Assignment: Assignment 4 (out 31 Mar): More looping:

Week 6: 04 - 08 April Slides Videos Code
Lectures: Files Write to files
Reading files
Scanners
Scanners with files
Scanners directly with files
Lecture
Write to files
Reading files
Scanners
Scanners with files
Scanners directly with files
Tuesday Workshop
Thursday
Friday
DrawGraph
GhostsStory
Due: Assignment 4 due 10am, Thursday, 7 Apr
Assignment: Assignment 5 (out 7 Apr): Loops and files:

BREAK : MID-TRIMESTER : 09 - 24 April: No lectures or labs.
Holiday: Mon 25 April ANZAC Day observed No lectures or labs

Week 7: 26 April - 01 May Slides Videos Code
Lectures: Classes and objects Why OOP
Class and objects
Fields
Constructors
Lecture
Why OOP
Class and objects
Fields
Constructors
Tuesday workshop
Thursday
Friday
DrawGraph
Blinky
Test 1 Thursday 28 April: In-Term Online Test (17:00 - 18:00)
Due: Assignment 5 due 10am, Thursday 28 Apr
Assignment: Assignment 6 (out 28 Apr): Defining objects with fields and constructors:

Week 8: 02 - 08 May
Lectures: Statics, primitive data types, casting, scope, and constants Static fields
Static methods
Primitive datatypes
Casting
Scope and extent
Constants
Lecture
Static fields
Static methods
Primitive datatypes
Casting
Scope and extent
Constants
Tuesday workshop
Thursday
Friday
Ghost Class
Due: Assignment 6 due 10am, Thursday, 5 May
Assignment: Assignment 7 (out 5 May):Defining objects with fields and constructors: :

Week 9: 09 - 15 May Slides Videos Code
Lectures: Event-driven programming, Lambda, functions, more on ArrayLists Event-driven programming
Event-driven input
Mouse events
JColorChooser
Multiple object and lambda
More on ArrayList
ArrayList actions
Event-driven programming
Event-driven input
Mouse events
JColorChooser
Multiple object and lambda
More on ArrayList
ArrayList actions
Tuesday workshop
Thursday
Friday
GUI.zip
ArrayListE.zip
Due: Assignment 7 due 10am, Thursday, 12 May
Assignment: Assignment 8 (out 12 May): Event-driven programming (GUI):

Week 10: 16 - 22 May Slides Videos Code
Lectures: Save/load objects and Arrays Save and load objects
Arrays
Using arrays
Saving arrays
Meaningful indexes
Comparing arrays
Save and load objects
Arrays
Using arrays
Saving arrays
Meaningful indexes
Comparing arrays
Tuesday Workshop
Thursday
Friday
TutorList.zip

ArrayExer.zip

BattleGame.zip

Due: Assignment 8 due 10am, Thursday, 19 May
Assignment: Assignment 9 (out 19 May): ArrayLists and Arrays:

Week 11: 23 - 29 May Slides Videos Code
Lectures: 2D arrays, 2D arrays
More on 2D arrays
Advanced use of 2D arrays
Saving and loading 2D arrays
lectureWeek9-11.pdf
2D arrays
More on 2D arrays
Advanced use of 2D arrays
Saving and loading 2D arrays
Tuesday Workshop
Thursday
Friday
ArrayExer.zip
Due: Assignment 9 due 10am, Thursday, 26 May
Assignment: Assignment 10 (out 26 May): 2D arrays:

Week 12 30 May - 05 June Slides Videos Code
Lectures: Review of past test questions. lectureWeek12.pdf
LectureSummary.pdf
Online Test Feedback
Tuesday Workshop
Thursday
Friday
Model Answer
MoreArray.zip
Due: Assignment 10 or 9+10 due 10am, Tuesday, 2 Jun

Study and Assessment period: 07-23 June
Final Test 14/06 09:30 - 11:30  
University support for assessment