Search this site
Embedded Files
Skip to main content
Skip to navigation
Mr. K. McKay - Computer Science & Technology
Courses
ICS2O
ICS2O-MathematicalOperations
ICS2O-VariableDeclarations
ICS3U
ICS3U-Intro-String-Class
ICS3U-Intro-Strings
ICS4U
TEJ3M
TEJ4M
TER3M
BTT1O
BTT1OX
ROBOTICS TEAM 5870
Grade 8 Students & Parents
Programming Contests
Mr. K. McKay - Computer Science & Technology
Courses
ICS2O
ICS2O-MathematicalOperations
ICS2O-VariableDeclarations
ICS3U
ICS3U-Intro-String-Class
ICS3U-Intro-Strings
ICS4U
TEJ3M
TEJ4M
TER3M
BTT1O
BTT1OX
ROBOTICS TEAM 5870
Grade 8 Students & Parents
Programming Contests
More
Courses
ICS2O
ICS2O-MathematicalOperations
ICS2O-VariableDeclarations
ICS3U
ICS3U-Intro-String-Class
ICS3U-Intro-Strings
ICS4U
TEJ3M
TEJ4M
TER3M
BTT1O
BTT1OX
ROBOTICS TEAM 5870
Grade 8 Students & Parents
Programming Contests
ICS4U-Test Review-Recursion & Sort
Test #3
Recursion
What are the three criteria for a problem to have a recursive solution?
Give two benefits and two problems with using recursion.
Trace through a limited recursive routine.
Definitions :iterative solution, base case, depth of recursion, preconditions
Chapter 11, exercises 11.3 #2-3, 11.4 #1(a), 2, 3, 5-9
Chapter 70, 72
on-line quizzes
Searching and Sorting Theory
What are the four factors that affect sorting routines?
What does Big-O notation mean? Give an example.
Compare the efficiencies of o(n2) and O(n log n) algorithms
What is the basic algorithm for the merge sort? quick sort?
If you were given the code for either, would you recognize it?
How do worst case times compare?
Given a scenario, what type of sort would you use.
Binary Search - recursive version
Report abuse
Report abuse