Lectures
- Lecture 1: 132 Noland, TR: 11:00 AM - 12:15 PM
- Lecture 2: 132 Noland, TR: 1:00 PM - 2:15 PM
Instructor
Lecture 1 and 2 Announcements
- Final Exam scores have been posted on Learn@UW.
Readings and Code Samples
- Week 15, Thurs.: Final Exam Review, Evaluations
- Week 15, Tues.: Finish 9.5 - 9.6+, Final Exam Review
- Week 14, Thurs.: Ch. 9.5 - 9.6+, Program 4 (game flow, human/computer players)
Code Samples: Date7Driver.java, Date7.java, InvalidDateException.java
- Week 14, Tues.: Finish Ch. 8.4 - 8.5, Program 4 (cla's, gui and user interface)
Code Sample: exceptions2.txt
- Week 13, Thurs.: Continue Ch. 8.4 - 8.5
Code Samples: exceptions.txt, Date5Driver.java, Date5.java, Date6Driver.java, Date6.java, InvalidDateException.java
- Week 13, Tues.: Continue Ch. 8.4 - 8.5
Code Sample: Exceptions.java
- Week 12, Thurs.: Finish Ch. 8.1 - 8.3, Start Ch. 8.4 - 8.5
Code Samples: CopyFile.java, ProcessFile1.java, temps.txt
- Week 12, Tues.: Start Ch. 8.1 - 8.3, Exams Returned
Code Sample: ListDir.java
- Week 11, Thurs.: Exam Review
- Week 11, Tues.: Arrays of Objects Review, Exam Review
- Spring Break!
- Week 10, Thurs.: Finish Ch. 7.6 - 7.10, Program 3 milestone 3
Code Samples: Cup3Driver.java, Cup3.java, Cup4.java, Date3.java
- Week 10, Tues.: Continue Ch. 7.6 - 7.10, Program 3 setup, milestones 1 and 2
Code Samples: Cup2Driver.java, Cup2.java
- Week 9, Thurs.: Finish Ch. 7.1 - 7.5, Start 7.6 - 7.10
Code Samples: Date2Driver.java, Date2.java, Cup1Driver.java, Cup1.java
- Week 9, Tues.: Start Ch. 7.1 - 7.5
Code Samples: Date1Driver.java, Date1.java
- Week 8, Thurs.: Finish Ch. 6.6
Code Sample: ArrayListDemo.java
- Week 8, Tues.: Read Ch. 6.6, Program 2 Train Algorithm, Exams Returned
- Week 7, Thurs.:Review Fall Exam
- Week 7, Tues.: Finish 6.5, Program 2 Overview, Review Exam Info/Bring Sample Questions
Code Sample: TicTacToe1.java
- Week 6, Thurs.: Read Ch. 6.4 - 6.5
- Week 6, Tues.: Read Ch. 5.3 - 5.7
Exercise: Convert this java program so that is uses methods: RectangleArea2.java Code Solution: RectangleArea3.java
Code Fragment Sample: Methods.txt
- Week 5, Thurs.: Read Ch. 5.1 - 5.2
- Week 5, Tues.: Read Ch. 6.1 - 6.3
- Week 4, Thurs.: Finish Ch. 4, we'll also discuss using a seed value with Random
Exercise: Modify HiLo3.java (linked below) to play multiple times. Code Solution: HiLo4.java
- Week 4, Tues.: Continue Ch. 4, we'll also discuss the Random class and 3.6 Input Validation
Exercise: Write a Java code fragment that determines if a date is in the past, present, or future. You are given integer variables year (>0) and month (1-12), which you may assume will have valid values. You are also given constants YEAR and MONTH that represent the current date. Solve the problem for the year only, then modify it to work for both the year and month. Challenge: Assume you also have an integer variable day (1-31) and a constant DAY. Write the code fragment to work for a complete date. Code Fragment Solution: PPF.txt
Code Samples: DaysInMonthCalculator3.java and HiLo1.java, HiLo2.java, HiLo3.java
- Week 3, Thurs.: Finish Ch. 3, Start Ch. 4
Exercise: Complete your code fragment that determines how many days are in a month (e.g., February has 28). Assume month is an integer variable that has some value between 1 and 12 (i.e., January to December).
Code Solutions: DaysInMonthCalculator1.java, DaysInMonthCalculator2.java
- Week 3, Tues.: Continue Ch. 3
Code Fragment Samples: Ball2RightP1.txt, Ball2RightP2.txt
- Week 2, Thurs.: Finish Ch. 2, Start Ch. 3
Code Sample: TootsiePop1.java
- Week 2, Tues.: Continue Ch. 2, We'll discuss setting up Eclipse/Java, and also CodeLab
Code Samples: CylinderVolume.java, RectangleArea.java
- Week 1, Thurs.: Start Ch. 2
- Week 1, Tues.: Read Ch. 1
A Course Information Sheet was handed out
Last updated: 5/23/2012 © 2010-12 Jim Skrentny (cgi by Dalibor Zelený)