COMP 110-003 - Introduction to Programming (Fall 2008)

Tentative schedule (subject to change as needed, R denotes recitation):

Lecture Date/Slides Topics Reading (before lecture) Additional documents Assignments/Comments
1 W Aug 20
Introduction     Homework 0 due tonight at 11:59 PM

Download these files to your laptop before Aug 22 recitation:

Read and sign the Honor Code document, turn in by Aug 25.

2 (R) F Aug 22
Installing JDK and jGRASP
jGRASP Tutorial
  FirstProgram.java Complete jGRASP Getting Started tutorial (sections 2.1 - 2.4) on your own
3 M Aug 25
Computer Basics,
Designing Programs
Read 1.1, 1.3   On this survey, fill out all the times you are available for office hours, even if you are only available for part of the time. Please do this by 11:59 PM tonight (Aug 25). If you do not fill in your availability by then, your schedule will not be taken into account when I choose new office hours.
4 W Aug 27
Designing Programs Read 1.2   Program 1 due Wed Sep 10, 2pm.
5 (R) F Aug 29
  Read 2.1 VendingMachine.java (for Lab 1)
TotalCost.java (for Lab 1) SandboxAug29.java
Lab 1 due Fri Sep 5, 2pm
  M Sep 1
      Holiday (Labor Day)
6 W Sep 3
Primitive Types, Strings,
and Console I/O
Read 2.2-2.4    
7 (R) F Sep 5
    Lab2InClass1.java (for Lab 2) Lab2InClass2.java (for Lab 2) UnicodeFun.java (for Lab 2) StringFun.java (for Lab 2)

Lab 2 due Fri Sep 12, 2pm

Lab 1 due by 2pm today

8 M Sep 8
Branching, review Read 3.1 Chapters 1 and 2 Review

Chapters 1 and 2 Review Solutions

 
9 W Sep 10
switch statements and while loops    

Program 2 due Wednesday, Sep 24 Friday, Sep 26, 2pm.

Program 1 due by 2pm today

10 (R) F Sep 12
 

Read 3.2 (4th edition)

Read 3.2, 3.3, 4.1 (5th edition)

 

Lab 3 due Fri Sep 19, 2pm

Lab 2 due by 2pm today

11 M Sep 15
More Loops

Read 3.3 and 3.4 (4th edition)

Read 4.2 (5th edition)

   
12 W Sep 17
Even more loops      
13 (R) F Sep 19
     

Lab 4 due Friday Sep 26 Wednesday Oct 1, 2pm

Lab 3 due by 2pm today

14 M Sep 22
Loops, loops, loops...      
15 W Sep 24
Augustus Gloop, Augustus Gloop...      
16 (R) F Sep 26
   

Strings, Branching, and Loops Review

Strings, Branching, and Loops Review Solutions

Program 2 due by 2pm today
17 M Sep 29
Review Loops and Strings, start Classes

Read 4.1 (4th edition)

Read 5.1 (5th edition)

 

Read about the jGRASP debugger in sections 2.10 and 7.1-7.5 of the jGRASP tutorial

18 W Oct 1
Classes     Lab 4 due by 2pm today
19 (R) F Oct 3
More about classes

Read 4.2 (4th edition)

Read 5.2 (5th edition)

In-class exercise

Solution

 
20 M Oct 6
Information Hiding and Encapsulation    

Lab 5 due *** Tuesday Oct 14, 2pm ***

21 W Oct 8
Objects and References

Read 4.3, 5.1 (4th edition)

Read 5.3 (5th edition)

   
22 (R) F Oct 10
Some more about objects and references  

In-class exercise

 
23 M Oct 13
Constructors    

Program 3 due Friday, Oct 31, 2pm

  T Oct 14
No class.    

Lab 5 due by 2pm today

24 W Oct 15
Class canceled due to power outage      
  F Oct 17
      Fall Break
25 M Oct 20
Review for midterm exam  

Practice Midterm

Practice Midterm Solutions

Lab 5 solution

 
26 W Oct 22
Midterm Exam      
27 (R) F Oct 24
Go over making classes and calling methods      
28 M Oct 27
Go over midterm exam   Midterm exam solutions  
29 W Oct 29
Static variables and methods   CalculateStuff.java
MathUtilities.java
Comp110Student.java
CreateClassRoll.java
 
30 (R) F Oct 31
 

Read 5.5, 5.2 (4th edition)

Read 6.1, 6.2 (5th edition)

 

Lab 6 due Friday Nov 7, 2pm

Program 3 due by 2pm today

31 M Nov 3
Designing and Overloading Methods

Read 5.3, 5.4 (4th edition)

Read 6.3, 6.4 (5th edition)

MathUtils.java
MathUtilsDriver.java
 
32 W Nov 5
Arrays

Read 6.1 (4th edition)

Read 7.1 (5th edition)

   
33 (R) F Nov 7
More arrays

Read 6.2 (4th edition)

Read 7.2 (5th edition)

ArrayTest.java

Lab 7 due Friday Nov 14, 2pm

Lab 6 due by 2pm today

34 M Nov 10
More arrays, 2D arrays, Program 4   MyArrayTest.java

Program 4 due Monday Dec 1, 2pm but also an early code check due Wednesday, Nov 19, 11:59pm (see Program 4 for details)

35 W Nov 12
Go over Lab 6, more arrays    

Lab 6 class solutions posted

36 (R) F Nov 14
Grading, Program 4

Read 6.3-6.5 (4th edition)

Read 7.3-7.5 (5th edition)

  Lab 7 due by 2pm today
37 M Nov 17
Inheritance      
38 W Nov 19
More inheritance   Person.java
Athlete.java
ExtremeAthlete.java
HighJumper.java
ShotPutter.java
XGamesSkater.java
Sports.java
Program 4 early code check due by 11:59pm today
39 (R) F Nov 21
Help with Program 4

Read 7.1-7.3 (4th edition)

Read 8.1-8.3 (5th edition)

   
40 M Nov 24
Inheritance and polymorphism      
  W Nov 26
      Holiday (Thanksgiving)
  F Nov 28
      Holiday (Thanksgiving)
41 M Dec 1
Some last things about inheritance, Arrays and inheritance review  

Arrays and Inheritance Review

Arrays and Inheritance Review Solutions

Program 4 due by 2pm today
42 W Dec 3
Exam review  

Example exams from the past

These exams cover more material than we did because these classes had an extra 25 minutes per lecture. Do not worry about topics that we did not cover.

exam 0
exam 1
exam 2

 
  Sa Dec 6 4:00 PM
Final Exam