Level 6
Level 7

Control Flow Statements

11 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

if-then statement
tells your program to execute a certain section of code only if a particular test evaluates to true
provides a secondary path of execution when an "if" clause evaluates to false
statement that allows for any number of possible execution paths
continually executes a block of statements while a particular condition is true.
evaluates its expression at the bottom of the loop instead of the top. Therefore, the statements within the do block are always executed at least once
provides a compact way to iterate over a range of values. Programmers often refer to it as the "___ loop"
unlabeled break
terminates the innermost switch, for, while, or do-while statement
labeled break
terminates an outer statement
unlabeled continue
unlabeled form skips to the end of the innermost loop's body and evaluates the boolean expression that controls the loop
labeled continue
skips the current iteration of an outer loop marked with the given label
exitss from the current method, and control flow returns to where the method was invoked.