Chapter 7 (Input Validation)

Descrição

Computer Science FlashCards sobre Chapter 7 (Input Validation), criado por Andrew Lewis em 14-12-2020.
Andrew Lewis
FlashCards por Andrew Lewis, atualizado more than 1 year ago
Andrew Lewis
Criado por Andrew Lewis quase 4 anos atrás
220
0

Resumo de Recurso

Questão Responda
GIGO stands for _____. Garbage in, Garbage out
The integrity of a program's output is only as good as the integrity of the program's _____. Input
The input operation that appears just before a validation loop is known as the _____. Its purpose is to get the first input that will be tested by the validation loop. Priming Read
Validation loops are also known as _____. Error Traps (Error Handlers)
The term "empty input" describes what happens when _____. An input operation attempts to read data, but there is no data to read.
Occurs when an input statement executes and the user simply presses the "Enter/Return" key without typing a value. Empty Input
The practice of anticipating errors that can happen while a program is running, and designing the program to avoid those errors. Defensive Programming
When input is given to a program, it should be inspected before it is process, If the input is invalid, the program should discard it and prompt the user to enter the correct data. This process is known as _____. Input Validation
What loop is best used to for input validation (Pretest / Posttest)? Why? Pretest Loop / A posttest loop will not display an error message when the user enters an invalid value because the condition is not tested in the beginning of the loop, but at the end.
If the input that is read by the priming read is valid, how many times will the input validation loop iterate? The input validation loop wouldn't iterate at all.
True/False: The priming read appears inside the validation loop. False: The priming read appears outside, just before the validation loop.

Semelhante

TOEFL English Vocab (A - M)
Ali Kane
Random German A-level Vocab
Libby Shaw
Vocabulary Words
Jenna Trost
TOEFL English Vocabulary (N - Z)
Ali Kane
L'environnement
Bryony Whitehead
TOEFL Vocabulary
aliking
French 1A Vocab
Jade Allatt
10 animals in spanish
Jlaal Mohammed
TOEFL Vocabulary Test
Ali Kane
French 1B Vocab (numbers)
Jade Allatt
French 1D Vocab
Jade Allatt