Mid Term Review Sheet
This document contains a list of subjects that I think students should have
mastered by the time they take the midterm exam. It is quite possible
that some of the questions from the exam will come
straight from the questions on this list.
Programming and Haskell
Sorting
- Sorting Arrays
- Static index based permutation sorts.
- Exchange sort
- Bubble Sort
- Insertion Sort. See insertArr.
- Sorts on key ranges with special properties
- Bucket Sort
- Counting Sort
- Radix sort
- Be able to describe properties necessary.
- Sorting lists
- List based insertion sort.
- List based Exchange sort.
- List based Bubble sort
- Divide and conquer sorts
- Tree based sorts using trees with the binary-search tree invariant.
- Satellite data and stabilty.
Searching
- Sequential searches
- On lists
- On arrays
- Binary searches
- On arrays
- Why they don't work on lists
- On binary trees
- The Binary Search tree invariant
- Performing insertions to maintain the invariant
- The divide and conquer search algorithm
- Balancing trees
- The Binary Search tree invariant
- Rotations
- AVL trees
- Hash based searches
- Bucket Hashes
- Sequential search hashes
- Properties of Hash functions
Cost analysis
- The one-egg metric
- Time based costs
- Space based costs
- Cost as a function of the size of the input
Back to the Daily Record.
Back to the class web-page.