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;
7 Cards in this Set
- Front
- Back
Typically, ___________ statements are used for counter-controlled repetition and ____________ statements are used for sentinel-controlled repetition.
|
for, while
|
|
The do…while statement tests the loop-continuation condition ___________ executing the loop’s body; therefore, the body always executes at least once.
|
after
|
|
The __________ statement selects among multiple actions based on the possible values of an integer variable or expression.
|
switch
|
|
The _____________ statement, when executed in a repetition statement, skips the remaining statements in the loop body and proceeds with the next iteration of the loop.
|
continue
|
|
The _____________ operator can be used to ensure that two conditions are both true before choosing a certain path of execution.
|
&& (conditional AND) or & (boolean logical AND)
|
|
If the loop-continuation condition in a for header is initially _____________, the for statement’s body does not execute.
|
false
|
|
Methods that perform common tasks and do not need to be called on objects are called ___________ methods.
|
static
|