
Unit 8 Validation and verification
Presentation
•
Computers
•
10th - 11th Grade
•
Medium
Michael Harrington
Used 3+ times
FREE Resource
16 Slides • 26 Questions
1
By Michael Harrington
2
3
Multiple Choice
if you take your time, read and understand all the slides here - what mark should you obtain?
10%
15%
20%
100%
4
Multiple Select
Which are validation checks that on in this CS course?
Number chesk
ASCII check
Length check
Format check
Type check
5
6
Open Ended
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
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
9
10
Fill in the Blanks
Which is the correct types of validation for this meaning and example?
(2 words)
Type answer...
11
Fill in the Blanks
Which is the correct types of validation for this meaning and example?
(2 words)
Type answer...
12
Fill in the Blanks
Which is the correct types of validation for this meaning and example?
(2 words)
Type answer...
13
Fill in the Blanks
Which is the correct types of validation for this meaning and example?
(2 words)
Type answer...
14
Fill in the Blanks
Which is the correct types of validation for this meaning and example?
(2 words)
Type answer...
15
You need to be able to
16
Multiple Choice
What sort of validation check is made in this algorithm?
Type check
Presence check
Length check
Range check
17
Open Ended
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
19
Open Ended
Explain what the above code does?
[note: shift & enter for a NEW LINE]
20
Open Ended
How could you make a length check?
[note: shift & enter for a NEW LINE]
21
22
23
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
26
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?
9
8
7
6
0
29
30
31
Multiple Choice
a digit that is calculated and used to confirm if a number is valid
Type check
Presence check
Format check
Check digit
Length check
32
Multiple Choice
checking that data conforms to a particular format
Type check
Presence check
Format check
Check digit
Length check
33
Multiple Choice
checking that data is reasonable
Range check
Verification
Validation
Check digit
Length check
34
Multiple Choice
checking that data has been entered
Type check
Presence check
Format check
Check digit
Length check
35
Multiple Choice
checking data is the correct data type
Type check
Presence check
Format check
Check digit
Length check
36
Multiple Choice
checking the data is the correct length
Type check
Presence check
Format check
Check digit
Length check
37
Multiple Choice
checking data is between two values
Range check
Verification
Validation
Check digit
Length check
38
Multiple Choice
checking that data is reasonable
Range check
Verification
Validation
Check digit
Length check
39
Study this for the next question
40
Fill in the Blanks
The check digit is calculated as follows:
• each digit in the number is multiplied by its digit position
• the seven results are then added together
• this total is divided by 11
• the remainder gives the check digit (if the remainder = 10, the check digit is X)
(a) Calculate the check digit for the following number.
4 2 4 1 5 0 8 ?
Type answer...
41
Fill in the Blanks
The check digit is calculated as follows:
• each digit in the number is multiplied by its digit position
• the seven results are then added together
• this total is divided by 11
• the remainder gives the check digit (if the remainder = 10, the check digit is X)
(a) Calculate the check digit for the following number.
3 2 4 0 0 4 5 ?
Type answer...
42
Fill in the Blanks
Calculating the check digit - The Modulo 10 system
5 0 1 4 0 1 6 1 5 0 8 2 1
what is the value of the last ? -the check digit.
Type answer...
By Michael Harrington
Show answer
Auto Play
Slide 1 / 42
SLIDE
Similar Resources on Wayground
37 questions
Ecological relationship terms part 1
Presentation
•
9th - 12th Grade
40 questions
Figurative Language Lesson
Presentation
•
9th - 11th Grade
36 questions
Bit, byte, binary, decimal and hexadecimal
Presentation
•
10th Grade
37 questions
Infographic
Presentation
•
11th Grade
39 questions
Introduction to Industrialization & the Gilded Age
Presentation
•
10th - 11th Grade
37 questions
Healthy vs Unhealthy Relationships
Presentation
•
10th Grade
36 questions
Cell Terms Part 3
Presentation
•
9th - 11th Grade
40 questions
CH#7SLC Revision
Presentation
•
10th - 11th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade