On this page:
Week 1
Week 2
Week 3
Week 4
Week 5
Week 6
Week 7
Week 8
Week 9
Week 10
Week 11
Week 12
Week 13
Week 14
Week 15
6.1.1

Syllabus

Week 1

1/12: Lecture 1: Data Definitions in JavaDesigning Data: Simple classes, classes with containment

1/14: Lecture 2: Data Definitions: UnionsDesigning unions of classes; self-reference

1/15: Lecture 3: Methods for simple classesMethods for simple classes and classes with containment

Lab 1: Introduction to Eclipse and Simple Data DefinitionsData definitions in Java; Eclipse IDE; WebCAT homework server
Lab 1h: Introduction to Eclipse and Simple Data DefinitionsData definitions in Java; Eclipse IDE; WebCAT homework server; simple methods

Week 2

1/19: No Class: MLK Day 

1/21: Lecture 4: Methods for unionsMethods for unions of classes and classes with self-reference

1/22: Lecture 5: Methods for self-referential listsDesigning methods for complex class hierarchies

Lab 2: Working with Self-Referential DataDesigning methods in Java: classes, containment, unions, self-reference

Week 3

1/26: Lecture 6: Accumulator methodsMore complicated methods for self-referential data

1/28: Lecture 7: Accumulator methods, continued(continued) Methods with accumulators

1/29: Lecture 8: Practice DesignRecap: designing methods and wish lists for a larger problem

Lab cancelled due to snow

Week 4

2/2: Lecture 9: Abstract classes and inheritanceAbstract classes and inheritance

2/4: Lecture 10: Customizing constructors for correctness and convenienceCustomizing constructors for correctness and convenience

Lab 3: Methods for Complex DataDesigning methods for self-referential data

Week 5

2/11: Lecture 13: Abstracting over behaviorOverview of world programming; Function objects

Lab 4Practice with abstract classes and constructors

Week 6

2/16: No Class: Presidents’ Day 

2/19: Lecture 16: VisitorsVisitors

Lab 5Equality, functional world games

Week 7

2/23: Lecture 17: MutationCreating cyclic data, mutation

2/25: Lecture 18: Mutation inside structuresTesting mutation methods, indirect cycles

2/26: Lecture 19: Mutation, aliasing and testingAliasing and equality, revisited

Lab 6Working with function objects

Week 8

3/2: Lecture 20: Mutable data structuresRemoving items from lists, mutable lists

3/4: Lecture 21: ArrayListsDirect-access data structures: ArrayList; swapping two items, mapping over ArrayLists, for-each loops

3/5: Lecture 22: ArrayListsArrayLists and binary search; for-each loops; working with indices

Lab 7Generics and Visitors

Week 9

3/9: No Class: Spring break 

3/11: No Class: Spring break 

3/12: No Class: Spring break 

Week 10

3/16: Lecture 23: For-each loops and Counted-for loopsFor-each loops and counted-for loops

3/18: Lecture 24: While loopsWhile-loops

3/19: Lecture 25: Iterator and IterableIterators and Iterables

Lab 8Working with mutable and cyclic data

Week 11

3/25: Lecture 27: Introduction to Big-O AnalysisBig Oh: searching and sorting; insertion sort and selection sort

3/36: Lecture 28Big Oh: searching and sorting; quicksort and merge sort

Lab 9Loyd's 15 puzzle: working with ArrayLists, loops and imperative worlds

Week 12

3/30: Lecture 29: Priority Queues and HeapsortBig Oh: searching and sorting; HeapSort -- Priority Queue

4/1: Lecture 30Graph algorithms: breadth-first search, depth-first search

4/2: Lecture 31Graph algorithms: Dijkstra's algorithm, and comparison with BFS/DFS

Lab 10Practice implementing iterators

Week 13

4/6: Lecture 32Minimum spanning trees: Prim's and Kruskal's algorithms

4/8: Lecture 33TBD

4/9: Lecture 34TBD

Lab 11Heapsort, stress tests

Week 14

4/13: Lecture 35TBD

4/15: Lecture 36Implementing Objects

4/16: Lecture 37Design choices in object-oriented languages: JavaScript

Lab 12TBD

Week 15

4/20: No Class: Patriots’ Day 

4/22: Lecture 38Other languages and wrapup