C455 – Test 1 Sample and Study Guide
You'll be given any necessary reference material such as algorithms from the text or notes, definitions of W, Q, O and summation formulas.
You can bring one page of notes on the front and back of an 8.5x11 inch paper and a calculator.
No cell phones. Please plan to disable your cell phone during the test and make arrangements accordingly.


IH: T(n*9/10) ³ c n * 9/10
Show: T(n) = T(n * 9/10) + n ³ c n
Proof:
T(n) = T(n * 9/10) + n ³ c n * 9/10 + n = (c*9/10+1) n ³ c n
(c*9/10+1) n ³ c n (c*9/10+1) ³ c
Holds for c = 1 > 0
Base:
Try n0 = 1, c = 1
T(n) = T(n * 9/10) + n ³ c n T(1) = T(1 * 9/10) + 1 ³ 1 * 1 Holds for n0 = 1, c = 1
