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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

What is iteration?

A

When we need to repeat a block if code several times.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the ‘WHILE’ loop?

A

It executes the code that follows while a condition is true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a ‘REPEAT UNTIL’ loop?

A

It repeats a block of code until a condition is met.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a ‘WHILE END WHILE’ loop?

A

Repeats a block of code while a condition is true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly