Iteration Flashcards
0
Q
What is the ‘FOR-NEXT’ loop?
A
It is useful when we need to repeat a block if code a set number of times.
1
Q
What is iteration?
A
When we need to repeat a block if code several times.
2
Q
What is the ‘REPEAT’ loop?
A
It executes the code that follows up ti the until statement until the condition is met: it must execute at least once.
3
Q
What is the ‘WHILE’ loop?
A
It executes the code that follows while a condition is true.
4
Q
What is a ‘REPEAT UNTIL’ loop?
A
It repeats a block of code until a condition is met.
5
Q
What is a ‘WHILE END WHILE’ loop?
A
Repeats a block of code while a condition is true.