Iteration

Description

Use, understand and know how iteration can be used within programs. Develop programs that make use of nested iteration statements.
Daniel Smillie
Flashcards by Daniel Smillie, updated more than 1 year ago
Daniel Smillie
Created by Daniel Smillie almost 7 years ago
8
0

Resource summary

Question Answer
Iteration A sequence of instructions repeated multiple times. Much more efficient than writing the instructions multiple times.
WHILE... ENDWHILE The condition is tested/checked upon entry to loop. It is possible that the instructions inside the loop might not be executed at all if the entry condition is not met.
REPEAT... UNTIL Loop statements are executed before the condition is evaluated. The statement will always be executed at least once.
FOR… NEXT Allows the coder to specify how many times a section of code should be repeated during the running of the program. An example of definite iteration
Range Used to indicate how many times the loop will be repeated.
Show full summary Hide full summary

Similar

A level Computing Quiz
Zacchaeus Snape
Types and Components of Computer Systems
Jess Peason
Input Devices
Jess Peason
Output Devices
Jess Peason
Computing
Kwame Oteng-Adusei
Pack of playing cards answer
Karl Taylor
Code Challenge Flow Chart
Charlotte Hilton
Computing - Chapter one summary -
Beenish Shabir
Programming Techniques
Joseph Beaumont
Computing Hardware - CPU and Memory
ollietablet123
Computer Systems
lisawinkler10