Deck 4: Control Structures I Selection

Full screen (f)
exit full mode
Question
Name all the possible values of Boolean variables.
Use Space or
up arrow
down arrow
to flip the card.
Question
In C++, true and false are reserved words.
Question
The ____________________ operator in C++ is ==.
Question
The conditional expression portion of an if statement is sometimes called a(n) ____________________ because it decides whether to execute the statement that follows it.
Question
What is an action statement?
Question
The if…else statement is a one-way selection structure.
Question
A(n) ____________________ operator takes three operands.
Question
What does these terms refer to:

- \gg Action statement:
Question
What does these terms refer to:

- \gg Associativity:
Question
What does these terms refer to:

- \gg Compound statement (block of statements):
Question
What does these terms refer to:

- \gg Conditional expression:
Question
What does these terms refer to:

- \gg Conditional operator:
Question
What does these terms refer to:

- \gg Decision maker:
Question
What does these terms refer to:

- \gg Logical (Boolean) expression:
Question
What does these terms refer to:

- \gg Logical (Boolean) operators:
Question
What does these terms refer to:

- \gg Logical (Boolean) values:
Question
What does these terms refer to:

- \gg Nested:
Question
What does these terms refer to:

- \gg Pairing an else with an if:
Question
What does these terms refer to:

- \gg Pseudocode (pseudo):
Question
What does these terms refer to:

- \gg Relational operator:
Question
What does these terms refer to:

- \gg Selector:
Question
What does these terms refer to:

- \gg Short-circuit evaluation:
Question
What does these terms refer to:

- \gg Switch structure:
Question
What does these terms refer to:

- \gg Ternary operator:
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/24
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg Ternary operator:
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 24 flashcards in this deck.