Chapter 7

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Input Validation Loop

A loop that iterates as long as the input variable contains bad data.

Priming Read

The first input operation - just before the loop. It's purpose is to get the first input value to be tested by the validation loop.

Defensive Programming

The practice of anticipating errors that can happen while a program is running, and designing the program to avoid those errors.

Empty Input

When an input attempts to read data, but there is no data to read.

Input Validation

When input is given to a program, it should be inspected before it is processed. If the input is invalid, the program should discard it and prompt the user to enter the correct data.

GIGO - "Garbage In, Garbage Out"

If a program read bad data as input, it will produce bad data as output. Computers cannot tell the difference between good and bad data.


Ensembles d'études connexes

Unit 2 - Types and Characteristics of Fixed-Income (Debt) Securities

View Set

Psych Exam 2 - Ch. 16 (Trauma, Stressor-Related & Dissociative Disorders)

View Set

Ch. 1 Managing Strategy Making Process for Competitive Advantage

View Set

Working in groups - Chapter 13 (T-F)

View Set