1/14
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
According to course standards, you are required to use { and } with all if constructs.
True
When the selection is based on a range of values, or the condition is not integral, we use the
else-if for our multiway selection needs.
True
The dangling else logical error can be corrected by indenting the if and else the same number of spaces.
False
The conditional expression has three operands and two operators.
True
The control expression that follows the keyword switch may be an integer or character
expression.
True
Each switch case label is the keyword case followed by a constant expression inside of single quotes.
False
The break statement causes the program to jump out of the switch statement.
True
The course standards limit the use of the break statement to only switch statements.
True
The case label represents an integral type that is a possible result of the selection condition
expression.
True
No two switch case labels can represent the same constant expression value.
True
It is a logical error to associate two switch case labels with a common set of actions.
False
The maximum number of actions that can be associated with a switch case label is one.
False
Negative logic refers to any expression that begins with a NOT operator or that contains multiple NOT operators within.
True
Complementing a condition is one way to potentially remove negative logic from an expression.
True
The only way to complement a NOT operator is with another NOT operator.
False