Quiz
COP 1000 - Intro to Computer Programming (Final Exam)
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (10)
1Which of the following is not a check for data accuracy?
- ASalary within the allowable range
- BTime measurements
- CZIP codes in correct format and valid
- DAll of these are checks for data accuracy
- ENone of these
2Which of the following library functions could be used to validate the length of a string?
- Arandom
- BisString
- Clength
- DtoUpper
- ENone of these
3Which of the following is not an input validation error type?
- AEmpty input
- BIncorrect data type
- CInaccurate data
- DAll of these are input validation error types
- ENone of these
4Which of the following library functions could be used to simplify the process of string validation?
- Alength
- BtoUpper
- CisReal
- DisInteger
- ENone of these
5In addition to using loops to validate data, ________ can also be used to validate data.
- AString Function
- BReal Function
- CInteger Function
- DBoolean Function
- ENone of These
6True/False: An input validation loop is sometimes called an error handler.
- ATrue
- BFalse
7True/False: If the user provides bad data as input to a program, the program will correct the data and produce output.
- ATrue
- BFalse
8True/False: Often a Boolean function can be used to validate data.
- ATrue
- BFalse
9True/False: Checking for accuracy of data, even when the user provides the right type of data, is part of input validation.
- ATrue
- BFalse
10True/False: Programs should be designed such that all input is inspected before it is processed and bad data is discarded.
- ATrue
- BFalse
Information
- Description
- Java Quiz on COP 1000 - Intro to Computer Programming (Final Exam), created by Taylor Walker on 18/04/2020.
- Author
- Taylor Walker
- Language
- English
- Views
- 227
- Tags
- Rating
- No ratings yet Rate this quiz