Repetition Statement Flashcards
As we know, a program consists of lists of _____.
instructions.
_______ are programming blocks that can change the path we take through those instructions or not.
Control structures
Control structures are ________ that can change the path we take through those instructions or not.
programming blocks
Control structures are programming blocks that can _________ we take through those instructions or not.
change the path
It is a ________ in a
programming language to express the flow of control.
syntactic form
It is a syntactic form in a
1. ________ to express the 2. _____.
- programming language
- flow of control
_______ are also called loops and it is a block of code to be executed for a fixed number of times or until a certain specified condition is met.
Repetition statements
Repetition statements are also called 1. _____ and it is a 2. _____ to be 3. _____ for a fixed number of times or until a certain specified condition is met.
- loops
- block of code
- executed
Repetition statements are also called loops and it is a block of code to be executed for a 1. _______ or until a certain specified 2. ______.
- fixed number of times
- condition is met
It encircles the 1. _____ for a 2. _____.
- flow
- while
This structure is similar to the selection structure in the sense that once the said or specified condition or conditions is/are
1. _____, the 2. __________ is executed but differs in that the execution of this block is carried out 3. _______ until the condition becomes false then this block is exited and flow of control continues from the next line of code or statement immediately after the repetition statement.
- met or true
- repetition statement block
- continuously (looping)
This structure is similar to the selection structure in the
sense that once the said or specified condition or conditions is/are met or true, the repetition statement block is executed but differs in that the execution of this block is carried out continuously (looping) until the condition becomes 1. ____ then this block is 2. _____
and flow of control continues from the next line of code or statement immediately after the repetition statement.
- false
- exited
_______ in Java are statements that
allow a set of instructions to be performed repeatedly as long as a specified condition remains true.
Looping Constructs
Looping Constructs in Java are statements that
allow a 1. ________ to be performed 2. ______ as long as a specified condition remains3. _____.
- set of instructions
- repeatedly
- true
Java provides 1. ________ that enable control of the flow of execution by repetitively performing a set of statements as long as the continuation condition remains true.
- three repetition looping statements
Java provides three repetition looping
statements that enable _______ by repetitively performing a set of statements as long as the continuation condition remains true.
control of the flow of
execution
Java provides three repetition looping
statements that enable control of the flow of
execution by 1. ______ performing a 2. _____- as long as the continuation 3. ______
- repetitively
- set of statements
- condition remains true