CSC 160 - Chapter 4 Quick Reference

Chapter 4 "Making decisions"

General Terms

relational expression flag variables statement block input validation
"garbage in, garbage out" local/block scope ASCII

C++ Syntax/Constructs

true/false if else &&, AND
||, OR !, NOT ?: conditional operator switch
case break enum
>, <, >=, <=, ==, != relational operators

Concepts

Important concepts covered include:


Disclaimer: The goal of this "cheat sheet" is to review the more important concepts in the chapter. The exclusion of any material in the chapter from this "cheat sheet" does not mean that you are not responsible for that material.