Deck 4: Control Structures I Selection
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/24
Play
Full screen (f)
Deck 4: Control Structures I Selection
1
Name all the possible values of Boolean variables.
true and false, or 0 and 1
2
In C++, true and false are reserved words.
True
3
The ____________________ operator in C++ is ==.
equality
4
The conditional expression portion of an if statement is sometimes called a(n) ____________________ because it decides whether to execute the statement that follows it.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
5
What is an action statement?
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
6
The if…else statement is a one-way selection structure.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
7
A(n) ____________________ operator takes three operands.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
8
What does these terms refer to:
- Action statement:
- Action statement:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
9
What does these terms refer to:
- Associativity:
- Associativity:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
10
What does these terms refer to:
- Compound statement (block of statements):
- Compound statement (block of statements):
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
11
What does these terms refer to:
- Conditional expression:
- Conditional expression:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
12
What does these terms refer to:
- Conditional operator:
- Conditional operator:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
13
What does these terms refer to:
- Decision maker:
- Decision maker:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
14
What does these terms refer to:
- Logical (Boolean) expression:
- Logical (Boolean) expression:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
15
What does these terms refer to:
- Logical (Boolean) operators:
- Logical (Boolean) operators:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
16
What does these terms refer to:
- Logical (Boolean) values:
- Logical (Boolean) values:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
17
What does these terms refer to:
- Nested:
- Nested:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
18
What does these terms refer to:
- Pairing an else with an if:
- Pairing an else with an if:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
19
What does these terms refer to:
- Pseudocode (pseudo):
- Pseudocode (pseudo):
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
20
What does these terms refer to:
- Relational operator:
- Relational operator:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
21
What does these terms refer to:
- Selector:
- Selector:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
22
What does these terms refer to:
- Short-circuit evaluation:
- Short-circuit evaluation:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
23
What does these terms refer to:
- Switch structure:
- Switch structure:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
24
What does these terms refer to:
- Ternary operator:
- Ternary operator:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck