Ch. 5.3: Using the while Loop for Input Validation Flashcards

1
Q

What is input validation?

A

The process of inspecting data given to a program by the user and determining if it is valid.

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

What is a priming read?

A

It provides the first value for the loop to test.

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