Search Header Logo
Test Data

Test Data

Assessment

Presentation

Computers

9th - 11th Grade

Easy

Created by

Maydie Sney

Used 6+ times

FREE Resource

7 Slides • 9 Questions

1

Test Data

​Computer Science (2210)

​2022 Examination Syllabus

2

​Importance of Data Testing

to make sure that the program...

  • ​meets the program requirements

  • fully works

  • does not crash

  • does not have bugs

media

3

​Types of Test Data

  • ​Normal - data that the program should be accepted

  • ​Abnormal - data that the program that should not be accepted

  • Extreme - data​ that is at the edge of what is allowed

  • ​Boundary - data that is on edge of being accepted and being rejected

media
media

4

Normal Test Data

​valid data that the code would be expected to accept

​Example:

​A program that requires an integer in the range 1-100

​Normal Test Data: 50

5

Open Ended

Normal Test Data: A program that requires an integer in the range 1-100

6

​Extreme Test Data

​lowest or highest valid data that the code would be expected to accept

​Example:

​A program requires to input an integer in the range of 1 to 100.

​Extreme Test Data:

​1

​100

7

​Abnormal/Erroneous/Invalid Test Data

data that the program should not accept

​Example:

​A program requires to input an integer in the range of 1 to 100.

​Abnormal Test Data:

​-15

123

ayam

<blank>​

8

​Boundary Test Data

​data before or after the extreme data that can be accepted or rejected

​Example:

​A program requires to input an integer in the range of 1 to 100.

​Extreme Test Data:

​0

​2

​99

​101

9

Open Ended

A program allows the user to enter their age as a whole number between 10 and 100 years. Give a NORMAL TEST DATA.

10

Open Ended

A program allows the user to enter their age as a whole number between 10 and 100 years. Give an ABNORMAL TEST DATA.

11

Open Ended

A program allows the user to enter their age as a whole number between 10 and 100 years. Give an EXTREME TEST DATA.

12

Open Ended

A program allows the user to enter their age as a whole number between 10 and 100 years. Give a BOUNDARY TEST DATA.

13

Open Ended

A user needs to enter a password at least 8 characters long. Give a NORMAL TEST DATA.

14

Open Ended

A user needs to enter a password at least 8 characters long. Give an ABNORMAL TEST DATA.

15

Open Ended

A user needs to enter a password at least 8 characters long. Give an EXTREME TEST DATA.

16

Open Ended

A user needs to enter a password at least 8 characters long. Give a BOUNDARY TEST DATA.

Test Data

​Computer Science (2210)

​2022 Examination Syllabus

Show answer

Auto Play

Slide 1 / 16

SLIDE