TEST #1 (June 1) ---------------------------------------- OPEN BOOKS, OPEN NOTES, NO COMPUTER, NO CALCULATOR, NO ELECTRONIC CHEATING DEVICES Full 2 hours (9-11am) 5 Questions, including stuff like this: -- What is the exact output of this code? -- Write some code to do ____________. -- Write a function to do ____________. -- Modify/expand this class declaration .... -- Short answer (e.g. order notation) TOPICS: -- C++ fundamentals (data types, while, for, if, switch, functions, ...) -- Data types, operations (+ - * / %) -- Scope of variables -- Pass by value, pass by reference -- const -- Arrays 2 -- Order notation, O(n), O(n ) etc. -- C++ Strings -- Vectors -- Recursion -- Binary Search, Factorial, Fibonacci -- Pointers * & -- Classes and objects