COS 226 Midterm Information, Spring 2012
Location:
- 80 minutes, during lecture on Monday, March 12 from 11-12:20pm.
- Exam will be held in McCosh 10
Rules:
- Closed book, closed note.
- You may bring one 8.5-by-11 sheet (one side) with notes in your own
handwriting to the exam.
- No electronic devices (e.g., calculators, laptops, and cell phones).
Material covered:
- Algorithms, 4th edition, Sections 1.3–1.5, Chapter 2, and Chapter 3.
- Lectures 1–11.
- Programming assignments 1–5.
Q&A Session
Sunday, March 11, 3-5 PM in Friend 101
The precept before the exam will be devoted to Q+A and review.
List of algorithms and data structures:
quick-find |
weighted quick-union |
path compression |
stacks |
queues |
binary search |
Knuth shuffle |
insertion sort |
selection sort |
Graham scan |
mergesort |
bottom-up mergesort |
quicksort |
3-way quicksort |
heapsort |
binary heaps |
sequential search |
BSTs |
2-3 trees |
left-leaning red-black BSTs |
separate chaining |
linear probing |
A good way to practice for the midterm is to solve problems from
old exams.