Syllabus for CS 310, Object-Oriented Programming with Java

Spring 2008


The syllabus is broken up into fourteen one-week sections and a week's break:

  1. Introduction

  2. Java Tools

  3. Objects and Classes

  4. Java Basics

  5. Inheritance

  6. Interfaces and Inner Classes

  7. Exceptions and Debugging

  8. Spring Break

  9. Streams and Files

  10. Generics

  11. Graphics Programming

  12. Event Handling

  13. Applets and Applications

  14. Swing

  15. Miscellaneous

Note: The phrase “X through Y” means “from the beginning of X to the end of Y.”

Week 1 – Introduction, Tuesday, 22 January & Thursday, 24 January.

Readings
Horstmann and Cornell, Chapter 1.

Class notes
Introduction
Object-Oriented Programming

Quiz - Thursday, 24 January

Week 2 – Java Tools, Tuesday, 28 January & Thursday, 31 January.

Readings
Horstmann and Cornell, Chapter 2.

Class notes
Java Tools

Quiz - Thursday, 31 January
The answers.
The grades.

Week 3 – Objects and Classes, Tuesday, 5 February & Thursday, 7 February.

Readings
Horstmann and Cornell, Chapter 4.

Class notes
Classes, part 1
Classes, part 2

Quiz - Thursday, 7 February
The answers.
The grades.

Week 4 – Java Basics, Tuesday, 12 February & Thursday, 14 February.

Readings
Horstmann and Cornell, Chapter 3.

Class notes
Types
Methods

Assignment
Assignment 1a (last modified on 4 April 2008) available on Tuesday, 12 February; due on Tuesday, 4 March at 11:30 p.m.
An example solution.
The API documentation grades.
The assignment grades.

Quiz - Thursday, 14 February
The answers.
The grades.

Week 5 – Inheritance, Tuesday, 19 February & Thursday, 21 February.

Readings
Horstmann and Cornell, Chapter 5, pages 151 through 189, 207 through 210.
Reflection, pages 189--207, optional.

Class notes
Inheritance
Polymorphism

Quiz - Thursday, 21 February
The answers.
The grades.

Week 6 – Interfaces and Inner Classes, Tuesday, 26 February & Thursday, 28 February.

Readings
Horstmann and Cornell, Chapter 6.
Proxies optional.

Class notes
Interfaces
Inner Classes

Quiz - Thursday, 28 February
The answers.
The grades.

Week 7 – Exceptions and Debugging, Tuesday, 4 March & Thursday, 6 March.

Readings
Horstmann and Cornell, Chapter 11, pages 557 through 604 (7th ed.) or 551 through 598 (8th ed.).
Pages 604 through 618 (7th ed.) or 598 through 611 (8th ed.) optional.

Class notes
Exceptions
Testing and Debugging

Assignment
Assignment 1b (last modified on 4 April 2008) available on Thursday, 6 March; due on Thursday, 20 March at 11:30 p.m.
An example solution.

Quiz - Thursday, 6 March
The answers.
The grades.

Week 8 – Spring Break, Monday, 10 March through Friday, 14 March.

No class this week.

Mid-term grades - due 10 March

Week 9 – Streams and Files, Tuesday, 18 March & Thursday, 20 March.

Readings
Horstmann and Cornell, Chapter 12 (7th ed).
Zip file streams (pages 643 to 652) optional.
Object streams (pages 662 to 683) optional.
New I-O (pages 689 to 697) optional.
Basic I/O (8th ed).

Class notes
Stream I-O
I-O &c

Assignment
Assignment 1c (last modified on 18 March 2008) available on Thursday, 20 March; due on Thursday, 3 April at 11:30 p.m.
An example solution.
The assignment grades.

Quiz - Thursday, 20 March
The answers.
The grades.

Week 10 – Generics, Tuesday, 25 March & Thursday, 27 March.

Readings
Horstmann and Cornell, Chapter 13 (7th ed.) or 12 (8th ed.).
Reflection and Generics (pages 729 to 734 (7th ed.) or 640 to 647 (8th ed.)) optional.

Class notes
Generics
Advanced Generics

Quiz - Thursday, 27 March
The answers.
The grades.

Week 11 – Graphics Programming, Tuesday, 1 April & Thursday, 3 April.

Drop Day - Monday, 31 March

Readings
Horstmann and Cornell, Chapter 7.

Class notes
Computer Graphics
Java Graphics

Assignment
Assignment 1d (last modified on 8 April 2008) available on Thursday, 3 April; due on Tuesday, 29 April at 11:30 p.m.

Quiz - Thursday, 3 April
The answers.
The grades.

Week 12 – Event Handling, Tuesday, 8 April & Thursday, 10 April.

Readings
Horstmann and Cornell, Chapter 8.

Class notes
Event Handling

Quiz - Thursday, 10 April
The answers.
The grades.

Week 13 – Applets and Applications, Tuesday, 15 April & Thursday, 17 April.

Readings
Horstmann and Cornell, Chapter 10, pages 493 through 528.
Chapter 10, pages 528 through 556 optional. )

Class notes
Java Programs
Java Applets

Quiz - Thursday, 17 April
The answers.
The grades.

Week 14 – Swing, Tuesday, 22 April & Thursday, 24 April.

Readings
Horstmann and Cornell, Chapter 9.

Class notes
Swing Components
Swing Layout

Quiz - Thursday, 24 April
The answers.
The grades.

Week 15 – Miscellaneous, Tuesday, 29 April & Thursday, 1 May.

Class notes
The Java Virtual Machine
Scripting Java

Quiz - Thursday, 1 May

Open Lecture about Scala at 5:30 to 7:30 on 8 May in HH C1.


This page last modified on 15 January 2008.

Creative
    Commons License