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

ITP 120 Section 001 and 002N - Fall 2008- Schedule

The most current copy of this schedule can be found on the course web site at www.billpegram.com. PowerPoint references are to Savitch, whereas reading referendes are to Deitel.

Week Class Topics Reading/Homework Due
Aug 25, 26

Course Information, Getting Started on Annandale Computers

  • Introduction to Java - object-oriented, java application programs and main method, applets, command-line invocation and compilation and execution of Java programs and use of TextPad
 
Aug. 27, 28
  • JDK and JRE; Setting Path and Classpath environment variables
  • Comments and self-documenting programs (Program Style)
  • Console Input using Scanner class, Console output using Println, Print, and Printf
  • Import statement
  • Variable declarations and primitive types
  • Precedence and associativity rules, linearizing expressions
Chapter 2 Deitel (skip Section 2.9 Software Engineering Case Study), Chapter 2 Deitel (ppt)
Sept 2, 3
  • Equality and relational operators
  • public, void, static, private keywords
  • Declaring a class with a method and instantiating an object of the class
  • declaring a method with parameters
  • instance variables, set (mutator) and get (accessor) methods
  • initializing objects with constructors
  • floating point numbers and type float and double
Chapter 3 (skip Section 3.9 Using Dialog Boxes and 3.10 Software Engineering Case Study); 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
Sept. 4, 8 Assignment 1 (due 9/11), Chapter 4.1-4.8 Deitel, Chapter 4 Deitel (ppt)
Sept. 9, 10
  • sentinel-controlled repetition
  • explicit and implicit conversion between primitive types
  • increment and decrement operators
  • compount, shorthand assignment operators
  • Chapter 1 (ppt) (Savitch) (slides 1-56)
  • Chapter 2 (ppt) (Savitch) (skip 15-21 and 23-26)
Assignment 2 (due 9/18), Chapter 4.9-4.13 Deitel
Sept. 11, 15  
Sept. 16, 17
  • Flow Control - Part 1 (code sample
  • for statement
  • do while statement
  • switch statement
  • break and continue statements
  • logical operators, short-circuit evaluation
  • PowerPoints relating to input
Assignment 3: For Loops (due 9/25), Chapter 5.1-5.8 Deitel, Chapter 5 Deitel (ppt)
Sept. 18, 22 Exercises - Set 2
Sept. 23, 24
  • Discuss Exercises Set 2
Exercises - Set 3
Sept. 25, 29 Chapter 6.1-6.12 Deitel, Assignment 4 Static Methods (due 10/2), Chapter 6 Deitel (ppt)
Sept. 30, Oct. 1
  • declaring, creating, and intializing arrays
  • length field
  • enchanced for loop (for each loop)
  • passing arrays to methods
  • call by value and call by reference
  • multidimensional arrays
  • vararg specification
  • command line arguments
Chapter 7.1-7.4, 7.6-7.7,7.9, 7.11-7.12 Deitel, Chapter 7 Deitel (ppt)
Oct. 2, 6 Assignment 5 (due Oct. 12)
Oct. 7,8  
Oct. 9, 15
  • Quiz 1
 
Oct. 16, 20  
Oct. 21, 22 Chapter 8 (skip 8.9-8.10, 8.18-8.19), Chapter 8 Deitel (ppt)
Oct. 23, 27
  • Finished version of Date.java, TestDate.java (collective coding in class
  • toString method
  • the this parameter
  • overloaded constructors
 
Oct. 29,30 Assignment 6: Classes I (due Nov. 4)
Nov. 3, 4  
Nov. 5,6  
Nov. 10,11
  • Inheritance
  • Superclasses and subclasses
  • Protected
  • Constructors in subclasses (super reference)
  • Object class
  • Base and derived class code sample
Chapter 9 (skip 9.8)
Nov. 12,13  
Nov. 17,18  
Nov. 19,20
  • Quiz 2 on Chapters 3, 6-8
 
Nov. 24, 25 Chapter 10
Dec. 1, 2  
Dec. 3, 4  
Dec. 8, 9
  • JOptionPane
  • JFrame, JLabel, Icon, ImageIcon classes
  • anonymous objects
  • Code samples - Addition.java
Chapter 11.1-11.4
Dec. 10, 11 Chapter 11.5
Dec. 15, 16
  • course evaluation
  • Final Exam (primarily on material beginning with Nov. 10)
 

enumerated types, defining equals method for a class

Methods (sample) (craps only)
Defining Classes I (sample)
Defining Classes II (sample)
Arrays (sample)

Swing I (sample)
Applets (sample)

Assignment 4: Event Handling (may be revised)
Assignment 6 (may be revised),

Assignment 6

Last revised: December 12, 2008