CIS211 Quiz 4
The _____ operator takes an operand and reverses its truth or falsehood.
!
All of the relational operators are binary.
True
The C++ _____ operator represents logical AND.
&&
In C++ when a relational expression is false, it has the value _____
0
Relational operators allow you to _____ numbers.
Compare
Logical operators AND and OR have a higher precedence than the NOT operator.
False
If a switch statement has no _____ statements, the program "falls through" all of the statements below the one with the matching case expression.
break
The _____ statement causes other program statements to execute only under certain conditions.
if
The _____ statement executes one block of statements if a test condition is true, and another block if the condition is false.
if/ else
A trailing else placed at the end of an if/else if statement provides a default action when _____ of the if conditions is/are true.
none