# NPTEL Software Testing Assignment 2 Answers 2023

Hello NPTEL Learners, In this article, you will find NPTEL Software Testing Assignment 2 Week 2 Answers 2023. All the Answers are provided below to help the students as a reference donâ€™t straight away look for the solutions, first try to solve the questions by yourself. If you find any difficulty, then look for the solutions.

###### NPTEL Software Testing Assignment 3 Answers 2023 Join Groupđź‘‡

Note: We are trying to give our best so please share with your friends also.

## NPTEL Software Testing Assignment 2 Answers 2023:

#### Q.1. Cause-effect test cases are, in effect, are designed using which one of the following types of testing techniques?

• a. Decision-table based testing
• b. Coverage-based testing
• c. Fault-based testing
• d. Path-based testing
• e. Equivalence testing

• 1
• 2
• 3
• 4
• 5

#### Q.3. Consider a function compute-grade has been written by the academic unit of an Institute to compute the grade of a student from the marks obtained. Assume that the following grading scheme is being used by the academic Institute.

During black box testing of the function compute-grade, altogether at least how many equivalence test cases are needed to be designed, assuming that robust testing is targeted?

• 6
• 7
• 8
• 9
• 10

#### Q.4. Which one of the following types of bugs may not get detected in black-box testing, but are very likely to be get detected by white-box testing?

• a) Incorrect functionality
• b) Missing functionality
• c) Trojans
• d) Incorrect algorithm
• e) Performance errors

• 2
• 3
• 4
• 5
• 6

#### Q.6. Which one of the following captures the basic idea based on which design of the equivalence classes of a function based on its specification is carried out?

• a. A set of input values constitute an equivalence class if the tester believes these are processed identically.
• b. A set of test cases constitute an equivalence class, if the tester believes that these are processed differently
• c. A set of input values that are partially ordered constitute an equivalence class
• d. A set of dissimilar input values constitute an equivalence class
• e. Equivalence classes define the behaviorally similar components of a program

#### Q.7. Which of the following is/are false regarding white-box testing?

• a. White-box test cases designed based on the code structure of a program.
• b. White-box testing is also called structural testing.
• c. White-box test cases designed based on the design of a program.
• d. White-box test cases designed based on the requirements specification of a program.
• e. White-box testing is also called behavioral testing.

• 9
• 13
• 17
• 25
• 30

#### Q.9. At least how many test cases are required to achieve multiple condition coverage of the following code segment:

If ((a>5) and (b<100) and (c>50)) x=x+1;

• 2
• 4
• 6
• 8
• 12

#### Q.10. Code coverage analysis is used to measure which one of the following?

• a. Extent of unreachable code
• b. Sufficiency of test cases
• c. Quality of code
• d. Distribution of bugs
• e. Percentage of bugs exposed
##### NPTEL Software Testing Assignment 2 Answers Join Groupđź‘‡

Disclaimer: This answer is provided by us only for discussion purpose if any answer will be getting wrong donâ€™t blame us. If any doubt or suggestions regarding any question kindly comment. The solution is provided byÂ Chase2learn. This tutorial is only for Discussion andÂ LearningÂ purpose.

#### About NPTEL Software Testing Course:

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 Outcome:
• Week 1:Â Introduction to software testing and test process
• Week 2:Black box testing
• Week 3:White box testing
• Week 4:Integration, regression and system testing, test automation
###### CRITERIA TO GET A CERTIFICATE:

Average assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course.
Exam score = 75% of the proctored certification exam score out of 100

Final score = Average assignment score + Exam score

YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100.

If you have not registered for exam kindly register Through https://examform.nptel.ac.in/