William M. Pegram
Home | Courses | Web Design | Office Software | Client-Side Scripting | Server-Side Scripting | About Me

ITP 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
Jan. 24, 28 Assignment 1 (due 1/31 2pm)
Jan. 29, 30
  • if and switch statements
  • boolean expressions
  • while, do-while, for statements
  • debugging techniques


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 Chapter 4.1 (cont.)
Feb. 14, 18 Chapter 4.2, 4.3, and 4.4
Feb. 19, 20  
Feb. 21, 25
  • Quiz - Chapters 1-3
 
Feb. 26, 27
  • Review of Quiz
 
Feb. 28, March 3  
March 4,5  
March 6, 17   Assignment 4: Classes I (due Thursday March 27)
March 18, 19  
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  
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 Chapter 8.1, Assignment 6 (due May 1)
May 1, 5 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