Schedule - CS 305j - Fall 2008
| 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. |
| Wednesday, Aug. 27 | 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.2 from the textbook. 3. Suggested Self-Check Exercises: Chapter 1 numbers 2, 3, 4, and 5. Assignment 1 available |
| Friday, Aug. 29 | 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 Self-Check Exercises: Chapter 1 numbers 6, 7, 10, 11, 12, 13, and 14. 3. Suggested Practice It exercises: 1.1 Stewie, 1.5 Stewie 2, |
| Monday, Sept. 1 | No School. Labor Day | No School. Labor Day |
| Tuesday, Sept. 2 | Discussion Section. Optional help session. Meet in the computer lab on the 5th floor of Painter Hall. |
Optional help session. No quiz today. |
| Wednesday, Sept. 3 | Topic 3: Procedural decomposition case study Slides: PowerPoint, PDF, PDF for Printing |
1. Read Section 1.5 from the textbook. 2. Suggested Self-Check Exercises: Chapter 1 numbers 16, 17, and 22 3. Suggested Practice It exercises: 1.9 Star Figures, 1.10 Shining Assignment 2 available. |
| Friday, Sept. 5 | 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 Self-Check Exercises: Chapter 2 numbers 1, 3, 4, 5, 8, 9 Assignment 1 due by 11 pm tonight. |
| Monday, Sept. 8 | Topic 5: for loops Slides: PowerPoint, PDF, PDF for Printing |
1. Read Sections 2.3 and 2.4 from the textbook. 2. Suggested Self-Check Exercises: Chapter 2 numbers 12, 13, 15, 20, 21 3. Suggested Practice it exercises: 2.2 loop Squares, 2.3 fibonacci |
| Tuesday, Sept. 9 | Discussion Section. | 1. Quiz 1 2. Q and A for assignment 2 and in class work. Program with Syntax errors to open in Dr. Java Lab Exercises Number 1 |
| Wednesday, Sept. 10 | Topic 6: Nested loops Slides: PowerPoint, PDF, PDF for Printing |
1. Suggested Practice It exercises:
2.5 Star Triangle,
2.6 number Triangle Assignment 3 available |
| Thursday, Sept. 11 | Assignment 2 due by 11 pm | Assignment 2 due by 11 pm |
| Friday, Sept. 12 | 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 Self-Check Exercises: Chapter 2 numbers 27 and 28. 3. Suggested Practice It exercises: 2.8 spaces And Numbers, 2.10 numbers Output 60 |
| Monday , Sept. 15 | Topic 8: Parameters and methods Slides: PowerPoint, PDF, PDF for Printing |
1. Read Sections 3.1 and 3.2 from the textbook. 2. Suggested Self-Check 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 |
| Tuesday, Sept. 16 | Discussion Section. | 1. Quiz 2 2. Q and A for assignment 3 and in class work. 3. Lab Exercises Number 2 |
| Wednesday, Sept. 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 Self-Check Exercises: Chapter 3 numbers 12, 14, 15, 16, 17, Chapter 4, number 2. 3. Suggested Practice It exercises: 3.6 quadratic, 4. javabat problems. Warmup - backaround, Warmup2 - Stringtimes, Warmup2 - stringSplosion, String1 - helloName Assignment 4 available |
| Thursday, Sept. 18 | Assignment 3 due by 11 pm | Assignment 3 due by 11 pm |
| Friday, Sept. 19 | Topic 9: Using objects, interactive programs and loop techniques | 1. Suggested Practice It exercises: 3.8 vertical, 3.9 print Reverse |
| Monday, Sept. 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 3. javabat problems. Warmup2 - altpairs, Warmup2 - Stringbits, String1 - makeOutWord, String1 - firstHalf, String2 - mixString |
| Tuesday, Sept. 23 | Discussion Section. | 1. Quiz 3 2. Q and A for assignment 4 and in class work. |
| Wednesday, Sept. 24 | Topic 11: Introduction to simple graphics Slides: PowerPoint, PDF, PDF for Printing |
1. Read all of chapter 3G from the textbook.. 2. Suggested Self-Check Exercises: Chapter 3G numbers 1, 2, 3, 4. Assignment 5 available |
| Thursday, Sept. 25 | Assignment 4 due by 11 pm | Assignment 4 due by 11 pm |
| Friday, Sept. 26 | Topic 12: Conditional execution Slides: PowerPoint, PDF, PDF for Printing |
1. Read Sections 4.1 and 4.2 from the textbook. 2. Suggested Self-Check Exercises: Chapter 4 numbers 1, 2, 4, 5, 6, 8, 9. 3. Suggested Practice It exercises: 4.3 replicate, 4.4 print Factors 4. javabat problems. String1 - nTwice, String2 - doubleChar, String2 - bobThere, |
| Monday, Sept. 29 | Topic 13: More on conditional execution, text processing Slides: PowerPoint, PDF, PDF for Printing |
1. Read Sections 4.3, 4.4, and 4.5 from the textbook. 2. Suggested Self-Check 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 4. javabat problems. Logic - cigarParty, Logic - lessBy10, Logic - dataFashion, Logic - lastDigit, Logic - inOrder |
| Tuesday, Sept. 30 | Discussion Section. | 1. Quiz 4 2. Review for midterm. |
| Wednesday, Oct. 1 | Midterm 1 in class. | Midterm 1 in class. Midterm 1 will cover material up to and including simple graphics, topic 11. |
| Friday, Oct. 3 | Topic 14: Conditional case study Slides: PowerPoint, PDF, PDF for Printing |
1. Read Section 4.6 from the textbook. 2. Suggested Exercises (NOT the Self-Check Exercise): Chapter 4 numbers 2, 15, and 16. 3. javabat problems. Warmup - sumDouble, Warmup - in1020, Strings1 - minCat, Strings2 - catDog |
| Monday, Oct. 6 | 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 Self-Check 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, Oct. 7 | Discussion Section. | 1. Quiz 5 2. Q and A for assignment 5 3. Midterm 1 returned and reviewed. |
| Wednesday, Oct. 8 | Topic 16: Creating correct programs. user errors,
assertions, program logic Slides: PowerPoint, PDF, PDF for Printing |
1. Read Sections 5.3, 5.4 and 5.5 from the textbook. 2. Suggested Self-Check Exercises: Chapter 5 numbers 18, 19, 22, 24, 26, 27. 3. Suggested Practice It exercises: 5.7 gcd, 5.11 season Assignment 6 available |
| Thursday, Oct. 9 | Assignment 5 due by 11 pm | Assignment 5 due by 11 pm |
| Friday, Oct. 10 | Topic 17: While loop case study. Slides: PowerPoint, PDF, PDF for Printing |
1. Read Section 5.6 from the textbook. 2. Suggested Exercise (NOT the Self-Check Exercise): Chapter 5 numbers 3 3. Suggested Practice It exercise 5.9 show Binary |
| Monday, Oct. 13 | Topic 18: File processing Slides: PowerPoint, PDF, PDF for Printing |
1. Read Sections 6.1, 6.2, and 6.3 from the
textbook. 2. Suggested Self-Check Exercises: Chapter 6 numbers 1, 2, 3, 4, 5 or 6, 7, 8, 9 3. Suggested Practice It exercise 6.5 number stats |
| Tuesday, Oct. 14 | Discussion Section. | 1. Quiz 6 2. Q and A for assignment 6 and in class work (Section handout) |
| Wednesday, Oct. 15 | Topic 18: File processing |
1. Read Sections 6.4 and 6.5 from the textbook. 2. Suggested Self-Check Exercises: Chapter 6 numbers 13, 14, 15 and Exercises 2 and 9. 3. Suggested Practice It exercise 6.1 double space Assignment 7 available |
| Thursday, Oct. 16 | Assignment 6 due by 11 pm | Assignment 6 due by 11 pm |
| Friday, Oct. 17 | Topic 19: Arrays part 1 Slides: PowerPoint, PDF, PDF for Printing |
1. Read Section 7.1 from the textbook. 2. Suggested Self-Check Exercises: Chapter 7 numbers 1, 2, 3, 5, 6, 7, 8 3. Suggested Practice It exercise: 7.1 last Index Of 4. javabat problems. Arrays1 - firstLast6, Arrays1 - commonEnd, Arrays1 - reverse3, Arrays1 - makeMiddle, Arrays1 - makePi, Arrays1 - maxTriple |
| Monday, Oct. 20 | Topic 19: Arrays part 1 | 1. Read Section 7.2 from the textbook. 2. Suggested Self-Check Exercises: Chapter 7 numbers 10, 11, 13, 14, 16 3.Suggested Practice It exercises: 7.2 count In Range, 7.3 copy All 4. javabat problems. Arrays1- biggerTwo, Arrays1 - unlucky1, Arrays2 - countEven, Arrays2 - lucky13 |
| Tuesday, Oct. 21 | Discussion Section. | 1. Quiz 7 2. Q and A for assignment 7 and in class work Here are sample files for
the text processing problems: |
| Wednesday, Oct. 22 | Topic 20: Arrays part 2 Slides: PowerPoint, PDF, PDF for Printing |
1. Read Section 7.3 from the textbook. 2. Suggested Self-Check Exercises: Chapter 7 numbers 17, 20, and 22. 3. Suggested Practice It exercises: 7.4 copy Range, 7.5 mode 4. javabat problems. Arrays1 - makeEnds, Arrays2 - sameEnds, Arrays2 - tenRun, Arrays2 - centeredAve Assignment 8 available |
| Thursday, Oct. 23 | Assignment 7 due by 11 pm | Assignment 7 due by 11 pm |
| Friday, Oct. 24 | Topic 20: Arrays part 2 | 1. Suggested Practice It exercises: 7.6 standard Deviation, 7.7 kth Largest |
| Monday, Oct. 27 | Topic 20: Arrays part 2 | 1. Suggested Practice It exercise: 7.8 median |
| Tuesday, Oct. 28 | Discussion Section. | 1. Quiz 8 2. Q and A for assignment 8 and in class work |
| Wednesday, Oct. 29 | Topic 21: Sorting Slides: PowerPoint, PDF, PDF for Printing |
1. Read
the Wikipedia article on selection sort. 2. Suggested Practice It exercise: 7.9 median2, 7.11 word Lengths Assignment 9 available |
| Thursday, Oct. 30 | Assignment 8 due by 11 pm | Assignment 8 due by 11 pm |
| Friday, Oct. 31 | Topic 22: Two dimensional arrays Slides: PowerPoint, PDF, PDF for Printing |
1. Read section 7.4 from the textbook. 2. Suggested Self-Check 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 |
| Monday, Nov. 3 | Topic 22: Two dimensional arrays | 1. Suggested Practice It exercise: 7.13 equals |
| Tuesday, Nov. 4 | Discussion Section. | 1. Quiz 9 2. Review for midterm. |
| Wednesday, Nov. 5 | Midterm 2 in class | Midterm 2 in class. Midterm 2 will cover up to and including the material on sorting, topic 21 |
| Friday, Nov. 7 | Topic 22: Two dimensional arrays | |
| Monday, Nov. 10 | Topic 23: Creating classes part 1 Slides: PowerPoint, PDF, PDF for Printing |
1. Read Sections 8.1, 8.2, and 8.3 from the textbook. 2. Suggested Self-Check Exercises: Chapter 8 numbers 1, 2, 3, 4, 5, 6 and Exercises 1 and 2. |
| Tuesday, Nov. 11 | Discussion Section. | 1. Quiz 10 2. Q and A for assignment 9 3. Midterm 2 returned and reviewed. |
| Wednesday, Nov. 12 | 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 Self-Check Exercises: Chapter 8 numbers 7, 8, 10, 11, 13, 14, 15, 16 and Exercises 4 and 5. Assignment 10 available |
| Thursday, Nov. 13 | Assignment 9 due by 11 pm | Assignment 9 due by 11 pm |
| Friday, Nov. 14 | Topic 24: Creating classes part 2 | 1. Suggested Practice It exercises: 8,1 manhattan Distance, 8.2 is Vertical |
| Monday, Nov. 17 | Topic 25: Creating classes case study Slides: PowerPoint, PDF, PDF for Printing |
|
| Tuesday, Nov. 18 | Discussion Section. | 1. Quiz 11 2. Q and A for assignment 10 |
| Wednesday, Nov. 19 | Topic 25: Creating classes case study | Assignment 11 available |
| Thursday, Nov. 20 | Assignment 10 due by 11 pm | Assignment 10 due by 11 pm |
| Friday, Nov. 21 | Topic 26: Inheritance and polymorphism Slides: PowerPoint, PDF, PDF for Printing |
1. Read Sections 9.1, 9.2, and 9.3 from the textbook. 2. Suggested Self-Check Exercises: Chapter 9 numbers 1, 2, 3, 4, 5, 6. |
| Monday , Nov. 24 | Topic 26: Inheritance and polymorphism |
1. Read Sections 9.4, 9.5, and 9.6 from the textbook. 2. Suggested Self-Check Exercises: Chapter 9 numbers 9, 10, 12, 13, 14, and Exercises 1, 2, 3, and 4 |
| Tuesday, Nov. 25 | Discussion Section. | 1. Quiz 12 2. Q and A for assignment 11 and in class work |
| Wednesday, Nov. 26 | No class, CS305j only | No class, CS305j only |
| Friday, Nov. 30 | No Class, Thanksgiving break | No Class, Thanksgiving break |
| Monday, Dec. 1 | Topic 27: ArrayLists Slides: PowerPoint, PDF, PDF for Printing |
1. Read Section 10.1 from the textbook. 2. Suggested Self-Check Exercises: Chapter 10 numbers 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12. |
| Tuesday, Dec. 2 | Discussion Section. | 1. Quiz 13 2. Teaching Assistant Evaluations 3. Review for final. |
| Wednesday, Dec. 3 | Topic 27: ArrayLists, the Comparable interface Course Instructor Evaluations |
1. Read Section 10.2 from the textbook. 2. Suggested Self-Check Exercises: Chapter 10 numbers 14, 15, 16, 18. |
| Thursday, Dec. 4 | Assignment 11 due by 11 pm. You may not use slip days for assignment 11. | Assignment 11 due by 11 pm. You may not use any slip days for assignment 11. |
| Friday, Dec. 5 | Topic 28: ArrayList case study | 1. Read Section 10.3 from the textbook. 2. Suggested Exercises (NOT the Self-Check Exercise): Chapter 10, numbers 1 and 2 |
| Monday, Dec. 8 | Dead Day | |
| Tuesday, Dec. 9 | Dead Day | |
| Wednesday, Dec. 10 | Final Exam. 7 pm - 10 pm. Location to be announced. | Final Exam.7 pm - 10 pm. Location to be announced. |