Software Testing Week 1 Assignment Answers

Software Testing Week 1 Assignment Answers

Software Testing Week 1 Assignment Answers

Course Link : Click Here

  1. Software Testing Week 2

1. Which of the following situations describe a software defect rather than a failure?

a. A developer accidentally omits a boundary condition in an algorithm.
b. A tester observes that the login module rejects valid credentials.
c. The compiler issues a warning about a missing null-pointer check in the code.
d. The deployed application displays an incorrect total in the inventory report when running on production data.
e. A programmer encodes an incorrect formula in the code.

Answer : a, c, e

2. About half the effort of developing a typical software is spent on testing. But testing typically requires only 10% of the development time. Which one of the following explains this apparent anomaly?

a) About half the effort of developing a typical software is spent on testing. But testing typically requires only 10% of the development time. Which one of the following explains this apparent anomaly?
b) A team has too many coders as compared to testers
c) Testing permits many parallel activities
d) A team has too many designers as compared to coders
e) Testers are more proficient as compared to other developers
f) Managers force testers to work overtime

Answer : b

3. Which of the following are true concerning verification in the context of waterfall-based development?

a) Carried out by the testers
b) Carried out by the developers
c) Involves both static and dynamic activities
d) Involves only static activities
e) Involves only dynamic activities

Answer : b, d

4. Which one of the following statements is true concerning unit testing?

a) Carried out by the developers
b) Involves testing the system as a whole
c) Often carried out by a separate testing team
d) Carried out by the customers
e) Concerns validation of system functions

Answer : a

5. Which of the following statements are not implied by the pesticide paradox?

a) A software can be tested by repeated application of a testing methodology
b) A software should be tested by the successive application of a wide range of testing methodologies
c) The best testing methodology should be used towards the end of the testing phase
d) A software should be tested by deploying the best among all the testing methodologies
e) Any testing methodology is effective only for certain types of errors

Answer : a, c, d

6. Which one of the following is true concerning integration testing?

a) Carried out by the developers
b) Involves testing the system as a whole
c) Often carried out by a separate testing team
d) Carried out by the customers
e) Concerns validation of system functions

Answer : c

7. What is the purpose of smoke test?

a. Check the sanity of the developed system before actual testing can begin
b. Carry out a final round of testing of the software after black-box and white-box test are over
c. Carry out performance testing
d. Carry out monkey testing
e. Try multiple test cases concurrently to stress the system

Answer : a

8. Which of the following should NOT be a goal of the test team?

a) To find faults in the software.
b) To assess whether the software is ready for release.
c) To crash the software by using negative test cases
d) To demonstrate that the software doesn’t work.
e) To prove that the software is correct.

Answer : e

9. Which one of the following activities is a validation activity?

a. Design inspection
b. Acceptance testing
c. Code inspection
d. Simulation
e. Unit testing

Answer : b

10. Which of the following are not true of the V model?

a) During the requirements specification phase, system test cases are designed
b) During the design phase, integration test cases are designed
c) During the coding phase, unit test cases are designed
d) During the design phase, unit test cases are designed
e) During the requirements specification phase, integration test cases are designed

Answer : c, e

For other NPTEL Assignment Answer : Click Here