Are you looking for the Answers to **NPTEL Software Testing Assignment 2? **This article will help you with the answer to the **Nation**** al Programme on Technology Enhanced Learning (NPTEL)** Course “

**“**

**NPTEL Software Testing Assignment**2## What is Software Testing?

The world has become highly interconnected and hence more complex than ever before. We are surrounded by a multitude of networks in our daily life, for example, friendship networks, online Software Testing, world wide web, road networks etc. All these networks are today available online in the form of graphs which hold a whole lot of hidden information. They encompass surprising secrets which have been time and again revealed with the help of tools like graph theory, sociology, game theory, etc.

## CRITERIA TO GET A CERTIFICATE

Average assignment score = 25% of the 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 THE 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.**

** Below you can find the answers for the NPTEL Software Testing Assignment 2**

Assignment No. | Answers |
---|---|

Assignment 1Social Networks | Click Here |

Assignment 2Social Networks | Click Here |

Assignment 3Social Networks | Click Here |

Assignment 4Social Networks | Click Here |

## NPTEL Software Testing Assignment 2 Answers:-

**Q1.** Which of the following are black box testing techniques?

**Answer:-** **a,b,c**

**Q2.** Which one of the following is an implicit assumption made in equivalence class testing?

**Answer:-** **a**

**Q3.** A function named **compute-interest-rate(amount, months)** was developed by the bank to compute the interest rate applicable for a deposit made by a customer. At least how many test cases are needed for weak equivalence class testing of the function **compute-interest-rate**?

**Answer:-** **b**

**Q4.** For the function **compute-interest-rate** of Q. 3, at least how many test cases are needed for strong equivalence testing?

**Answer:-** **a**

???? **Next Week Answers: Assignment 02** ????

**Q5.** For the function **compute-interest-rate **of Q. 3, at least how many test cases are needed for robust equivalence testing?

**Answer:-** **c**

**Q6.** Consider a function named **solver** that solves a quadratic equation of the form *ax*2+*bx*+*c*=0, where a, b, and c are floating point numbers. At least how many test cases are needed for strong equivalence class testing of the function **solver** considering only valid equivalence classes?

**Answer:-** **a**

**Q7.** Consider a function named** compute-grade **that computes the grade of a student based on his attendance and the total marks obtained out of 100. If the attendance is below 80%, the student is assigned “F” grade irrespective of the marks scored. If the attendance of a student is 80% or more, the student with mark M is assigned a grade from EX, A, B, C, D, P, F depending upon whether M>89%, 90%>M>79%, 80%>M>69%, 70%>M>59%, 60%>M>49%, 50%>M>29%, or M<30%. If the decision making about the grade computation is represented in the form of a decision table, at least how many test cases are needed for decision table testing?

**Answer:-** **c**

**Note:- We are going to post answers for all weeks you can join us on telegram for regular updates and if there are any changes in answers then will update on our telegram channel only.**

**Q8.** If a user interface has two check boxes, at least how many test cases are required to achieve pair-wise coverage testing?

**Answer:-** **b**

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

**Answer:-** **a**

**Q10.** Consider the function find-intersection(m1,c1,m2,c2) that computes the point of intersection of two straight lines of the form y=mx+c. For equivalence class testing of the given function, at the first level of the equivalence class hierarchy the valid and invalid equivalence classes can be formed. The valid set of input values can be further divided into how many equivalence classes?

**Answer:-** **c**

**For other courses answers:- Visit**

**For Internship and job updates:- Visit **

**Disclaimer:** We do not claim 100% surety of answers, these answers are based on our sole knowledge, and by posting these answers we are just trying to help students, so we urge do your assignment on your own.

if you have any suggestions then comment below or contact us at [email protected]

If you found this article Interesting and helpful, don’t forget to share it with your friends to get this information.