You can download the lecture slides (in PDF format) here: CS133LectureSlidesF07.zip
Lecture |
Text Readings |
Assignment Out |
Assignment In |
|
Week 1 Tue Sept 11 |
Course Logistics. Different types in Java (primitive, object, other). Operators for arithmetic and Strings. |
Sections 1, 2.1, 2.2 |
Assignment 1 | |
Thu Sept 13 | Several uses of the Board, String, and Scanner classes | Sections 2.2, 2.3 | ||
Week 2 Tue Sept 18 |
Programming style, boolean
expressions, if statements |
Sections 2.4, 3.1 |
||
Thu Sept 20 | Loops (while , for ,
and do/while ), Static, Math class |
Sections 3.2, 3.3, 5.2 |
||
Week 3
Tue Sept 25 |
Relationship between objects and
classes, Methods , Instance Variables |
Section 4.1 |
||
Thu Sept 27 | Method parameters and return
values, information hiding, preconditions and postconditions |
Sections 4.1, 4.2 |
|
|
Week 4 Tue Oct 2 |
Encapsulation (interface vs.
implementation), helper methods, method overloading |
Sections 4.2, 5.1, 5.4 |
Assignment 2 | Assignment 1 (Friday) |
Thu Oct 4 | References, Memory Model | Section 4.3 |
|
|
Week 5 Tue Oct 9 |
Static, Wrapper classes |
Section 5.2 |
|
|
Thu Oct 11 | Testing programs, top-down
design |
Section 5.3 |
|
|
Week 6 Tue Oct 16 |
One-dimensional arrays.
Declaring, allocating, and initializing arrays. Getting the length of
an array. Arrays of primitives and objects. |
Section 6.1 |
Assignment 3 | Assignment 2 (Friday) |
Thu Oct 18 | One-dimensional arrays
continued. Arrays as parameters and return values, partially-filled
arrays. |
Sections 6.2, 6.3 |
||
Week 7 Tue Oct 23 |
Multi-dimensional arrays |
Section 6.5 |
Midterm (Monday) | |
Thu Oct 25 | Class hierarchies,
Inheritance, overriding methods |
Sections 7.1, 7.2 |
|
|
Week 8 Tue Oct 30 |
More on inheritance; super ,
final , method resolution |
Section 7.3 |
|
|
Thu Nov 1 | More on method resolution, casting | Section 7.3 |
|
|
Week 9 Tue Nov 6 |
Exceptions and files |
Sections 8.1, 9.1 |
Assignment 4 | Assignment 3 (Friday) |
Thu Nov 8 | Text files |
None |
||
Week 10
Tue Nov 13 |
Graphics. JPanels ,
JFrames ,
drawing primitives |
Sections 1.4, 3.5, 12.1, 12.2 |
||
Thu Nov 15 |
Mouse events, displaying text
and other window features |
Section 3.5 |
||
Week 11 Tue Nov 20 |
Buttons, text fields,
containers. |
Sections 12.3 - 12.6 |
Assignment 5 | Assignment 4 (Friday) |
Thu Nov 22 | Desk calculator example |
None |
|
|
Week 12 Tue Nov 27 |
Binary files and serialization |
Sections 9.4, 9.5 |
|
|
Thu Nov 29 | History |
None | Assignment 5 (Monday Dec 3) | |
Final Exam |