Loops Flashcards

1
Q

What is a loop?

A

A loop is used to repeatedly run the same or similar instructions.

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

Why is a loop used?

A

It is more convenient and efficient.

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

What do all loops have in common?

A

They have a condition and an outcome.

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

What is iterating?

A

Iterating is when you go through each item in a collection.

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

What is boolean?

A

Any data type that has either a true or false value, yes or no value.

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