wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

7.7 Test Data Cambridge IGCSE 0478

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the purpose of using test data in program testing?

a)

To ensure that the program behaves as expected in different scenarios.

b)

To check if the program runs without any syntax errors.

c)

To improve the speed of the program.

d)

To make the program more user-friendly.

2.

Which type of test data consists of values that are within the expected range?

a)

Normal Data

b)

Abnormal Data

c)

Extreme Data

d)

Boundary Data

3.

What is an example of normal data when testing a system that accepts exam scores between 0 and 100?

a)

75

b)

-5

c)

101

d)

"eighty"

4.

What type of test data includes values that are outside the expected range?

a)

Abnormal Data

b)

Extreme Data

c)

Boundary Data

d)

Normal Data

5.

Which of the following is an example of abnormal data for a system that only accepts whole numbers between 1 and 50?

a)

"abc"

b)

25

c)

50

6.

What is an example of extreme data for a program that accepts ages between 18 and 60?

a)

18 and 60

b)

17 and 61

c)

30 and 50

d)

"twenty" and "sixty"

7.

What is the key difference between boundary data and extreme data?

a)

Boundary data includes values just inside and just outside the valid range, while extreme data includes only the largest and smallest valid values.

b)

There is no difference between boundary data and extreme data.

c)

Extreme data is always invalid, while boundary data is always valid.

d)

Boundary data is used only for syntax testing, while extreme data is used for logical testing.

8.

Which of the following is an example of boundary data for a system that accepts numbers between 10 and 100?

a)

9, 10, 100, 101

b)

10, 50, 100

c)

-1, 0, 101

d)

"fifty", 20, 99

9.

A system that accepts temperatures between -20°C and 50°C is tested. Which test data set correctly applies extreme and boundary values?

a)

-20, -19, 50, 51

b)

-21, -20, 49, 50

c)

-20, 0, 50

d)

-25, -10, 55

10.

A login system checks if a username is between 5 and 12 characters. Which test set properly includes normal, abnormal, extreme, and boundary values?

a)

"username1" (9 chars), "admin" (5 chars), "guest" (6 chars)

b)

"test" (4 chars), "myusername" (10 chars), "a1b2c3" (6 chars)

c)

"hello!" (6 chars), "short" (5 chars), "user987654321" (12 chars)

d)

"hello" (5 chars), "user123" (7 chars), "a" (1 char), "abcdefghijklm" (13 chars)