Search Header Logo
Data Types, Validation, Testing with Data

Data Types, Validation, Testing with Data

Assessment

Presentation

Computers

9th - 10th Grade

Medium

Created by

Calum Gordon

Used 17+ times

FREE Resource

11 Slides • 25 Questions

1

Data Types, Validation, Testing with Data

by BSN Computing

2

media

3

media

4

Multiple Select

Question image

In this lesson I am going to learn to ... ?

1

Use primitive data types

2

Define valid, invalid and boundary data

3

Design test data

4

Use test data to test code

5

media

6

Multiple Select

Which is an example of a composite (non primitive) data type in Python?

1

int

2

str

3

float

4

Bool

7

Multiple Choice

Which data type would you use for this data?

A car number plate (eg. PP-425-G)

1

int

2

float

3

str

4

bool

8

Multiple Choice

Which data type would you use for this data?

Number of employees on payroll

1

int

2

float

3

str

4

bool

9

Multiple Choice

Which data type would you use for this data?

Distance jumped by an athlete in a long jump

1

int

2

float

3

str

4

bool

10

Multiple Choice

Which data type would you use for this data?

If a household used more energy than in the previous month

1

int

2

float

3

str

4

bool

11

Multiple Choice

Which data type would you use for this data?

A mobile phone number (eg. 06 12345678)

1

int

2

float

3

str

4

bool

12

media

13

Multiple Select

What three types of test data should be used to test a program?

1

Normal

2

Erroneous

3

Extreme

4

Random

5

Ordered

14

media

15

Multiple Choice

Question image

Which type of test data is this?

"Gandalf"

1

Normal

2

Erroneous

3

Extreme

16

Multiple Choice

Question image

Which type of test data is this?

"Zed"

1

Normal

2

Erroneous

3

Extreme

17

Multiple Choice

Question image

Which type of test data is this?

"Slartibartfast HHG2G"

1

Normal

2

Erroneous

3

Extreme

18

Multiple Choice

Question image

Which type of test data is this?

"Al"

1

Normal

2

Erroneous

3

Extreme

19

Multiple Choice

Question image

Which type of test data is this?

"Alexander Boris de Pfeffel Johnson"

1

Normal

2

Erroneous

3

Extreme

20

Multiple Choice

Question image

Which type of test data is this?

14

1

Normal

2

Erroneous

3

Extreme

21

Multiple Choice

Question image

Which type of test data is this?

0

1

Normal

2

Erroneous

3

Extreme

22

Multiple Choice

Question image

Which type of test data is this?

"16"

1

Normal

2

Erroneous

3

Extreme

23

Multiple Choice

Question image

Which type of test data is this?

121

1

Normal

2

Erroneous

3

Extreme

24

media

25

Multiple Choice

Test data is mainly used to ...

1

check if program works correctly

2

waste the programmer's time

3

check if program crashes

4

make the program more complex

26

Multiple Choice

WHEN should test data be designed?

1

Before running the program

2

While the program is running

3

After you have run the program

4

Before the program is written

27

Multiple Choice

'Happy testing' is ...

1

testing only what you know already works

2

testing the program when you are in a good mood

3

testing only with valid data

4

testing which avoids invalid data

28

media

29

Multiple Choice

The best way to organise testing is by creating a test .... and to ...... the results

1

plan

log

2

file

analyse

3

run

save

4

chart

plot

30

Multiple Choice

Which is the best choice of column headings for a testing table?

1
2
3
4

31

media

32

media

33

media

34

Multiple Select

Question image

In this lesson I have learned to ...

1

Use data types

2

Define types of test data

3

Design test data

4

Test code using test data

35

Open Ended

Question image

Thinking Hard

Write your own exam question based on today’s lessons.

Answer it.

(press Shift+Enter to take a new line ...)

36

Poll

Question image

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