Lecture notes and other resources

We will place on this page notes handed out in class and other helpful material, as they are produced.
Basics of Java and Eclipse: pdf file   
Power point slides for all of Java: pdf (6/page)   pptx (slides)
 
Week 1. 27 Jan. We developed and tested some simple Java programs. The zip file contains a skeletonm where you can write the methods yourself, a completed version, and a JUnit testing class.    Demo.zip
Week 2. 03 Feb. We developed a method to anglicize integers, demoing integrated development and testing. The zip file contains class Ang and a JUnit testing class for it.
Week 3. 10 Feb. We discussed linked lists, generics (a bit), and inner classes, so that assignment A3 could be understood and done. We also review the last part of Tuesday's CS2110 lecture. There are no notes for this lecture. Look at the 2110 website for the java files for Animal, Dog, and Cat.
Week of 17 Feb. No lecture. It is February Break.
Week 5. 03 Mar. We talked about complexity bounds (time and space), abstract classes and methods, and collections (List, Set, ArrayList, HashSet etc). Sample code demonstrating use of abstract base classes: Employee.zip
 
 
 
 
 
 
 
Some topics covered in previous incarnations of CS2111:
Time-format changer (practice with Strings)
Anglicize an integer (e.g. from 125 produce "one hundred twenty five") step-wise refinement)
Parsing expressions (giving precedence to */ over +-)
Make an Iterable version of the algorithm "Next higher permutation"
Set implementations
Asymptotic complexity
Celebrity problem
Loop invariants
Linked lists
Practice with induction

Review for test
More detail about an assignment