CMPSC 201 - Ch. 2 Notes

Objective #1: Identify and create valid C++ identifiers (function and variable names.)

Objective #2: Explain and appreciate the importance of using good C++ coding style.

Objective #3: List and explain the differences between the three basic data types in C++: integers, floating-points, and characters.

For characters (that is a single letter, digit, or symbol):

Objective #4: Correctly evaluate C++ expressions and identify the data type of their results.

Objective #5: Evaluate expressions appropriately with integer division.

Objective #6: Use assignment statements with correct C++ syntax.

Objective #7: Use declaration statements with correct C++ syntax.

Objective #8: Use the endl manipulator correctly

Objective #9: Explain the differences between using pseudocode and flowcharts to developing a program's algorithm.

Objective #10: Use a rounding algorithm.