Search Header Logo
Unit 8 Validation and verification

Unit 8 Validation and verification

Assessment

Presentation

Computers

10th - 11th Grade

Medium

Created by

Michael Harrington

Used 3+ times

FREE Resource

16 Slides • 26 Questions

1

Unit 8 Validation and verification

By Michael Harrington

2

media

3

Multiple Choice

if you take your time, read and understand all the slides here - what mark should you obtain?

1

10%

2

15%

3

20%

4

100%

4

Multiple Select

Which are validation checks that on in this CS course?

1

Number chesk

2

ASCII check

3

Length check

4

Format check

5

Type check

5

media

6

Open Ended

Question image

A music app contains the following code:

INPUT age

OUTPUT "You are", age, "years old"

What is output from this program if the user enters these on 3 runs:

5, 15 ,215 ?

[note: shift & enter for a NEW LINE]

7

Open Ended

Question image

What is the problem with the program and how can it be fixed?

(think about sensible input only)

[note: shift & enter for a NEW LINE]

8

media

9

media

10

Fill in the Blanks

media image

Type answer...

11

Fill in the Blanks

media image

Type answer...

12

Fill in the Blanks

media image

Type answer...

13

Fill in the Blanks

media image

Type answer...

14

Fill in the Blanks

media image

Type answer...

15

media

​You need to be able to

16

Multiple Choice

Question image

What sort of validation check is made in this algorithm?

1

Type check

2

Presence check

3

Length check

4

Range check

17

Open Ended

Question image

Rewrite the algorithm so that the program keeps asking the user to enter a postcode until the entry is valid

[note: shift & enter for a NEW LINE]

18

media

19

Open Ended

Question image

Explain what the above code does?

[note: shift & enter for a NEW LINE]

20

Open Ended

Question image

How could you make a length check?

[note: shift & enter for a NEW LINE]

21

media

22

media

23

media

24

Open Ended

Format check

How could you check a username input contains only letters?

Write the code here

INPUT Username

?

?

[note: shift & enter for a NEW LINE]

25

media

26

media

27

​The number 38417493 has its check digit calculated by adding each number, then taking the final digit of the total found

In this case, the total is ? so the check digit is ?

Once the data is input, the check digit is generated, If it doesn’t match the number isn’t valid

28

Multiple Choice

The number 38417493 has its check digit calculated by adding each number, then taking the final digit of the total found

What is the check digit?

1

9

2

8

3

7

4

6

5

0

29

media

30

media

31

Multiple Choice

a digit that is calculated and used to confirm if a number is valid

1

Type check

2

Presence check

3

Format check

4

Check digit

5

Length check

32

Multiple Choice

checking that data conforms to a particular format

1

Type check

2

Presence check

3

Format check

4

Check digit

5

Length check

33

Multiple Choice

checking that data is reasonable

1

Range check

2

Verification

3

Validation

4

Check digit

5

Length check

34

Multiple Choice

checking that data has been entered

1

Type check

2

Presence check

3

Format check

4

Check digit

5

Length check

35

Multiple Choice

checking data is the correct data type

1

Type check

2

Presence check

3

Format check

4

Check digit

5

Length check

36

Multiple Choice

checking the data is the correct length

1

Type check

2

Presence check

3

Format check

4

Check digit

5

Length check

37

Multiple Choice

checking data is between two values

1

Range check

2

Verification

3

Validation

4

Check digit

5

Length check

38

Multiple Choice

checking that data is reasonable

1

Range check

2

Verification

3

Validation

4

Check digit

5

Length check

39

media

​Study this for the next question

40

Fill in the Blanks

media image

Type answer...

41

Fill in the Blanks

media image

Type answer...

42

Fill in the Blanks

media image

Type answer...

Unit 8 Validation and verification

By Michael Harrington

Show answer

Auto Play

Slide 1 / 42

SLIDE