In addition to reviewing the material covered for the first two midterm exams you should also focus on the material presented in chapter 5 (file i/o), section 6.1 (structures), chapters 7 (for loops), 10 (arrays) and 11 (strings and vectors), and section 12.1 (pointers) of your textbook. You should also look over the following sections of Dale Haverstock's online notes:
|
|
|
You can also refer to the C/C++ Reference guide at http://cppreference.com/ or you may wish to go through the Input/Output with files and Compound Data Types parts of the online tutorial available at http://www.cplusplus.com/doc/tutorial/
Be able to answer questions such as a "What is", "Describe", "Explain", etc. or be able to write important information about each of the following
struct
* operator
& operator
x,
of type pointer to
T, where
T is any type,
what does
*x in an expression or statement denote,
what operations can be performed on/with it
You may be given a snipet of code to execute by hand and explain or you may be asked to write code relating to the items below
for loop
for loops with arrays
string -
defining, output, input,
assignment,
concatenation (+), append (+=),
index/subscript, compare, length
string -
find, substring
- execute given code only
vectors -
defining, indexing,
using push_back(),
size,
using for loops with vectors