CS302: INTRODUCTION TO PROGRAMMING
  LECTURES 1 & 2 HOME PAGE, Fall 2009

  In This Page: Lecture Info | Lec 1 & 2 Announcements   Other pages: CS302 Home | Coursework | Textbook
Lectures:
  • Lecture 1: 1361 Chemistry, TR: 11:00 AM - 12:15 PM
  • Lecture 2: 132 Noland, TR: 1:00 PM - 2:15 PM
Instructor:
  • Jim Skrentny
    5379 Computer Sciences, 262-0191,
    skrentny@cs.wisc.edu(use a descriptive subject line that begins with CS302)
    Office Hours: T 2:30 - 3:00 PM, W 10:00 - 11:30 AM, R 2:30 - 3:30 PM, and by appointment
Lectures 1 & 2 Announcements: Readings and Lecture Information:
  • Week 13, Tues.: Read Ch 11

  • Week 12, Thurs.: Read Ch 8, Exam Review, Code Sample: ArraysLists.java
    EXAM 5-7 pm, bring UW ID and #2 pencils
  • Week 12, Tues.: Read Ch 10.10 - 10.14,(skim 10.13 focus on For-Each Loop), Code Samples: ArraysOfObjects.java, Date.java (with toString)

  • Week 11, Thurs.: Finish Ch 9; Code Samples: CupDriver.java, Cup.java
  • Week 11, Tues.: Start Ch 9; Code Samples: TicTacToe.java, Board.java, PlayingCardDriver.java, PlayingCard.java

  • Week 10, Thurs.: Finish Ch 7
  • Week 10, Tues.: Read Ch 6.9 - 6.12, Skim 6.7, 6.8 and 6.13, Start 7.1 - 7.4, Code Sample: Date.java

  • Week 9, Thurs.: Finish Ch 6.1 - 6.6
  • Week 9, Tues.: Read Ch 6.1 - 6.6

  • Week 8, Thurs.: Exam Review
    EXAM 5-7 pm, bring UW ID and #2 pencils
  • Week 8, Tues.: Read Ch 5.1 - 5.8 (not on exam 1), Code Sample: TicTacToe.java

  • Week 7, Thurs.: Continue with Methods Supplement. Review this code, print it out and bring to lecture: TicTacToe.java
  • Week 7, Tues.: Finish Ch 10.1 - 10.9, Code Samples: SecretMessage.java, CylinderVolume2.java

  • Week 6, Thurs.: Continue Ch 10.1 - 10.9, Code Sample: DaysInMonthCalculator2.java
  • Week 6, Tues.: Start Ch 10.1 - 10.9, Code Sample: HiLo.java

  • Week 5, Thurs.: Re-read Ch 4, Note DaysInMonthCalculator link has been updated in week 4 below.
  • Week 5, Tues.: Finish Ch 4, Hand in at the start of lecture: Write a Java code fragment that determines if a date is in the Past, Present, or Future. You are given integer variables year (>0), month (1-12), and mday (1-31), which you may assume will have valid values. You are also given constants YEAR, MONTH, MDAY that represent the current date. Hint: first try solving the problem for the year only, then modify it to work for both the month and year, then finish for a complete date. Solution: PPF.txt

  • Week 4, Thurs.: Continue Ch 4, Code Sample: DaysInMonthCalculator.java
  • Week 4, Tues.: Re-read Ch 3, Start Ch 4 Hand in at the start of lecture: Write a Java program that calculates the area of a rectangle whose length and width are entered as input. Solution: RectangleArea.java

  • Week 3, Thurs.: Finish Ch 3 (skip 3.24), Code Sample: CylinderVolume.java
  • Week 3, Tues.: Start Ch 3 (lots of details -- memorization is best done with repetition), be prepared to write simple Java programs

  • Week 2, Thurs.: Finish Ch 2 (skim 2.13), Algo Sample: G2Right
  • Week 2, Tues.: Read Ch 1 (skim 1.8 past Development Environments, skip 1.9), Start Ch 2

  • Week 1, Thurs.: An Information Sheet was handed out.

Last Updated: 11/21/2009        © 2008-2009 Jim Skrentny, CS302 Coordinator