Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Database Validation

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What field is best validated using a pattern "*@*.*"?

a)

Customer ID

b)

Date of Birth

c)

Price

d)

Email

2.

What field is best validated using a format DD/MM/YYYY

a)

Customer ID

b)

Date of Birth

c)

Post code

d)

Email

3.

What field is best validated using a currency type?

a)

Customer ID

b)

Date of Birth

c)

Price

d)

Email

4.

What field is best validated using an integer type?

a)

Customer ID

b)

Date of Birth

c)

Price

d)

Email

e)

Gender

5.

What field is best validated by restricting options to a lookup of either Male or Female?

a)

Title

b)

Date of Birth

c)

Email

d)

Gender

6.

What field is best validated by restricting options to a lookup of either Mr, Mrs or Miss?

a)

Title

b)

Date of Birth

c)

Email

d)

Gender

7.

What field is best validated by a presence check?

a)

First Name

b)

Middle Name

8.

What field is best validated by a mask "LL99 9LL"

a)

Post code

b)

Date of Birth

c)

Email

d)

Gender

9.

What field is best validated by type of integer

a)

Email

b)

Telephone Number

c)

Order Quantity

d)

Gender

10.

What field is best validated by type of text

a)

Date of Birth

b)

Telephone Number

c)

Order Quantity

d)

Price

11.

A range validation can be used to validate which of the following (select 2)

a)

Email

b)

Order Quantity

c)

Forename

d)

Price

12.

A lookup validation can be used to validate which of the following (select more than one)

a)

Title

b)

Gender

c)

Forename

d)

Allergic to peanuts

13.

A Boolean type validation can be used to validate which of the following

a)

Title

b)

Gender

c)

Forename

d)

Allergic to peanuts

14.

What field can be validated by a length check that says it must have 4 characters

a)

Forename

b)

PIN

c)

Account number

d)

Account balance

15.

What field can be validated by a length check that says it must have at least 8 characters

a)

Forename

b)

PIN

c)

Password

d)

Account balance