Assign 4 Solution
Assign 4 Solution
This document provides solution to the fourth assignment of the online course
Software Testing offered by MHRD. The answers to each questions are marked in
red. Explanation for numerical problems are given below each problem.
1. Which statement below BEST describes nonfunctional testing?
a) The process of testing an integrated system to verify that it meets specified
requirements.
b) The process of testing to determine the compliance of a system to coding standards.
c) Testing without reference to the internal structure of a system.
d) Testing system attributes, such as usability, reliability or maintainability.
2. Which of the following statements are TRUE?
a) Regression testing and acceptance testing are the same.
b) Regression tests show if all defects in the modified part of the code have been
resolved.
c) Regression tests are performed to detect if code changes have introduced defects.
d) Regression tests should be performed during integration testing.
3. Which of the following types of testing is not performed during system testing?
a) Stress testing
b) Functionality testing
c) Recovery testing
d) White box testing
4. Alpha and Beta testing are considered to be which one of the following types of testing?
a) Regression testing
b) Unit testing
c) Integration testing
d) System testing
5. For large programs, which one of the following integration testing strategy is rarely used?
a) Bigbang
b) Topdown
c) Bottomup
d) Mixed
6. Which one of the following is true of a pure topdown integration testing process?
a) Requires only stubs for testing
b) Requires only drivers for testing
c) Requires both stubs and drivers for testing
d) Requires neither stubs nor drivers for testing
7. After a program has been modified, which one of the following options characterizes the
regression test cases:
a) All test cases
b) Test cases that execute the modified statements
c) Test cases that execute the affected or modified statements
d) Test cases that execute the unaffected statements
8. Which one of the following types of program models is normally used to design the
integration test plan?
a) CFG
b) DFD
c) Structure chart
d) State chart
9. Suppose in order to estimate the number of latent errors in a program, you seed it with 100
errors of different kinds. After testing the software using its full test suite, you discover only
80 of the introduced errors. You discover 16 other errors also. Estimate the number of latent
errors in the software.
a) 4
b) 8
c) 16
d) 20
● Explanation: Using the formula n * [(S − s) / s] for latent errors i.e. where n = 16, S = 100
and s = 80, we get the answer as 4.
10. Beta testing is usually performed by which one of the following?
a) Test team
b) Development team
c) Friendly customers
d) Customers