Exam 7: Input Validation
Exam 1: Introduction to Computers and Programming48 Questions
Exam 2: Input, processing, and Output48 Questions
Exam 3: Modules48 Questions
Exam 4: Decision Structures and Boolean Logic44 Questions
Exam 5: Repetition Structures44 Questions
Exam 6: Functions44 Questions
Exam 7: Input Validation44 Questions
Exam 8: Arrays46 Questions
Exam 9: Sorting and Searching Arrays43 Questions
Exam 10: Files43 Questions
Exam 11: Menu-Driven Programs43 Questions
Exam 12: Text Processing31 Questions
Exam 13: Recursion43 Questions
Exam 14: Object-Oriented Programming43 Questions
Exam 15: Gui Applications and Event-Driven Programming43 Questions
Select questions type
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:
insensitive
The priming read is needed when a pretest loop is executed.
Free
(True/False)
4.9/5
(38)
Correct Answer:
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:
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)
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)