Exam 0 is designed to be a low-stress introduction to the CBTF exam environment. This quiz is on foundational knowledge you have from your prerequisite classes.
Exam 0 is 50 minutes long and only has multiple choice questions.
Topics Covered
-
Course Policies
- Mathematical foundations:
- Be able to give a closed form solution to a recurence relation.
- Be able to indicate the big-O running time of common algorithms (eg: binary search, merge sort, etc).
- Be able to understand basic graph terminology.
- Be able familiar with Trees
- Be able to understand a standard proof and proof by induction.
-
C++ Topics
- Classes in C++
- Public members functions
- Private helper functions
- Private variables
- Constructors
- Automatic default constructor
- Custom constructors (default and non-default)
- Copy constructor
- Automatic copy constructor
- Custom copy constructor
- Inheritance
- Namespaces in C++
- Creating a class that is part of a namespace (eg:
Cube
is part of the cs225
namespace)
- Using a class from a namespace (eg:
cs225::Cube
)
- Purpose and usefulness of namespaces
- Variables
- Four properties: name, type, location (in memory), and value
- Primitive vs. user-defined
- Memory
- Indirection in C++:
- Reference variables
- Pointers
- Differences and trade-offs between each type
- Stack memory
- Heap memory
- Functions: Calling and Returning
- Pass by value, by reference, and by pointer
- Return by value, by reference, and by pointer
For reviewing the C++ material we suggest the material produced by Prof. Michael Nowak which can be found here Learn C++ Online
Points:60
Registration: Thursday, August 22
Start: Wednesday, September 04
End: Friday, September 06