Iteration

studied byStudied by 107 people
4.4(5)
Get a hint
Hint

loop

1 / 4

5 Terms

1

loop

used for when programmers want a statement to execute repeatedly

New cards
2

nested loop

a loop that is found inside a loop

New cards
3

while loop

while the condition is true the loop continues to execute, otherwise it exits the loop

New cards
4

infinite loop

the loop isn’t structured correctly, or there is an error in the logic which causes the loop to execute forever

New cards
5

for-loop

The condition is first checked to see if it is true, the statement will execute, and the steps will continue to repeat in the loop until the statement becomes false, then the loop ends

New cards

Explore top notes

note Note
studied byStudied by 28 people
... ago
5.0(2)
note Note
studied byStudied by 3 people
... ago
5.0(1)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 4 people
... ago
5.0(1)
note Note
studied byStudied by 27 people
... ago
5.0(1)
note Note
studied byStudied by 34 people
... ago
5.0(1)
note Note
studied byStudied by 118 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (21)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (265)
studied byStudied by 19 people
... ago
4.0(1)
flashcards Flashcard (24)
studied byStudied by 51 people
... ago
5.0(1)
flashcards Flashcard (46)
studied byStudied by 34 people
... ago
5.0(1)
flashcards Flashcard (23)
studied byStudied by 23 people
... ago
5.0(4)
flashcards Flashcard (53)
studied byStudied by 26 people
... ago
5.0(1)
flashcards Flashcard (30)
studied byStudied by 45 people
... ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 17 people
... ago
5.0(1)
robot