Moduel 2 Repition Structures

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/6

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:21 PM on 6/21/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

7 Terms

1
New cards

Repitition Structures

AKA Loops, will allow the computer to execute a block of code multiple times

2
New cards

While Loops

Conditional based, a Boolean expressions will dictate whether to start, continue, or stoop the loop

3
New cards

FOR Loops

Sequence based, uses a sequence and iterates through each item in that sequence on by one

4
New cards

Sentinel Value

Special value that you define. This value will signal the end of the loop. Someting you define, determined by input from the user.

5
New cards

Range

Iterating sequence of integers that we can generate using the range function. When you want to iterate through a sequence of numbers or when you want to iterate a loop on a determined number of iterations

6
New cards

Break

Will abruptly stop the loop

7
New cards

Continue

will abruptly skip the current iteration .