Some example questions (without the actual questions). Remember that during the test you will need to use good programming practices throughout. There will be question 'types' that are not listed below, so just knowing how to answer these is not enough to get 100% on the test. You should also go over the review problems in the book for the chapters we have covered - as well as read any portions of the chapters you may have missed. Some problems will likely come directly from those as well. Given the following snippet of code, what is the output? (code would follow) Give C++ code for the following pseudocode. (pseudocode would follow) Give C++ code for the following problem statement. (a problem statement would follow) Give pseudocode for the following problem statement. (a problem statement would follow) What does the following code do? What are the values of all variables at the end of its execution? (code would follow) What is the maximum and minimum integer? Name several C++ types. What is the largest C++ type? Which type is the most precise for real numbers. Give several valid identifiers and invalid identifiers? What is a compiler and what does it do? What is the difference between source code and machine code? Find all errors (run-time and compiler) in the following code. (code would follow) What is the difference between C++ types? (you would have to describe the difference between any of the types here, for example, the difference between int, float, bool, double, string, char) What is the scope of the following variable? Does the following code take advantage of boolean short-circuit evaluation? What is the difference between a local and a global variable? What is #include used for? What is the difference between implicit and explicit type casting? What is a function prototype? Give the function prototype for the following situation? Give the function definition for the following situation? Other things to understand: -arithmetic -if statements -loops (for and while) -Any C++ keywords (for ex: int, float, const, if, while, for, ...) -function basics (definition, prototype, location, calls, arguments) -cout/cin -literals -type casting (implict and explicit)