COP 1000 - Intro to Computer Programming (Final Exam)

Beschreibung

Java Quiz am COP 1000 - Intro to Computer Programming (Final Exam), erstellt von Taylor Walker am 18/04/2020.
Taylor Walker
Quiz von Taylor Walker, aktualisiert more than 1 year ago
Taylor Walker
Erstellt von Taylor Walker vor etwa 4 Jahre
132
0

Zusammenfassung der Ressource

Frage 1

Frage
Which of the following is not a check for data accuracy?
Antworten
  • Salary within the allowable range
  • Time measurements
  • ZIP codes in correct format and valid
  • All of these are checks for data accuracy
  • None of these

Frage 2

Frage
Which of the following library functions could be used to validate the length of a string?
Antworten
  • random
  • isString
  • length
  • toUpper
  • None of these

Frage 3

Frage
Which of the following is not an input validation error type?
Antworten
  • Empty input
  • Incorrect data type
  • Inaccurate data
  • All of these are input validation error types
  • None of these

Frage 4

Frage
Which of the following library functions could be used to simplify the process of string validation?
Antworten
  • length
  • toUpper
  • isReal
  • isInteger
  • None of these

Frage 5

Frage
In addition to using loops to validate data, ________ can also be used to validate data.
Antworten
  • String Function
  • Real Function
  • Integer Function
  • Boolean Function
  • None of These

Frage 6

Frage
True/False: An input validation loop is sometimes called an error handler.
Antworten
  • True
  • False

Frage 7

Frage
True/False: If the user provides bad data as input to a program, the program will correct the data and produce output.
Antworten
  • True
  • False

Frage 8

Frage
True/False: Often a Boolean function can be used to validate data.
Antworten
  • True
  • False

Frage 9

Frage
True/False: Checking for accuracy of data, even when the user provides the right type of data, is part of input validation.
Antworten
  • True
  • False

Frage 10

Frage
True/False: Programs should be designed such that all input is inspected before it is processed and bad data is discarded.
Antworten
  • True
  • False
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Useful String Methods
Shannon Anderson-Rush
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Historical Development of Computer Languages
Shannon Anderson-Rush
Java Week 5 Object Oriented Programming
Troy Bowlin
Flvs foundations of programming dba 2
mariaha vassar
Programming Review
Shannon Anderson-Rush
Programming in Java
Faheem Ahmed
Python Quiz
karljmurphy
computer systems and programming quiz
Molly Batch
Think Python
tsilvo2001