Solved

Which of the Following Represents an Example of Data Validation

Question 45

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents