Presentation is loading. Please wait.

Presentation is loading. Please wait.

Midterm Review.

Similar presentations


Presentation on theme: "Midterm Review."— Presentation transcript:

1 Midterm Review

2 About that exam Monday March 11 in class
Similar in style to example exam No coding on paper But lots of analyzing code Closed-book, etc. 100 minute exam

3 Exam Content Content is everything up to and including Binary Search Trees Exam will cover almost all material in assignments and labs Except templates, operator overloads Exam will cover almost all material in lecture slides Details of exceptions to follow

4 cmpt225_2stack Abstract Data Types Data Structures Stacks Queues
Array and Linked List implementations Dynamic (heap) versus Static (stack) memory

5 cmpt225objects, cmpt225_pointers
Object-oriented design principles Basics of classes Pointers Memory management Dangling pointers Memory leaks

6 O-notation and Sorting cmpt225_4onotation
Methods for analyzing time efficiency O-notation And others Best, worst, average case Sorting Insertion sort Selection sort

7 Recursion cmpt225recursive
Thinking recursively Formulating recursive solutions to problems Writing recursive functions Efficiency of recursive functions More sorting MergeSort Quicksort

8 Trees cmpt225trees Definitions Tree traversals Binary search tree
Trees, perfect trees, complete trees Tree traversals In-order, pre-order, post-order Binary search tree Insertion, deletion, search algorithms


Download ppt "Midterm Review."

Similar presentations


Ads by Google