Chapter 4
About this set
Created by:
dreaminatnite on March 26, 2012
Subjects:
Log in to favorite or report as inappropriate.
Order by
19 terms
Terms | Definitions |
|---|---|
loop control variable | a variable that determines whether a loop will continue |
definite loop | one for which the number of repetitions is a predetermined value |
counted loop or counter-controlled 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, frenquently 1 |
counter | any numeric variable you use to count the number of times an event has occured |
indefinite loop | one for which you cannot predetermine the number of executions |
Nested loops | occur when a loop structure exists within another loop structure |
outer loop | contains another when loops are nested |
inner loop | contained within another when loops are nested |
stub | a method without statements that is used as a placeholder |
for statement or for loop | can be used to code definite loops. The for statement contains a loop control variable that it automatically initializes, evaluates, and increments |
step value | a number you use to increase a loop control variable on each pass through a loop |
summary report | lists only totals, without individual detail records |
accumulater | a variable that you use to gather or accumulate values |
validate data | to make sure data items are meaningful and useful |
Defensive programming | a technique with which you try to prepare for all possible errors before they occur |
GIGO ("garbage in, garbage out") | 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 |
First Time Here?
Welcome to Quizlet, a fun, free place to study. Try these flashcards, find others to study, or make your own.