
Database Validation
Authored by Simon Ellershaw
Computers
12th Grade
Used 320+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
I want to ensure that users enter a name into the Surname field. Which type of validation should I use?
Length check
Check digit
Presence check
Format check
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
I want to ensure that users enters a telephone number which starts with +44 and is 13 characters long. Which validation/s should I use?
Length Check
List Check
Format Check
Presence Check
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
I want to ensure that users enter a national insurance number that follows the pattern letter letter number number number number number number letter?
Length check
Format check
Check Digit
Presence Check
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to check if a date entered is in the future?
date()
>=date()
<date()
<>date()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for an input mask for a telephone number?
???????????
00000000000
zzzzzzzzzzz
aaaaaaaaaaa
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which validation method would you use for a user to choose a gender?
Boolean
Check digit
Value lookup check
Range check
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Validation checks to see if something is?
Sensible
Reasonable
Correct
Accurate
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?