wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Software Testing

Total questions: 19

Worksheet time: 10mins

Name
Class
Date
1.

1. Software testing is:

a)

a) the process of demonstrating that errors are not present

b)

b) the process of establishing confidence that a program does what it is supposed to do

c)

c) the process of executing a program to show it is working as per specifications

d)

d) the process of executing a program with the intent of finding errors

2.

2. Software mistakes during coding are known as:

a)

a) Failures

b)

b) Bugs

c)

c) Defects

d)

d) Errors

3.

3. Unit testing is done by

a)

a) User

b)

b) Developer

c)

c) Tester

d)

d) None of above

4.

4. Pick correct statement from the following

a)

a) Every error causes a failure

b)

b) Every error causes a fault

c)

c) Every failure is caused by a fault

d)

d) Every bug causes a failure

5.

5. Which one of the following is true concerning verification

a)

a) Helps answer the question: Have you built the right thing?

b)

b) Checks the final product against specification

c)

c) Usually carried out by the test team

d)

d) Checks whether an artifact produced in a phase confirms to the corresponding artifacts produced in a previous phase

6.

6. Why is it necessary to test a large program at three different levels: unit, integration, as well as system levels, rather than testing only at the system level?

a)

a. It reduces the number of test cases that can be designed

b)

b. It reduces the test execution effort

c)

c. It reduces the debugging effort

d)

d. It reduces test case design effort

7.

7. Code coverage analysis is used to measure which one of the following?

a)

a. Thoroughness of testing

b)

b. Quality of test cases

c)

c. Quality of code

d)

d. Distribution of bugs

8.

8. Which one of the following is not a black box testing technique?

a)

a) Boundary value testing

b)

b) Cause-effect (Decision Table) testing

c)

c) Combinatorial testing

d)

d) Basic Condition testing

9.

9. Which one of the following is an implicit assumption made in equivalence class testing?

a)

a) A program behaves in similar ways to every input value belonging to an equivalence class.

b)

b) Different equivalence classes of a program contain similar bugs

c)

c) Different equivalence classes of a program contain dissimilar bugs

d)

d) Equivalence classes define the behaviorally similar components of a program

10.

10. Customers typically carry out which one of the following types of testing?

a)

a) Unit testing

b)

b) Integration testing

c)

c) Acceptance testing

d)

d) Regression testing.

11.

11. Which one of the following types of bugs may not get detected in black-box testing, but are very Likely to be get detected by white-box testing?

a)

a) Syntax errors

b)

b)Behavioral errors

c)

c)Trojans

d)

d)Performance errors

12.

12. White-box testing is also called -

a)

a) functional testing

b)

b) structural testing

c)

c) fault oriented testing

d)

d) none

13.

13. Which of the following is not a White box testing technique?

a)

a) Boundary value analysis

b)

b) Statement Testing

c)

c) Decision Testing

d)

d) Condition Coverage

14.

14. Acceptance testing is also known as

a)

a) Grey box testing

b)

b) White box testing

c)

c) Alpha Testing

d)

d) Beta testing

15.

15. Which of the following is non-functional testing?

a)

a) Black box testing

b)

b) Performance testing

c)

c) Unit testing

d)

d) None of the mentioned

16.

16. Which of the following is not used in measuring the size of the software

a)

a) KLOC

b)

b) Function Points

c)

c) Size of module

d)

d) None of the mentioned

17.

17. Unit testing is an example of _____ testing technique that is usually performed by the developer

a)

a) Black Box

b)

b) White Box

c)

C) Grey box

d)

d) none

18.

18. Integration testing is the process of testing the _____ between two software units or module.

a)

a) methods

b)

b) procedures

c)

c) routines

d)

d) interface

19.

19. Which of the following integration testing approach is simple and practicable only for very small systems.

a)

a) Top-down

b)

b) bottom-up

c)

c) bigbang

d)

d) smoke testing