Exam 7: Input Validation

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

An input validation that accepts strings in mixed case would have incorporated a case- __________ string comparison operation.

Free
(Short Answer)
4.9/5
(37)
Correct Answer:
Verified

insensitive

The priming read is needed when a pretest loop is executed.

Free
(True/False)
4.9/5
(38)
Correct Answer:
Verified

True

Which of the following library functions could be used to simplify the process of string validation?

Free
(Multiple Choice)
4.9/5
(28)
Correct Answer:
Verified

B

What is the first step to use in detecting data type mismatch errors?

(Multiple Choice)
4.7/5
(46)

In addition to using loops to validate data,_____________ can also be used to validate data.

(Multiple Choice)
4.8/5
(33)

To validate if the input data is a valid integer,use the __________ library function.

(Short Answer)
4.7/5
(40)

What type of function can be used to see if the password entered has the minimum number of characters?

(Multiple Choice)
4.9/5
(34)

Which of the following is not an input validation error type?

(Multiple Choice)
4.8/5
(35)

Designing a program to avoid common errors is called _________________ programming.

(Multiple Choice)
4.7/5
(41)

What is the famous saying among computer programmers that refers to the fact that computers cannot tell the difference between good and bad data?

(Multiple Choice)
4.8/5
(37)

If,when asked for a date of birth,the user enters a future date,this error should be caught by a ____________ check.

(Multiple Choice)
4.8/5
(42)

_______________ is sometimes the term used for input validation.

(Multiple Choice)
4.8/5
(35)

After the string is read it is determined if it can be converted to the desired data type in a _____________ error.

(Short Answer)
4.7/5
(37)

Which of the following library functions could be used to validate the length of a string?

(Multiple Choice)
4.8/5
(34)

Programs that contain a priming read have a _________ loop.

(Short Answer)
4.9/5
(30)

Most programming languages do not provide library functions that can be used for input validation.

(True/False)
4.7/5
(37)

Which of the following library functions could be used to validate that the correct data type was input for an amount of money?

(Multiple Choice)
4.9/5
(26)

Input validation is not needed if the program is well designed.

(True/False)
4.8/5
(41)

An input validation loop is sometimes called an error handler.

(True/False)
4.9/5
(40)

The _________________ occurs when the user presses the enter key without typing a value for an input operation.

(Short Answer)
4.9/5
(33)
Showing 1 - 20 of 44
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)