William M. Pegram
Home | Courses | Web Design | Office Software | Client-Side Scripting | Server-Side Scripting | About MeITP 120 Section 001 and 002N - Spring 2008- Schedule
This schedule will be updated with links to homework exercises as the course progresses and the subject matter and dates of lectures and quizzes may change from that shown below. The most current copy of this schedule can be found on the course web site at www.billpegram.com
Week Class Topics Reading/Homework Due Jan. 14, 15 Course Information, Getting Started on Annandale Computers
- Introduction to Java - object-oriented, java application programs and main method, applets, command-line invocation of compilation and running Java programs
- Expressions and Assignment Statements - primitive types, assignment compatibility, precedence
Chapter 1.1, 1.2 Jan 15, 16
- type casting, increment and decrement operators
- The Class String - string methods
- Program Style - naming constants, self-documenting and comments
- Chapter 1 (ppt)
Chapter 1.3, 1.4 Jan. 22, 23
- JDK, JRE, PATH, CLASSPATH - compiling & executing Java programs at command prompt and using TextPad
- Console Input and Output Introduction to Java (sample)
Chapter 2; If you need to set up Java on your computer at home or elsewhere, please consult the following articles - and install the Java JDK before installing TextPad
- "New to Java Programming - Introducing the Java Platform"
- "Setting Up and Getting Started in Java Programming" (plus installation notes for your particular operating system)
Jan. 24, 28 Assignment 1 (due 1/31 2pm) Jan. 29, 30
Chapter 3 Jan. 31, Feb. 4 Assignment 2 (due 2/7 2pm) Feb. 5, 6 Feb. 7, 11
- Defining a class - instance variables and methods
- Methods that return a value and those that don't
- local and global variable concept
- parameters of a primitive type, call-by-value
- the this parameter
- defining an equals method for a class
Chapter 4.1, Assignment 3: For Loops (due 2/14 2pm) Feb. 12, 13
- defining an equals method for a class
- Code sample with multiple classes
- Chapter 4 (ppt) (slides 4.1-4.41)
- Scope code sample
Chapter 4.1 (cont.) Feb. 14, 18
- Information hiding and encapsulation - public and private modifiers; accessor and mutator methods
- overloading
- constructors
- Overloading code sample
- Overload with identical signatures code sample
- Mutator method with constructor code sample
- Calling mutator method code sample
- Attempt to access private class members code sample
- Overloaded constructor code sample
Chapter 4.2, 4.3, and 4.4 Feb. 19, 20
- Using overloaded constructors code sample
- Accessor/mutator code sample
- Call accessor/mutator code sample
- StringTokenizer class
- Chapter 4 (ppt) (slides 4.42-4.62)
Feb. 21, 25
- Quiz - Chapters 1-3
Feb. 26, 27
- Review of Quiz
Feb. 28, March 3
- Chapter 1-3 Review, Exercises - Set I
March 4,5
- Chapter 3 Review, Exercises - Set 2
March 6, 17
- Chapter 3 Review Exercises - Set 3
Assignment 4: Classes I (due Thursday March 27) March 18, 19
- Chapter 4 Review Exercises- Set 4
March 20, 24
- Static methods & static variables
- Wrapper classes, boxing and unboxing
- Static methods in wrapper classes
- Chapter 5 (ppt) (slides 5.1-5.26)
Chapter 5.1 March 25, 26
- References and class parameters
- Constant null
- New operator and anonymous objects
- Static import statements
- Chapter 5 (ppt) (slides 5.27-5.56)
Chapter 5.2 March 27, 31
- Chapter 5.2 (cont.)
April 1, 2
- Instance variables of a class type
- Copy constructors
- Mutable and immutable classes
- Chapter 5 (ppt) (slides 5.57-5.76)
- Packages
- javadoc
- Chapter 5 (ppt) (slides 5.77-5.93)
Chapter 5.3, Chapter 5.4 April 3, 7
- Chapter 5 Review - Exercises
April 8, 9
- length instance variable
- arrays and references
- Chapter 6 (ppt) (slides 6.1-6.36)
Chapter 6.1, 6.2 April 10, 14
- for each loop
- vararg specification
- enumerated types
- multidimensional arrays
- Chapter 6 (ppt) (slides 6.37-6.87)
Chapter 6.3, 6.4 April 15, 16, 17, 21
- Quiz #2 (April 16, 17)
- overriding a method definition
- super and this constructors
- Chapter 7 (ppt) (slides 7.1-7.29)
Chapter 7.1, Assignment 5 (due April 17) April 22, 23
- Discussion of Quiz2
April 24, 28
- Protected and package access
- the class Object
- Chapter 7 (ppt) (slides 7.30-7.63)
Chapter 7.2-7.3 April 29, 30
- Polymorphism
- Chapter 8 (ppt)
Chapter 8.1, Assignment 6 (due May 1) May 1, 5
- Abstract classes, Polymorphism and Abstract Classes (sample)
Chapter 8.2 Final Exam - MW class 5/7 2-3:50PM, TTh class 5/6 12-1:50PM Methods (sample) (craps only)
Defining Classes I (sample)
Defining Classes II (sample)
Arrays (sample)
Inheritance (sample)
Swing I (sample)
Applets (sample)
Assignment 4: Event Handling (may be revised)
Assignment 6 (may be revised),Assignment 7: Arrays (may be revised),
Assignment 8: Inheritance (may be revised)Last revised: May 11, 2008