Schedule  CS 305J  Spring 2010
Date  Topic  Reading and Events Reading Assignments with a cited chapter are from the required textbook, Building Java Programs by Stuart Reges and Marty Stepp. Complete the readings before class. 
Tuesday, January 19  CS305j Discussion sections do not meet today!  CS305j Discussion sections do not meet today! 
Wednesday, January 20  Topic 1: Course mechanics. Slides: PowerPoint, PDF, PDF for Printing 
1. After class read syllabus and review schedule. 2. Read Sections 1.1 and 1.3 from the textbook. 3. Suggested SelfCheck Exercises: Chapter 1 numbers 2, 3, 4, and 5. 4. Apply for your CS Department account today! 
Friday, January 22  Topic 2:
Introduction to Java programming.: Simple programs, println, static methods Slides: PowerPoint, PDF, PDF for Printing 
1. Read Sections 1.3, 1.4, and 1.5 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 1 numbers 6, 7, 10, 11, 12, 13, and 14. 3. Suggested Practice It exercises: 1.1 Stewie, 1.5 Stewie 2. 4. Puzzler of the Day 4th class day. Last day of the official add/drop period; after this date, changes in registration require the approval of the department chair and usually the student’s dean. 
Monday, January 25  Continue Topic 2 
1. Ch 1 selfcheck problems: 5, 15, 16, 17, 19 2. PracticeIt! exercises: 1.6 DrawEgg 3. Puzzler of the Day 
Tuesday, January 26  Discussion Section.  Optional help session. No quiz. Meet in the computer lab on the 5th floor of Painter Hall.. 
Wednesday, January 27  Topic 3: Procedural decomposition case study Slides: PowerPoint, PDF, PDF for Printing 
1. Read Section 1.5 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 1 numbers 16, 17, and 22 3. Suggested Practice It exercises: 1.9 Star Figures, 1.10 Shining 4. Puzzler of the Day Assignment 2 available. 
Thursday, January 28  Assignment 1 due by 11 pm  Assignment 1 due by 11 pm 
Friday, January 29  Topic 4: Variables: primitive types, expressions, variables, and
assignment Slides: PowerPoint, PDF, PDF for Printing 
1. Read Sections 2.1 and 2.2 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 2 numbers 1, 3, 4, 5, 8, 9 3. Practice It! exercises: 2.4: expressions 3 
Monday, February 1  Continue Topic 4.  
Tuesday, February 2  Discussion Section  1. Quiz 1 2. Help on assignment 2 3. Lab exercises on syntax errors, output, structured programs. Program with Syntax errors to fix Lab Exercises Number 1 
Wednesday, February 3 
Start Topic 5: for loops 
1. Read Sections 2.3 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 2 numbers 12, 13, 15, 20, 21 3. Suggested Practice it exercises: 2.2 loop Squares, 2.3 fibonacci 12th class day. Last day to drop for a possible refund. Last day to add a course. Assignment 3 available 
Thursday, February 4  Assignment 2 due by 11 pm  Assignment 2 due by 11 pm 
Friday, February 5  Continue Topic 5  
Monday, February 8  Topic 6: Nested loops, class constants Slides: PowerPoint, PDF, PDF for Printing 
1. Read sections 2.3 and 2.4 from the book. 2. Suggested Practice It exercises: 2.5 Star Triangle, 2.6 number Triangle 
Tuesday, February 9  Discussion Section 
1. Quiz 2 2. Q and A for assignment 3 3. Lab Exercises Number 2 
Wednesday, February 10  Topic 7: Managing complexity and a loops case study Slides: PowerPoint, PDF, PDF for Printing 
1. Read Section 2.5 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 2 numbers 27 and 28. 3. Suggested Practice It exercises: 2.8 spaces And Numbers, 2.10 numbers Output 60 
Friday, February 12  Topic 8: Parameters and methods Slides: PowerPoint, PDF, PDF for Printing 
1. Read Sections 3.1 and 3.2 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 3 numbers 1, 2, 3, 5, 7, 8, 10. 3. Suggested Practice It exercises: 3.1 print Numbers, 3.2 print Powers of Two, 3.3 print Powers of N 
Monday , February 15  Guest lecture by
Professor Peter Stone Assignment 4 available 
20th class day. Last day to drop a course without a possible academic penalty. Assignment 4 available 
Tuesday, February 16  Discussion Section Assignment 3 due by 11 pm 
1. Quiz 3 2. Q and A for assignment 3. 3. Complete problems for Lab Exercise 2 Assignment 3 due by 11 pm 
Wednesday, February 17  Topic 9: Using objects, interactive programs and loop
techniques Slides: PowerPoint, PDF, PDF for Printing 
1. Read Sections 3.3, 3.4 and 4.1 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 3 numbers 12, 14, 15, 16, 17, Chapter 4, number 2. 3. Suggested Practice It exercises: 3.6 quadratic 
Friday, February 19  Topic 9: Using objects, interactive programs and loop techniques 
1. Suggested Practice It exercises:
3.8 vertical,
3.9 print Reverse Javabat problem set 1 due by 4pm. 
Monday, February 22  Topic 10: Parameters Case Study Slides: PowerPoint, PDF, PDF for Printing 
1. Read Section 3.5 from the textbook. 2. Suggested Practice It exercise: 3.10 swap Points 
Tuesday, February 23  Discussion Section 
1. Quiz 4 2. Review for midterm. 
Wednesday, February 24 
Midterm 1 in class Assignment 5 available 
Midterm 1 in class. Midterm 1 will cover material up to and including
the parameters case study, topic 10. Assignment 5 available 
Friday, February 26  Topic 11: Introduction to simple graphics Slides: PowerPoint, PDF, PDF for Printing Assignment 4 due by 11 pm 
1. Read all of chapter 3G from the textbook.. 2. Suggested SelfCheck Exercises: Chapter 3G numbers 1, 2, 3, 4. Assignment 4 due by 11 pm 
Monday, March 1  Topic 12: Conditional execution Slides: PowerPoint, PDF, PDF for Printing 
1. Read Sections 4.1 and 4.2 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 4 numbers 1, 2, 4, 5, 6, 8, 9. 3. Suggested Practice It exercises: 4.3 replicate, 4.4 print Factors 
Tuesday, March 2  Discussion Section 
1. Quiz 5 2. Midterm handed back and reviewed. 3. Q and A for Assignment 5. Javabat problem set 2 due by 4pm. 
Wednesday, March 3  Topic 13: More on conditional execution, text processing 
1. Read Sections 4.3, 4.4, and 4.5 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 4 numbers 10, 12, 16, 17, 19, 20, 22, 25. 3. Suggested Practice It exercises: 4.7 smallest Largest, 4.10 print Triangle Type Assignment 6 available 
Thursday, March 4  Assignment 5 due by 11 pm  Assignment 5 due by 11 pm 
Friday, March 5  Topic 14: Conditional case study Slides: PowerPoint, PDF, PDF for Printing 
1. Read Section 4.6 from the textbook. 2. Suggested Exercises (NOT the SelfCheck Exercise): Chapter 4 numbers 2, 15, and 16. 
Monday, March 8  Topic 15: While loops, the boolean type, Boolean logic Slides: PowerPoint, PDF, PDF for Printing 
1. Read Sections 5.1 and 5.2 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 5 numbers 1, 2, 3, 6, 11, 13, 15, 16. 3. Suggested Practice It exercises: 5.2 print Average, 5.6 dice Sum 
Tuesday, March 9  Discussion Section 
1. Quiz 6 2. Q and A for assignment 6 3. Lab exercises (Section handout) Javabat problem set 3 due by 4pm. 
Wednesday, March 10  Continue Topic 15 Assignment 7 available 
Assignment 7 available 
Thursday, March 11  Assignment 6 due by 11 pm  Assignment 6 due by 11 pm 
Friday, March 12  Guest lecture by Professor Calvin Lin  
March 15 19  Spring Break  Spring Break 
Monday, March 22  Topic 16: Creating correct programs. user errors,
assertions, program logic Slides: PowerPoint, PDF, PDF for Printing Topic 17: While loop case study. (Done earlier.) 
1. Read Sections 5.3, 5.4 and 5.5 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 5 numbers 18, 19, 22, 24, 26, 27. 3. Suggested Practice It exercises: 5.7 gcd, 5.11 season 4. Read Section 5.6 from the textbook. 5. Suggested Exercise (NOT the SelfCheck Exercise): Chapter 5 numbers 3 6. Suggested Practice It exercise 5.9 show Binary 
Tuesday, March 23  Discussion Section 
1. Quiz 7 2. Q and A for assignment 7 3. Lab exercises. Here are sample files for the text processing problems: FixSpacing.txt, EvenNumbers.txt, NegativeSum.txt, EvenOddSum.txt, TextCount.txt Javabat problem set 4 due by 4pm. 
Wednesday, March 24  Topic 19: Arrays part 1 Slides: PowerPoint, PDF, PDF for Printing Assignment 8 available 
1. Read Section 7.1 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 7 numbers 1, 2, 3, 5, 6, 7, 8 3. Suggested Practice It exercise: 7.1 last Index Of 
Thursday, March 25  Assignment 7 due by 11 pm  Assignment 7 due by 11 pm 
Friday, March 26 
Continue Topic 19  1. Read Section 7.2 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 7 numbers 10, 11, 13, 14, 16 3.Suggested Practice It exercises: 7.2 count In Range, 7.3 copy All 
Monday, March 29  Topic 18: File processing Slides:
PowerPoint,
PDF,
PDF for Printing 
1. Read Sections 6.4 and 6.5 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 6 numbers 13, 14, 15 and Exercises 2 and 9. 3. Suggested Practice It exercise 6.1 double space Assignment 8 available Mid semester. Last day an undergraduate student may, with the dean's approval, withdraw from the University or drop a course except for urgent and substantiated, nonacademic reasons. ("Q drop" a course.) Last day a student may change registration in a course to or from the pass/fail or credit/no credit basis. In practice I always grant approval for "Q drops" up to this date as long as their are no issues with academic integrity. 
Tuesday, March 30  Discussion Section 
1. Quiz 8 2. Q and A for assignment 8 3. Lab exercises Javabat problem set 5 due by 4pm. 
Wednesday, March 31  Topic 20: Arrays part 2 Slides: PowerPoint, PDF, PDF for Printing Assignment 9 available 
1. Read Section 7.3 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 7 numbers 17, 20, and 22. 3. Suggested Practice It exercises: 7.4 copy Range, 7.5 mode Assignment 9 available 
Friday, April 2 
Topic 20: Arrays part 2 Assignment 8 due by 11 pm 
1. Suggested Practice It exercises:
7.6 standard Deviation,
7.7 kth Largest Assignment 8 due by 11 pm 
Monday, April 5  Review for Midterm 2  Review for Midterm 2 
Tuesday, April 6  Discussion Section 
1. Quiz 9 2. Review for midterm. Javabat problem set 6 due by 4pm. 
Wednesday, April 7  Midterm 2 in class  Midterm 2 in class. Midterm 2 will cover up to and including the material on arrays. 
Friday, April 9 
Topic 21: Sorting Slides: PowerPoint, PDF, PDF for Printing 
1. Suggested Practice It exercise:
7.8 median 
Monday, April 12 
Topic 22: Two dimensional arrays Assignment 10 available 
1. Read section 7.4 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 7 numbers 14 and 26. 3. Read the Wikipedia article on Conways' Game of Life 4. Look at this Game of Life Applet Assignment 10 available 
Tuesday, April 13  Discussion Section Assignment 9 due by 11 pm 
1. Quiz 10 2. Return and review midterm 3. Q and A for assignment 9 Assignment 9 due by 11 pm 
Wednesday, April 14  Continue Topic 22  1. Suggested Practice It exercise: 7.13 equals 
Friday, April 16 
Topic 26: ArrayLists 
1. Read Section 10.1 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 10 numbers 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12. 
Monday, April 19  Continue Topic 26  
Tuesday, April 20  Discussion Section 
1. Quiz 11 2. Q and A for assignment 10 3. Lab exercises 
Wednesday, April 21  Topic 23: Creating classes part 1 Slides: PowerPoint, PDF, PDF for Printing Assignment 11 available 
1. Read Sections 8.1, 8.2, and 8.3 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 8 numbers 1, 2, 3, 4, 5, 6 and Exercises 1 and 2. Assignment 11 available 
Thursday, April 22  Assignment 10 due by 11 pm  Assignment 10 due by 11 pm 
Friday, April 23 
Continue Topic 23  
Monday, April 26  Topic 24: Creating classes part 2 Slides: PowerPoint, PDF, PDF for Printing 
1. Read Sections 8.4, 8.5, and 8.6 from the textbook. 2. Suggested SelfCheck Exercises: Chapter 8 numbers 7, 8, 10, 11, 13, 14, 15, 16 and Exercises 4 and 
Tuesday, April 27  Discussion Section  1. Quiz 12 2. Intro to Unix OS Javabat problem set 7 due by 4pm. 
Wednesday, April 28  Topic 25: Creating classes case study  
Friday, April 30  Continue Topic 25  
Monday, May 3  Topic 27: Interfaces Slides: PowerPoint, PDF, PDF for Printing 
1. Read section 9.5 and 10.2 from thee book. 1. Suggested SelfCheck Exercises: Chapter 10 numbers 14, 15, 16, 18. 
Tuesday, May 4  Discussion Section  1. Quiz 13 2. ArrayList problems 3. TA Evals 
Wednesday, May 5  Continue Topic 27 Course Instructor Evals 

Thursday, May 6  Assignment 11 due by 11 pm  Assignment 11 due by 11 pm. No Slip days may be used on assignment 11. 
Friday, May 7 
Catch up day  
May 10 & 11  Dead Days  Dead Days 
Monday May, 17  Final Exam, 2  5 pm.  Final Exam, 2  5 pm. Location TBD 