Loops =1 Flashcards

1
Q

When the given statement is true/ answer is yes, it’ll run

A

While loops

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

When the given statement is false / answer is no, it’ll run

A

Repeat loops

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

Runs a set amount of times

A

For loops

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

Runs through loop once, then may/may not go again UNTIL statement is true

A

Repeat loops

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

Only runs through loops if statement true, may never touch loop, only runs WHILE statement is true

A

While loops

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

Runs the amount of times set, may be based on a variable or number

A

For loops

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

Statement first, then loop (Pre-test)

A

While loops

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

Loop sequence, then statement (Post-test)

A

Repeat loops

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

Isn’t used by python

A

Repeat loops

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

One entry & exit point in flowchart

A

All three

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

Guarded loop

A

While loops

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

Unguarded loop

A

Repeat loops

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

REPEAT & UNTIL

A

Repeat loops

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

WHILE & ENDWHILE

A

While loops

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

FOR & ENDFOR

A

For loops

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

Another word for repeat

A

Iteration