OPERATION: count++; 2 Loop A: O(n ) QUADRATIC Loop B: O(n + n) = O(2n) = O(n) LINEAR 2 Loop C: O(n ) QUADRATIC Runtime of sum_it_up() function? O(n) LINEAR FINAL EXAM -------------------------------- Same rules and format as Tests Comprehensive Study suggestions: -- do tests 1 and 2 AGAIN -- review your labs -- review sample code on site Some final exam questions will be EXACTLY the same as test questions Some final exam questions will be based on test questions 8 Questions: -- 1 number conversion -- 1 find-the-errors-and-fix -- 2 what is the EXACT output -- 1 translate to code -- 2 write-the-functions -- 1 write-the-complete-code DEADLINE POLICY! --------------------- Homework #2 - email no later than Thurs 11:59pm Labs -- show me in class (i.e. no labs via email)