Search Header Logo
Validation and Verification of Input Data

Validation and Verification of Input Data

Assessment

Presentation

Computers

9th - 11th Grade

Practice Problem

Medium

Created by

Maydie Sney

Used 30+ times

FREE Resource

7 Slides • 8 Questions

1

Validation and Verification of Input Data

2210 Computer Science

2

​Syllabus Check

​Understand the need for validation and verification checks to be made on input data (validation could include range checks , length checks,type checks and check digits).

3

Multiple Choice

What do you think is the best reason why we need to validate and to verify input data of programs?

1

to guarantee that the data we enter is error-free.

2

nothing

3

for fun

4

Multiple Select

What are the possible errors in an input data?

1

omitted data

2

mistype data

3

misread word/value

5

Multiple Choice

An automatic check to make sure data is sensible and possible.

1

Validation

2

Verification

6

Multiple Choice

A check to see if the data entered is correct.

1

Validation

2

Verification

7

media

8

​Validation

  • automated checking by a program that data is reasonable,and/or within set bounds before it is accepted into a computer system.

  • ​types of validation checks:

    • ​range check

    • ​presence check

    • ​type check

    • ​lookup

    • ​length check

    • ​format check

9

​Types of Validation Check

10

Multiple Choice

Specifies that data entered must be numerical data in a range.

1

range check

2

presence check

3

type check

4

lookup

5

length check

11

​Range Check

  • Specifies that data entered must be numerical data in a range.

​_______________________________________________​

Program requirement:

Display A* if the mark entered is 90-100.

​Validation statement:

​If mark >=90 AND <=100

​THEN

​PRINT "A*"

12

Multiple Choice

Given the range check validation statement to identify if the age belongs to Generation X:

IF age >33 AND <48

input = 40

Is it accepted or rejected?

1

Accept (Valid)

2

Reject (Invalid)

13

Multiple Choice

Specifies that data entered has to be a certain number of characters long.

1

presence check

2

type check

3

lookup

4

length check

5

format check

14

​Length Check

  • Specifies that data entered has to be a certain number of characters long.

​_______________________________________________​

Program requirement:

A password with 8 characters.

​p@s5w0rd (valid)

​l3tme1n (invalid)

15

Multiple Select

Program requirement: password with 8 characaters. Which are the valid input data?

1

pl4y5taxon

2

l3g0

3

c0Lorwh3

4

yomekid

Validation and Verification of Input Data

2210 Computer Science

Show answer

Auto Play

Slide 1 / 15

SLIDE