3/2/26, 8:32 PM Software Testing - - Unit 5 - Week 2
([Link] ([Link]
balajiadhiseshan@[Link]
NPTEL ([Link] » Software Testing (course)
Click to register
for Certification
exam
Week 02: Assignment 02
([Link]
Assignment not submitted Due date: 2026-03-04, 23:59 IST.
If already 1) Which one of the following is an implicit assumption made in equivalence class testing? 1 point
registered, click
to check your a. A program behaves in similar ways to every input value belonging to an equivalence class.
payment status b. Different equivalence classes of a program contain similar bugs
c. Different equivalence classes of a program contain dissimilar bugs
d. Equivalence classes define the behaviorally similar components of a program
Course e. Equivalence classes define the behaviorally similar code segments of a program
outline
2) Consider a function that takes an integer a (which can assume integral values between 1 point
About NPTEL 0 to 100) as an argument and carries out actions involving displaying the value of a variable b as
() specified in the following table.
How does an
NPTEL online
course work?
()
Week 1 ()
During black box testing of the function, how many valid equivalence class test
Week 2 () cases need to be designed?
Lecture 6:
Equivalence
and BV Testing a. 4
(unit?
b. 5
[Link] 1/4
3/2/26, 8:32 PM Software Testing - - Unit 5 - Week 2
unit=27&lesson c. 6
=28)
d. 7
Lecture 7:
e. 8
Special Value
Testing (unit? 3) On a customer telephone call, a tele-customer service software plays a voice message 1 point
unit=27&lesson to describe five types of tele-service that are available, and requests the customer to enter a number
=29) between 1 and 5 to avail the different tele services. Entering a 0 repeats the voice message
Lecture 8: describing the services. Entering any other number terminates the call. How many equivalence
Combinatorial classes can be designed to test the tele-customer service software based on the given information?
Testing (unit?
unit=27&lesson a. 5
=30) b. 6
Lecture 9: c. 7
Pairwise d. 8
Testing (unit?
e. 9
unit=27&lesson
=31)
4) Which of the following statements are TRUE about Cause–Effect Graph based testing? 1 point
Lecture 10:
White Box a. It helps identify logical relationships between input conditions and their outcomes.
Testing (unit?
b. It is mainly used to design test cases from use case diagrams without considering
unit=27&lesson
conditions.
=32)
c. It uses Boolean logic to represent dependencies between causes and effects.
Lecture
d. It can be converted into decision tables for structured test case generation.
material of
Week 2 (unit? e. It is only applicable when the software is already implemented and cannot be applied at
unit=27&lesson the requirements level.
=33)
Quiz: Week 5) Consider a function named solver that solves a quadratic equation of the form 1 point
02: ax2+bx+c=0, where a, b, and c are floating-point numbers. At least how many test cases are
Assignment needed for equivalence class testing of the function solver, considering only valid equivalence
02 classes?
(assessment?
name=109) a. 2
Feedback Form
b. 3
(unit? c. 4
unit=27&lesson
d. 5
=34)
e. 9
Week 3 ()
6) Consider a function named compute-grade that computes the grade of a student based 1 point
Text on his attendance and the total marks obtained out of 100. If the attendance is below 80%, the
Transcripts () 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
Books () 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, how many test cases are needed for decision table testing?
a. 6
[Link] 2/4
3/2/26, 8:32 PM Software Testing - - Unit 5 - Week 2
b. 7
c. 8
d. 10
e. 12
7) If a user interface has two check boxes, at least how many test cases are required to 1 point
achieve pair-wise coverage?
a. 3
b. 4
c. 5
d. 6
e. 7
8) Consider the function find-intersection(m1,c1,m2,c2) that computes the point of 1 point
intersection of two straight lines of the form y=mx+c. For equivalence class testing, at the first level
of the equivalent 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?
a. 1
b. 2
c. 3
d. 4
e. 5
9) Which of the following statements correctly describe Boundary Value Testing? 1 point
a. It designs test cases based on values at or near the edges of input domains.
b. It ignores valid boundary values and tests only invalid inputs.
c. It often includes tests at minimum, minimum+1, maximum−1, and maximum values.
d. It is more effective when input domains are continuous or ordered.
e. It can be applied only to numeric inputs and not to strings or lengths.
10) Which of the following statements correctly describe Decision Table–based Testing? 1 point
a. It is useful when multiple input conditions interact to produce different outcomes.
b. It ignores combinations of conditions and tests only individual inputs independently.
c. It can be used to systematically derive test cases from specifications or business rules.
d. It often reveals missing rules or contradictions in the requirements.
e. It is applicable only when numeric calculations are involved and not for logical behaviors.
You may submit any number of times before the due date. The final submission will be considered
for grading.
Submit Answers
[Link] 3/4
3/2/26, 8:32 PM Software Testing - - Unit 5 - Week 2
[Link] 4/4