Iteration (AQA GCSE Computer Science): Flashcards
📚Flashcards
Practise the cards
13 cards from this deck
ShowHide
Practise the cards
13 cards from this deck
Iteration definition
Iteration definition
Programming concept that repeats sections of code multiple times
Another term for iteration
Another term for iteration
Looping
Definite loops
Definite loops
Loops with exact known number of repetitions
Indefinite loops
Indefinite loops
Loops repeating based on condition, count unknown in advance
Keyword for definite loops
Keyword for definite loops
FOR
FOR loop counter variable behaviour
FOR loop counter variable behaviour
Automatically increments by 1 each iteration
When WHILE loop checks condition
When WHILE loop checks condition
Before running the code inside
When REPEAT UNTIL checks condition
When REPEAT UNTIL checks condition
After running the code
WHILE loop minimum executions
WHILE loop minimum executions
Might not execute at all if condition false from start
REPEAT UNTIL minimum executions
REPEAT UNTIL minimum executions
Always runs at least once
Nesting definition
Nesting definition
Loops inside other loops or combined with selection
Nested loop total iterations
Nested loop total iterations
Multiply iterations: operations
Combining loops with selection
Combining loops with selection
IF statements inside loops for decisions each iteration
