CHAPTER 5: Looping

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

1/10

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:18 PM on 11/24/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

11 Terms

1
New cards

loop control variable

is a variable that determines whether a loop will continue.

2
New cards

definite loop

is one for which the number of repetitions is a predetermined value.

3
New cards

counted loop

is a loop whose repetitions are managed by a counter.

4
New cards

Incrementing

a variable is adding a constant value to it, frequently 1.

5
New cards

Decrementing

a variable is decreasing it by a constant value, frequently 1.

6
New cards

counter

is any numeric variable you use to count the number of times an event has occurred

7
New cards

indefinite loop

is one for which you cannot predetermine the number of executions

8
New cards

Nested loops

occur when a loop structure exists within another loop structure.

9
New cards

Defensive programming

is a technique with which you try to prepare for all possible errors before they occur

10
New cards

garbage in, garbage out

GIGO means that if your input is incorrect, your output is worthless.

11
New cards

Forcing

a data item means you override incorrect data by setting it to a specific value.