CS/IT MCQ Collections

Top 20 MCQ Questions On Software Testing Techniques

Pinterest LinkedIn Tumblr
Here are the collections of top 20 multiple choice questions on software testing techniques in software engineering includes MCQ on software testing fundamentals and techniques for software test case design. The software testing techniques include the definition of overriding objectives for software testing and test case design focuses on a set of techniques for the creation of test cases that meet overall testing objectives.

1. ………………….., sometimes called glass-box testing, is a test case design method that uses the control structure of the procedural design to derive test cases.
A) White-box testing
B) Control structure testing
C) Black-box testing
D) Gray-box testing

2. While using white-box testing methods, the software engineer can derive test cases that
i) guarantee that all independent paths with in a module have been exercised at least once.
ii) exercise all logical decisions on their True and False sides.
iii) execute all loops at their boundaries and within their operational bounds.
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii, and iii

3. ………………, also called behavioral testing which focuses on the functional requirements of the software.
A) White-box testing
B) Control structure testing
C) Black-box testing
D) Gray-box testing

4. ……………. enables the software engineer to derive sets of input conditions that will fully exercise all functional requirements for a program.
A) White-box testing
B) Control structure testing
C) Black-box testing
D) Gray-box testing

5. Black-box testing  attempts to find errors in which of the following categories.
i) incorrect or missing functions        ii) interface errors
iii) logical errors                              iv) behavior or performance errors
v) incorrect assumptions
A) i, ii and iii only
B) ii, iii and iv only
C) iii, iv and v only
D) i, ii and iv only

6. While using black-box testing techniques, we drive a set of test cases that satisfy which of the following criteria.
i) test cases that reduce, by a count that is greater than one.
ii) test cases that tell us something about the presence or absence of classes of errors.
iii) execute all loops at their boundaries and within their operational bounds.
A) i and ii
B) ii and iii
C) i and iii
D) All i, ii and iii

7. ……………… is black-box testing method that divides the input domain of a program into classes of data from which test cases can be derived.
A) Condition testing
B) Graph-based testing
C) Equivalence partitioning
D) loop testing

8. ……………. is the first step in black-box testing  in order to understand the objects that are modeled in software and the relationships that connect these objects.
A) Condition testing
B) Graph-based testing
C) Comparison testing
D) loop testing

9. Boundary value analysis is a test design technique that complements …………………..
A) Condition testing
B) Graph-based testing
C) Equivalence partitioning
D) loop testing

10. The independent versions from the basis of a black-box testing technique are called …………….
A) Condition testing
B) Graph-based testing
C) Comparison testing
D) loop testing

11. The ……………………. of documentation testing is the review and inspection, which examines the document for editorial clarity.
A) first phase
B) second phase
C) third phase
D) fourth phase

12. The …………………. of documentation testing  is the live test, which uses the documentation in conjunction with the use of the actual program.
A) first phase
B) second phase
C) third phase
D) fourth phase

13. A ………………… for documentation can be approached using techniques that are analogous to many of the black-box testing methods.
A) loop test
B) live test
C) comparison test
D) review and inspection

14. ………………… can be used to define various classes and input and associated interactions.
A) equivalence partitioning and graph based testing
B) equivalence partitioning and boundary value analysis
C) condition testing and equivalence partitioning
D) graph based testing and boundary value analysis

15. The …………………. in the testing of real-time software is to test each task independently.
A) first step
B) second step
C) third step
D) fourth step

16. ……………….. tests are designed to validate functional requirements without regard to the internal working of program.
A) White-box test
B) Control structure test
C) Black-box test
D) Gray-box test

17. …………………. divides the input domain into classes of data that are likely to exercise specific software function.
A) Boundary value analysis
B) Graph-based testing
C) Equivalence partitioning
D) loop testing

18. ……………………. probes the programs ability to handle data at the limits of acceptability.
A) Boundary value analysis
B) Graph-based testing
C) Equivalence partitioning
D) loop testing

19. In ……………….., test cases are derived to ensure that all statements in the program have been executed at least once during testing and that all logical conditions have been exercised.
A) White-box testing
B) Control structure testing
C) Black-box testing
D) Gray-box testing

20. In ………………….., once errors in individual tasks and in system behavior have been isolated, testing shifts to time related errors.
A) Task testing
B) Inter task testing
C) Behavioral testing
D) System testing

Answers

1. A) White-box testing
2. D) All i, ii, and iii
3. C) Black-box testing
4. C) Black-box testing
5. D) i, ii and iv only
6. A) i and ii
7. C) Equivalence partitioning
8. B) Graph-based testing
9. C) Equivalence partitioning
10. C) Comparison testing
11. A) first phase
12. B) second phase
13. B) live test
14. B) equivalence partitioning and boundary value analysis
15. A) first step
16. C) Black-box test
17. C) Equivalence partitioning
18. A) Boundary value analysis
19. A) White-box testing
20. B) Inter task testing

Read Next: Objective Questions On Software Testing Fundamentals Part 1

Author

Shuseel Baral is a web programmer and the founder of InfoTechSite has over 8 years of experience in software development, internet, SEO, blogging and marketing digital products and services is passionate about exceeding your expectations.

Comments are closed.