
Data Types, Validation, Testing with Data
Presentation
•
Computers
•
9th - 10th Grade
•
Medium
Calum Gordon
Used 17+ times
FREE Resource
11 Slides • 25 Questions
1
Data Types, Validation, Testing with Data
by BSN Computing
2
3
4
Multiple Select
In this lesson I am going to learn to ... ?
Use primitive data types
Define valid, invalid and boundary data
Design test data
Use test data to test code
5
6
Multiple Select
Which is an example of a composite (non primitive) data type in Python?
int
str
float
Bool
7
Multiple Choice
Which data type would you use for this data?
A car number plate (eg. PP-425-G)
int
float
str
bool
8
Multiple Choice
Which data type would you use for this data?
Number of employees on payroll
int
float
str
bool
9
Multiple Choice
Which data type would you use for this data?
Distance jumped by an athlete in a long jump
int
float
str
bool
10
Multiple Choice
Which data type would you use for this data?
If a household used more energy than in the previous month
int
float
str
bool
11
Multiple Choice
Which data type would you use for this data?
A mobile phone number (eg. 06 12345678)
int
float
str
bool
12
13
Multiple Select
What three types of test data should be used to test a program?
Normal
Erroneous
Extreme
Random
Ordered
14
15
Multiple Choice
Which type of test data is this?
"Gandalf"
Normal
Erroneous
Extreme
16
Multiple Choice
Which type of test data is this?
"Zed"
Normal
Erroneous
Extreme
17
Multiple Choice
Which type of test data is this?
"Slartibartfast HHG2G"
Normal
Erroneous
Extreme
18
Multiple Choice
Which type of test data is this?
"Al"
Normal
Erroneous
Extreme
19
Multiple Choice
Which type of test data is this?
"Alexander Boris de Pfeffel Johnson"
Normal
Erroneous
Extreme
20
Multiple Choice
Which type of test data is this?
14
Normal
Erroneous
Extreme
21
Multiple Choice
Which type of test data is this?
0
Normal
Erroneous
Extreme
22
Multiple Choice
Which type of test data is this?
"16"
Normal
Erroneous
Extreme
23
Multiple Choice
Which type of test data is this?
121
Normal
Erroneous
Extreme
24
25
Multiple Choice
Test data is mainly used to ...
check if program works correctly
waste the programmer's time
check if program crashes
make the program more complex
26
Multiple Choice
WHEN should test data be designed?
Before running the program
While the program is running
After you have run the program
Before the program is written
27
Multiple Choice
'Happy testing' is ...
testing only what you know already works
testing the program when you are in a good mood
testing only with valid data
testing which avoids invalid data
28
29
Multiple Choice
The best way to organise testing is by creating a test .... and to ...... the results
plan
log
file
analyse
run
save
chart
plot
30
Multiple Choice
Which is the best choice of column headings for a testing table?
31
32
33
34
Multiple Select
In this lesson I have learned to ...
Use data types
Define types of test data
Design test data
Test code using test data
35
Open Ended
Thinking Hard
Write your own exam question based on today’s lessons.
Answer it.
(press Shift+Enter to take a new line ...)
36
Poll
How much of this lesson have you understood?
None of it
Some of it
Most of it
All of it
Data Types, Validation, Testing with Data
by BSN Computing
Show answer
Auto Play
Slide 1 / 36
SLIDE
Similar Resources on Wayground
29 questions
Pay and Payroll taxes
Presentation
•
10th Grade
31 questions
Data-level Protection
Presentation
•
9th - 10th Grade
33 questions
Malware & Anti-malware
Presentation
•
9th - 10th Grade
27 questions
Conditional Structures in Arduino
Presentation
•
10th Grade
30 questions
Designing a Drone Flight Simulator
Presentation
•
9th Grade
34 questions
Unit 8 Programming Language Concepts
Presentation
•
9th Grade
32 questions
Study Lesson For Finals + STAAR
Presentation
•
6th - 8th Grade
35 questions
Business Continuity
Presentation
•
9th Grade
Popular Resources on Wayground
5 questions
A Home on the Shore
Quiz
•
3rd Grade
28 questions
US History Regents Review
Quiz
•
11th Grade
6 questions
A Horse Tale
Quiz
•
3rd Grade
20 questions
Math Review
Quiz
•
3rd Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
20 questions
Dividing Fractions
Quiz
•
5th Grade
55 questions
A Long Walk to Water Final Review
Quiz
•
6th - 8th Grade
10 questions
Equation Word Problems
Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Insurance
Quiz
•
9th - 12th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
20 questions
Summer Geometry QUIZ (Week 2)
Quiz
•
9th Grade
6 questions
Mayan Mathematics part 1
Presentation
•
9th - 12th Grade
25 questions
Biology Regents Review
Quiz
•
9th Grade
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
10 questions
Unit 9 Quiz
Quiz
•
9th - 12th Grade
60 questions
Biology Regents Review
Quiz
•
9th Grade