1/10
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
loop control variable
is a variable that determines whether a loop will continue.
definite loop
is one for which the number of repetitions is a predetermined value.
counted loop
is a loop whose repetitions are managed by a counter.
Incrementing
a variable is adding a constant value to it, frequently 1.
Decrementing
a variable is decreasing it by a constant value, frequently 1.
counter
is any numeric variable you use to count the number of times an event has occurred
indefinite loop
is one for which you cannot predetermine the number of executions
Nested loops
occur when a loop structure exists within another loop structure.
Defensive programming
is a technique with which you try to prepare for all possible errors before they occur
garbage in, garbage out
GIGO means that if your input is incorrect, your output is worthless.
Forcing
a data item means you override incorrect data by setting it to a specific value.