1/6
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Repitition Structures
AKA Loops, will allow the computer to execute a block of code multiple times
While Loops
Conditional based, a Boolean expressions will dictate whether to start, continue, or stoop the loop
FOR Loops
Sequence based, uses a sequence and iterates through each item in that sequence on by one
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.
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
Break
Will abruptly stop the loop
Continue
will abruptly skip the current iteration .