Solved

Which of the Following Represents an Example of Data Validation

Question 34

Multiple Choice

Which of the following represents an example of data validation?


A) if (daysOverdue > 10 || fineOwed > 0.00) {
Document.write("Please call the library immediately!"
+ BR) ;
}

B) if (!(daysOverdue > 10 || fineOwed > 0.00) ) {
Document.write("Your account is in good standing." + BR) ;
}

C) if (age >= 18 && age <= 65) {
Document.write("The age is between 18 and 65." + BR) ;
}

D) while (!(month >= 1 && month <= 12) ) {
Month = prompt
("ERROR...Enter a number between 1 and 12",ES) ;
}

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions