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.5

Syllabus

Week 1

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

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

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

Lab 1Data definitions in Java; Eclipse IDE; WebCAT homework server
Lab 1hData definitions in Java; Eclipse IDE; WebCAT homework server; simple methods

Week 2

1/18: No Class: MLK Day 

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

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

Lab 2Designing methods in Java: classes, containment, unions, self-reference
Lab 2hDesigning methods in Java: classes, containment, unions, self-reference

Week 3

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

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

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

Lab 3Designing methods for self-referential data

Week 4

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

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

Lab 4Practice with abstract classes and constructors

Week 5

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

Lab 5Functional world games
Lab 5hEquality, functional world games

Week 6

2/15: No Class: Presidents’ Day 

2/18: Lecture 16: VisitorsVisitors

Lab 6Working with function objects
Lab 6hWorking with function objects, introduction to generics

Week 7

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

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

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

Lab 7Generics and Visitors

Week 8

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

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

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

Lab 8Working with mutable and cyclic data
Lab 9Loyd's 15 puzzle: working with ArrayLists, loops and imperative worlds

Week 9

3/7: No Class: Spring break 

3/9: No Class: Spring break 

3/10: No Class: Spring break 

Week 10

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

3/16: Lecture 24: While loopsWhile-loops

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

Lab 9Loyd's 15 puzzle: working with ArrayLists, loops and imperative worlds
Lab 10Practice implementing iterators
Lab 10hWider trees and advanced iterators

Week 11

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

3/24: Lecture 28: Quicksort and MergesortBig Oh: searching and sorting; quicksort and merge sort

Lab 10Practice implementing iterators
Lab 10hWider trees and advanced iterators

Week 12

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

3/30: Lecture 30: Breadth-first search and Depth-first search on graphsGraph algorithms: breadth-first search, depth-first search

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

Lab 11Heapsort, stress tests

Week 13

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

4/6: Lecture 33Design choices in object-oriented languages: JavaScript

4/7: Lecture 34: Implementing ObjectsImplementing Objects

Week 14

4/11: Lecture 35Other languages and wrapup

4/13: Lecture 36Slack

4/14: Lecture 37Slack

Week 15

4/18: No Class: Patriots’ Day 

4/20: Lecture 38Slack