Chapter 7 Input Validation Flashcards

1
Q

GIGO stands for

a. great input, great output
b. garbage in, garbage out
c. Gigahertz output
d. GIGabyte Operation

A

garbage in garbage out

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The integrity of a program’s output is only as good as the integrity of the programs

a. compiler
b. programming language
c. input
d. debugger

A

input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The input operation that appears just before a validation loop is known as the

a. prevalidation read
b. primordial read
c. initialization read
d. priming read

A

priming read

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Validation loops are also know as

a. error traps
b. doomsday loops
c. error avoidance loops
d. defensive programming loops

A

error traps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The tem “empty input” describes what happens when

a. the user presses the space bar and then the enter key
b. an input operation attempts to read data, but there is no data to read
c. the user enters 0 when 0 is an invalid value
d. the user enters any invalid data as input

A

an input operation attempts to read data, but there is no data to read

How well did you know this?
1
Not at all
2
3
4
5
Perfectly