Consider a software system that computes the monthly electricity charges for domestic usage. The
input to the system is an integer that represents the units of electricity consumed, and the output
is the electricity bill amount (a real value that is computed as the units consumed X unit charges).
The charge per unit is as follows:
What is the minimum number of test cases to be prepared for testing the software system using
equivalence class partitioning technique?
6406531487224.
3
6406531487225.
4
6406531487226.
5
6406531487227.
6
A published solution is not available for this question yet.
Which of the integration testing approaches starts with the top-level modules as well as the
lowest-level modules, followed by the middle-level modules?
6406531487216.
Top-down approach
6406531487217.
Bottom-up approach
6406531487218.
Sandwich approach
6406531487219.
Big bang approach
A published solution is not available for this question yet.
Consider an integration testing scenario where two units access the same data file. Identify the
type of coupling based on the interfaces for this scenario.
6406531487220.
Parameter coupling
6406531487221.
Shared data coupling
6406531487222.
External device coupling
6406531487223.
Message-passing interfaces:
A published solution is not available for this question yet.
For the given subquestions, consider a function called NextDate which takes as input a valid date
in mm/dd/yyyy (month followed by date followed by year) format and computes the date of the
next day. For example, given 06/14/1996, the NextDate function will return 06/15/1996> and when
given 02/28/2019>, the NextDate function will return 03/01/2019. Answer the given subquestions
regarding input space partitioning test cases for the NextDate function.
What are the variables involved in the NextDate function input?
6406531487232.
Month, day and year.
6406531487233.
Date containing month, day and year.
6406531487234.
Today’s date.
6406531487235.
Range of dates.
A published solution is not available for this question yet.
For the given subquestions, consider a function called NextDate which takes as input a valid date
in mm/dd/yyyy (month followed by date followed by year) format and computes the date of the
next day. For example, given 06/14/1996, the NextDate function will return 06/15/1996> and when
given 02/28/2019>, the NextDate function will return 03/01/2019. Answer the given subquestions
regarding input space partitioning test cases for the NextDate function.
Which of the following are valid partitions for the day, as a part of the input to the NextDate
function?
6406531487236.
Only one partition: 1 ≤ day ≤ 31.
6406531487237.
Two partitions: (1) day > 1 and (2) 30 ≤ day ≤ 31.
6406531487238.
Three partitions: (1) 1 ≤ day ≤ 29, (2) day = 30 and (3) day = 31.
6406531487239.
Four partitions: (1) 1 ≤ day ≤ 28, (2) day = 29, (3) day = 30 and (4) day = 31.
A published solution is not available for this question yet.
For the given subquestions, consider a function called NextDate which takes as input a valid date
in mm/dd/yyyy (month followed by date followed by year) format and computes the date of the
next day. For example, given 06/14/1996, the NextDate function will return 06/15/1996> and when
given 02/28/2019>, the NextDate function will return 03/01/2019. Answer the given subquestions
regarding input space partitioning test cases for the NextDate function.
State true or false: The partition
(1) {month: month has 30 days},
(2) {month: month has 31 days},
(3) {month: month is February}
is a valid partition for a month as a part of the input to the NextDate function?
6406531487240.
True.
6406531487241.
False.
A published solution is not available for this question yet.
Consider the following code segment for symbolic testing.
Based on the above data, answer the given subquestions.
Let's consider that DART testing technique is applied, and guesses are, value **30** for **x** and **55** for **y**.
Identify the path constraint that represents an equivalence class of input vectors containing all the
input values that drive the program through the same path of execution that is executed by {x=30,
y=55}.
**Sw Engg**
**Section Id :** 64065329025
**Section Number :** 6
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 24
**Number of Questions to be attempted :** 24
**Section Marks :** 100
**Display Number Panel :** Yes
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and** Yes
A published solution is not available for this question yet.