Search Header Logo
Types of Validation Checks

Types of Validation Checks

Assessment

Presentation

Computers

9th - 11th Grade

Easy

Created by

Maydie Sney

Used 6+ times

FREE Resource

8 Slides • 12 Questions

1

Types of Validation Checks

2

​Range Check

​Specifies that data entered must be numerical data in range, for example in the range 1 to 8.

​Example data:

​5 (valid)

​19 (invalid)

3

Presence Check

​Makes sure that a field has to have data entered in it, for example, when entering a new password.

​Example data:

​any data entered (valid)

​leaving it blank (invalid)

4

Type Check

​Specifies that only a certain type of data can be entered, for example, not allowing letters into a field that should only contain numbers.

​Example data:

​5 (valid)

​five (invalid)

5

Lookup

​Providing the user with a drop-down list to select data. For examples, when selecting an employment status , a drop-down list of options employed, self-employed, unemployed.

​Example data:

​Anything from the list (valid)

Anything else (invalid)

6

Length Check

​Specifies that data entered has to be a certain number of characters long. For example, a password needs to have 8 or more characters.

​Example data:

​p@s5w0rd (valid because it has 8 characters)

l3tme1n (invalid because it has 7 characters)

7

Format Check

​Specifies that data entered has to conform to a specific format. Some pieces of data are formed of characters in a very specific order. For example, the new Brunei vehicle registration has three letters (starting with letter B), followed by a space, followed by four numbers.

​Example data:

BAX 5518 (valid because it has 8 characters)

BAA 2241 (invalid because it has 7 characters)

8

Multiple Choice

Write which type of validation check shall be used:

A program that requires only to accept ages from 12 to 17.

1

range check

2

presence

3

type

4

lookup

5

length

9

Multiple Choice

Write which type of validation check shall be used:

An essay textbox that only validates 500 characters.

1

range check

2

presence

3

type

4

lookup

5

length

10

Multiple Choice

Write which type of validation check shall be used:

A handphone number textbox that only accepts integers.

1

range check

2

presence

3

type

4

lookup

5

length

11

Multiple Choice

Write which type of validation check shall be used:

University student ID number that starts with a year, followed by a hyphen, course code, and enrollment number.

1

presence

2

type

3

lookup

4

length

5

format

12

Multiple Choice

Write which type of validation check shall be used:

A website textbox that does not allowed blank input.

1

presence

2

type

3

lookup

4

length

5

format

13

Multiple Choice

Question image

Write which type of validation check shall be used:

A validation check embedded in drop-down box list.

1

presence

2

type

3

lookup

4

length

5

format

14

A real estate agent stores data about the properties they sell. Suggest suitable validation for the following data items.​

15

Open Ended

Property Type

16

Open Ended

Number of Bedrooms

17

Open Ended

Selling Price

18

Open Ended

Garden

19

Open Ended

Seller's Family Name

20

Poll

How do you evaluate yourself in this activity?

Excellent

Very Good

Good

Fair

Poor

Types of Validation Checks

Show answer

Auto Play

Slide 1 / 20

SLIDE