Test
COP 1000 - Intro to Computer Programming (Final Exam)
Crea una cuenta gratis para terminar este test
Guarda tu progreso y consulta tu resultado final.
¿Ya tienes cuenta? Inicia sesión
Preguntas del test (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
Información
- Descripción
- Java Test sobre COP 1000 - Intro to Computer Programming (Final Exam), creado por Taylor Walker el 18/04/2020.
- Autor
- Taylor Walker
- Idioma
- English
- Visitas
- 228
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test