Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
12 Cards in this Set
- Front
- Back
Four basic control structures:
|
sequence
selection loop sub-program |
|
Logical expressions
|
assertions that C++ evaluates to determine whether they are true or false
|
|
True is a ____________ value
|
non-zero
|
|
False is a ____________ value
|
zero
|
|
___________ ___________ test the relationship between values
|
Relational operators
|
|
T/F - Relational operators can be used to compare arithmetic expressions AND strings
|
True!
|
|
==, !=, <, >, <=, and >= are examples of ___________ ___________.
|
relational operators
|
|
For && to be true, && requires _______ statment(s) to be true
|
both
|
|
For || to be true, || requires _______ statment(s) to be true
|
one
|
|
What level is !, unary +, unary -
|
1
|
|
What are the 3 types of if statments
|
if, if-then-else, nested if
|
|
A selection control structure that operates similar to nested ifs
|
Switch statment
|