Software Testing Week 4 Assignment Answers

Software Testing Week 1 Assignment Answers

Software Testing Week 4 Assignment Answers

Course Link : Click Here

  1. Software Testing Week 1

1. Which one of the following is the main purpose of the integration strategy for integration testing?

a. To ensure that all small modules are tested adequately
b. To ensure that the system interfaces to other systems and networks are tested
c. To specify which modules to combine when and how many at once
d. To ensure that the integration testing can be performed by a small team
e. To specify how the software should be divided into modules

Answer : c

2. Which one of the following statements best describes regression testing?

a) Regression testing is essentially the same as acceptance testing.
b) Regression testing helps to determine if code modifications have removed the reported bugs.
c) Regression testing is performed to check if code changes have not introduced defects in the correctly working parts of the code.
d) Regression test cases are designed to check if the changes to the code has resulted in fixing the bugs reported in a bug list.

Answer : c

3. Which of the following statements BEST describes performance testing?

a. The process of testing a fully integrated system to verify that it meets its specified function 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, and maintainability.
e. Testing whether different modules interface well among themselves.

Answer : d

4. Regression testing needs to be carried out at which of the following levels of testing?

a. Unit
b. Integration
c. System
d. Only during integration and system testing
e. At all levels, i.e. at unit, integration, as well as system testing level

Answer : e

5. Non-functional requirements are tested at which of the following levels of testing:

a. Unit testing
b. Integration testing
c. Alpha testing
d. Acceptance testing
e. Both unit and integration testing

Answer : c, d

6. Suppose class B is inherited from class A. Assume that unit testing of the class A has been successfully completed. While conducting unit testing of class B which of its methods need to be tested?

a. Only the methods newly defined in B
b. Only the methods inherited from A
c. Only the methods that are inherited from A but are redefined in B
d. Only the methods inherited from A and the methods redefined in B
e. All the methods of B

Answer : e

7. An e-commerce application has been designed to cater to 200 active users at any point of time. The e-commerce application was tested to check whether the maximum response time for client requests is less than 20 Seconds when there are 200 active users. Which one of the following types of tests was conducted on the e-commerce application?

a. Volume test
b. Stress test
c. Load test
d. Usability test
e. Configuration test

Answer : c

8. An e-commerce application has been designed to cater to 200 active users at any point of time. The e-commerce application was tested to check whether the maximum response time for client requests is less than 20 Seconds when there are 300 active users. Which one of the following types of tests was conducted on the e-commerce application?

a. Volume test
b. Stress test
c. Load test
d. Usability test
e. Configuration test

Answer : b

9. Mutation testing is most effective for which one of the following types of bugs?

a. Algorithmic errors
b. Programming errors
c. Design errors
d. Requirements errors
e. Performance bugs

Answer : b

10. Which of the following statements are true of bottom-up integration testing?

a. Drivers have to be written.
b. Neither stubs nor drivers have to be written
c. Number of integration steps are more than big-bang testing
d. Stubs have to be written
e. Both stubs and drivers have to be written

Answer : a, c

For other NPTEL Assignment Answer : Click Here