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 1 Answers||Click Here|
|NPTEL Software Testing Assignment 2 Answers||Click Here|
|NPTEL Software Testing Assignment 3 Answers||Click Here|
|NPTEL Software Testing Assignment 4 Answers||Click Here|
NPTEL Software Testing Assignment 2 Answers 2023:
We are updating answers soon Join Group for update: CLICK HERE
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
Q.2. 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?
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?
NPTEL Software Testing Assignment 3 Answers Join Group👇
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
Q.5. Consider the following program code. At least how many test cases are needed for basic condition coverage?
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.
NPTEL Software Testing Week 2 Answers Join Group👇
Q.8. Assume that a function try takes four parameters w, x, y, and z as arguments. Each of these four parameters can assume values in the range 0 to 100. How many boundary value test cases should be designed for robust testing of the function try?
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;
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.
- 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/
Join Our Telegram Group:- CLICK HERE