Session Details
Week 1,
Session 2 — Tue Jun 5
Preparation
-
L: Chapter 1; Sections 2.1 2.2;
Most of this should be review.
For rmore background on Analaysis of Algorithms, W: 5.1-5.7
-
L: Appendix A.
You do not need to memorize these formulas, but you should be aware of the kinds of formulas in this list, so that you will know when to look at the list.
-
D: Chapter 0, (on ANGEL). A good treatise on the importance of algorithms.
-
W: Continue reviewing 230 material as needed.
-
Slides: If you are not very confidnet about hoe to prove that (ordinary and strong) mathematical induction is a valid proof technique and how to use it to do proofs about numbers and about binary trees, be sure to see the slides that are linked in this day's Resources column.
HW Due
-
Background Survey on ANGEL. (0) It is important that you do this one early
Topics
-
Master Theorem review
-
What is an Algorithm?
-
Fibonacci Algorithms and their analysis
-
Integer arithmetic
Outline
-
[5 min] Student questions
-
[5 min] Master Theorem Review
-
[5 min] Brainstorm definition of Algorithm in groups of 3.
-
[5 min] Collect results
-
[5 min] Session --> Day of week algorithm
-
[25 min] Fibonacci Algorithms
-
[10 min] didn't get to it
Resources
-
Slides
-
Summer: Instructor notes for Slides
-
In class code
-
Summer: In-class Quiz 02
-
Summer: ICQ 02 solution
-
If you are not comfortable with why mathematical induction works and how to use it:
-
VIDEO: How (Not) to Do an Induction Proof
Quiz Solution
-
In-class quiz
HW Assigned
-
HW 1