Next:
Week 1
Up:
Home Page
Previous:
Home Page
Lecture notes for CSC108H, St. George Campus
Instructor: Chris Trendall
Fall, 2001
Week 1
Course Information
Introduction
Computers and Programs
The Idea of Language
Java vs.English
Write, Compile, Run
Learning the Language
Simple Java Sentences
Defining Our Own 'types'
Operations With Those Types?
A Working Program
Another Working Program
Week 2
More on Methods
Passing Values In
Passing Values Out
The Memory Model: What's ``Really'' Going On
The Memory Model: The Run-Time Stack
The Memory Model: All Three Spaces
Varieties of Variables
Local vs. Instance Variables
Method Parameters
Static or Class Variables
Variable Summary
Shadowing: When Scopes Collide
Week 3
Even More on Methods
Static Methods
Constructors
Method Summary
The String Class
Comments and Understandability: Dearth of Obfuscation
Week 4
I/O, I/O, it's off to work I go: Input/Output
Keyboard & Display I/O
File I/O
Packages
What's a package, anyway?
What's the deal with
public
and
private
?
Conversions
Week 5
Conditionals
Relational Expressions
The Type
boolean
if
Statements
equals()
Method
Parameter Passing
Week 6
toString()
Method
Specification vs. Implementation
Midterm 1
Week 7
Loops
Programming
while
, controlling flow
while
ing Away Time: Some Constructions
for
ever And A Day: Knowing In Advance
Arrays: Giving your Loop Something(s) To Work On
Week 8
Program Correctness
Style: How Can I Write It? Let Me Count The Ways....
Testing:If I Write It Does It Work?
Scholasticus Habilus: Tool-Using Student
Week 9
Yeah, But How Do I Write Software?
Specification - What It Should Do
Design - How It Should Do It?
General Approach
Who Knows What?
Who Does What?
Design Principles Summary
Design Summary
Implementing the Design -- Translating Into Java
Verifying: Does it Do What It's Supposed To?
Week 10
Vector
class
Inheritance
Week 11
Midterm 2
Overloading, Inheritance, Polymorphism
Week 12
Searching
Week 13
Sorting
Chris Trendall
Copyright ©Chris Trendall, 2001. All rights reserved.
2001-12-09