CSC207H: StG Lectures

Lectures

This page will contain notes from lecture.

Week of L0101 L5101
9 Sept.
14 Sept.
Suggested reading: Ch. 14.4

We covered a lot of information while writing code. Please read the slides carefully, because they contain lots of useful information that was only mentioned in passing in the lecture.

21 Sept.
Suggested reading: Ch. 1.5, 2, 3.1-3.3, 3.6, 3.7.1, 3.7.2, 3.8.1, 4
The first couple of weeks' code done in class: Main.java
(You have to fix the file name if you want to run this.)
The next bunch of code: Maxwell.java
And with Wednesday's work added: Maxwell.java
Main.java
MyFirstInterface.java
MyFirstImplementingClass.java
MySecondImplementingClass.java
28 Sept.
Suggested reading: Ch. 6.1-6.4, 6.7, 8
The classes written during the Sept. 28 lecture, as a zip file: sept2309.zip
And the same, for Sept. 30: sept3009.zip
Java slides
You'll notice that there are very few comments in the following code. Jim and I were discussing this topic, and he made the excellent point that the comments were verbal, and were made during lecture. I'm still mildly uneasy about not including more, but here they are anyway: We went over the first couple slides from mem-model.pdf; please read the rest before next week and bring questions.
5 Oct.
Suggested reading: Ch. 7, 14.4
the lecture slides on GUIs
Mystery.java
PlayM.java
Scrum
the lecture slides on GUIs
Calculator.java
Main.java
13 Oct. User manual slides
We also developed a simple calculator for a cell phone using the instructions linked from the bottom of the Java page
19 Oct. Main.java
TestDemoTest.java
Exceptions: Exceptions.pdf
MainExceptDemo.java

Testing: Testing.pdf
Main.java
MainTest.java
26 Oct. Midterm.
2 Nov. The Singleton example: Main.java
Referee.java
Pattern slides
Main.java
Range.java
9 Nov. Main.java
Range.java
Divisors.java
Wednesday doesn't exist.
16 Nov. Brief notes on Java SE vs. J2ME
Divisors.java
DivisorRangeMain.java
Referee.java
Main.java
Regex.pdf
23 Nov.
30 Nov.