Gestalte GoConqr mit. Was sollen wir als Nächstes hinzufügen?

Quiz

COP 1000 - Intro to Computer Programming (Final Exam)

Taylor Walker 10 Fragen

Quiz starten

Fragen in diesem Quiz (10)

  1. 1Which of the following is not a check for data accuracy?
    1. ASalary within the allowable range
    2. BTime measurements
    3. CZIP codes in correct format and valid
    4. DAll of these are checks for data accuracy
    5. ENone of these
  2. 2Which of the following library functions could be used to validate the length of a string?
    1. Arandom
    2. BisString
    3. Clength
    4. DtoUpper
    5. ENone of these
  3. 3Which of the following is not an input validation error type?
    1. AEmpty input
    2. BIncorrect data type
    3. CInaccurate data
    4. DAll of these are input validation error types
    5. ENone of these
  4. 4Which of the following library functions could be used to simplify the process of string validation?
    1. Alength
    2. BtoUpper
    3. CisReal
    4. DisInteger
    5. ENone of these
  5. 5In addition to using loops to validate data, ________ can also be used to validate data.
    1. AString Function
    2. BReal Function
    3. CInteger Function
    4. DBoolean Function
    5. ENone of These
  6. 6True/False: An input validation loop is sometimes called an error handler.
    1. ATrue
    2. BFalse
  7. 7True/False: If the user provides bad data as input to a program, the program will correct the data and produce output.
    1. ATrue
    2. BFalse
  8. 8True/False: Often a Boolean function can be used to validate data.
    1. ATrue
    2. BFalse
  9. 9True/False: Checking for accuracy of data, even when the user provides the right type of data, is part of input validation.
    1. ATrue
    2. BFalse
  10. 10True/False: Programs should be designed such that all input is inspected before it is processed and bad data is discarded.
    1. ATrue
    2. BFalse

Informationen

Beschreibung
Java Quiz am COP 1000 - Intro to Computer Programming (Final Exam), erstellt von Taylor Walker am 18/04/2020.
Sprache
English
Aufrufe
227
Schlagwörter
pseudocodejavaprogramming
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Was sollen wir als Nächstes hinzufügen?