Loops Flashcards
1
Q
What is a loop?
A
A loop is used to repeatedly run the same or similar instructions.
2
Q
Why is a loop used?
A
It is more convenient and efficient.
3
Q
What do all loops have in common?
A
They have a condition and an outcome.
4
Q
What is iterating?
A
Iterating is when you go through each item in a collection.
5
Q
What is boolean?
A
Any data type that has either a true or false value, yes or no value.