1. CS206 Data Structures Final Week
Grade breakdown:
| Homework | 45% |
| Midterm Exam | 20% |
| Final Exam | 20% |
| Project | 15% |
Presentations, next Tuesday:
Presentations can include Power Point of code, graphical maps of game, demonstrations of actually game, etc. Please turn in your well-formatted and appropriately commented code.
1.1. Review
Labs:
-
Prompt user, get input, exceptions, compiling, running
-
Arrays, creation, adding data, objects, methods
-
Console menu, searching an array, printing array, bubble sort
-
Insertion sort into an array
-
Game, format, standard
-
Opening files, reading lines, parsing files
-
Linked lists, adding, deleting, printing, sorting
-
Putting it all together; full playable game
Topics:
-
Object oriented programming
-
methods
-
creation of objects
-
constructors
-
arguments and parameters
-
interfaces
-
Arrays
-
creation
-
insertion
-
delete and shift
-
searching
-
binary search
-
analysis
-
logarithms
-
big O notation
-
sorting, bubble sort
-
sorting, insertion and selection
-
sorting, quicksort
-
Linked lists
-
creation
-
insertion, insertion in order
-
delete
-
searching
-
Recursion
-
quicksort
-
towers of hanoi
-
other examples
-
Parsing
-
tokenizer
-
Graphs
-
definition
-
searching
-
breadth-first
-
depth-first
-
shortest path
-
Trees
-
binary
-
balanced
-
insertion
-
searching
-
Hash or dictionary
-
definition and use
-
When to use what
