Lectures and Readings |
Students should consult this page regularly to see the most current version of the schedule of topics and readings.
All reading assignments are from the text. Students should come to class having completed the indicated readings for the day. You should attempt to work all the problems at the end of each section as you are reading. Chapter review problems will be assigned during each lecture. While chapter review problems will not be turned in, you should complete them before the next lecture after they are assigned. Many of these will show up in the regular quizes during the first five minutes on Friday mornings, and may also appear on the midterm or final. Problems assigned in association with lecture n should be completed before lecture n+1. Answers are in the back of the book for most problems assigned.
Lecture | Date | Topic | Example code | Reading | Hmwk assigned |
1. | Sept. 2 | Introduction & Overview | code | Ch 0 & 1, Appendix B.3.2 | 1.1, 1.3 |
2. | Sept. 4 | Pre- and Post-Conditions | code | Ch 2 | 2.1,2.3 |
3. | Sept. 7 | Java Graphics | code | Standard Java Graphics | |
4. | Sept. 9 | Events & ArrayLists | code | Ch 3 & 4 | 3.7 |
5. | Sept. 11 | ArrayList Implementation | code | Ch 3 & 4 | 3.5, 3.7 |
6. | Sept 14 | Analysis of Algorithms | Ch 5.1 | 5.5, 5.9, 5.11 | |
7. | Sept. 16 | Induction/Sorting | code | Ch 5.2-3, Ch 6 | 5.21,5.23 |
8. | Sept. 18 | Sorting 2 | code | Ch 6 | 6.7 |
9. | Sept 21 | Iterators | code | Ch 8 | 8.3 |
10. | Sept. 23 | Linked Lists 1 | Ch 9 | 9.5 | |
11. | Sept. 25 | Linked Lists 2 | Ch 9 | 9.15 | |
12. | Sept. 28 | Stacks | code | Ch 10.1 | 10.3 |
13. | Sept 30 | Queues | code | Ch 10.2 | 10.5 |
14. | Oct. 2 | Ordered Structures | code | Chap 11 | |
15. | Oct. 5 | Binary Trees 1 | Chap 12.1-5 | 12.3, 12.7 | |
16. | Oct. 7 | Binary Trees 2 | code | 12.6-12.10 | 12.11 |
17. | Oct. 9 | Array Representations of trees & Priority Queues | code | Ch 13.1-13.4.1 | 13.1, 13.2 |
18. | Oct. 12 | Heaps & Heapsort | Ch 13.4.2-13.6 | ||
19. | Oct. 14 | Binary Search and Splay Trees | Ch 14.1-8 | 14.3,14.5,14.11 | |
20. | Oct. 16 | OO Design/Parallelism 1 | Handout, sections 2, 3 | ||
Oct. 19-20 | Fall Break | ||||
21. | Oct. 21 | Review & Parallelism 1.5 | Handout, sections 2, 3 | ||
22. | Oct. 23 | Midterm | Handout, sections 2, 3 | ||
23. | Oct. 26 | Parallelism 2 | code | Handout, section 4 | |
24. | Oct. 28 | Parallelism 3 | code | Handout, section 5 | |
25. | Oct. 30 | Parallelism 4 | Handout, section 5 | ||
26. | Nov. 2 | Concurrency 1 | Handout, section 6 | ||
27. | Nov. 4 | Concurrency 2 | Handout, section 7 | ||
28. | Nov. 6 | Concurrency 3 | code | Handout, sections 8, 9, Sample Problems | |
29. | Nov. 9 | Intro to C | C code example can be found on the project2 server. | ||
30. | Nov.11 | C: functions and pointer | |||
31. | Nov. 13 | C: arrays and strings | |||
32. | Nov. 16 | C: Dynamic Memory | |||
33. | Nov. 18 | C: More Pointers | |||
34. | Nov. 20 | C: Advanced Topics | |||
35. | Nov. 23 | Dictionaries & Hashing | Ch 15.1-3 | ||
36. | Nov. 25 | More Dictionaries & Hashing | Ch 15.4-7 | 15.3, 15.9 | |
Nov. 26-27 | Thanksgiving Break | ||||
37. | Nov. 30 | Graphs | Ch. 16 | 16.1, 16.3 | |
38. | Dec. 2 | Graphs | Ch. 16 | 16.7 | |
39. | Dec. 4 | Graphs | Ch 16 | dijkstra's algorithm | |
40. | Dec. 7 | Min Spanning Tree | Ch 16 | ||
41. | Dec. 9 | Summary | |||
Lectures and Readings |