Software Testing NPTEL Week 4 Solutions

This set of MCQ(multiple choice questions) focuses on the Software Testing NPTEL Week 4 Solutions.

Over the years program several testing techniques have developed and tools have become available. Also, testing has been acknowledged as the primary technique for ensuring software reliability. The course would provide a brief introduction to test process and techniques available for black box and white box test case design. Integration, system and regression testing would also be discussed. A few of the test tools would be discussed and the participants would be encouraged to use.

Course layout

Answers COMING SOON! Kindly Wait!

Week 1: Assignment answers
Week 2: Assignment answers
Week 3: Assignment answers
Week 4: Assignment answers
Week 5: Assignment answers
Week 6: Assignment answers
Week 7: Assignment answers
Week 8: Assignment answers
Week 9: Assignment answers
Week 10: Assignment answers
Week 11: Assignment answers
Week 12: Assignment answers

NOTE: You can check your answer immediately by clicking show answer button. Software Testing NPTEL 2023 Week 4 Assignment Solution” contains 11 questions.

Now, start attempting the quiz.

Software Testing NPTEL Week 4 Solutions

Q1. Suppose an untested program was determined to contain 1000 bugs. Three different testing techniques were applied to test the code. Each testing technique is effective to detect 40% of the bugs that exist before the concerned testing technique is applied. While fixing a bug detected by using a test strategy, there is a 50% chance of creating a new bug. How many bugs would exist in the code after the three testing and bug-fix cycles have been carried out?

a) 270
b) 328
c) 432
d) 512
e) 1024

Answer: d)

Q2. Which 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)

Q3. 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)

Software Testing NPTEL Week 4 Solutions

Q4. 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)

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

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

Answer: d)

Q6. 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)

Software Testing NPTEL Week 4 Solutions

Q7. 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)

Q8. 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-commerece application?

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

Answer: c)

Q9. 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-commerece application?

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

Answer: b)

Software Testing NPTEL Week 4 Solutions

Q10. 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)

Q11. 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)

<< Prev- Compiler Design NPTEL Week 2 Solutions

>> Next- Compiler Design NPTEL Week 5 Solutions


DISCLAIMER: Use these answers only for the reference purpose. Quizermania doesn't claim these answers to be 100% correct. So, make sure you submit your assignments on the basis of your knowledge.

For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.

Checkout for more NPTEL Courses: Click Here!

Leave a Comment

Your email address will not be published. Required fields are marked *