Question

Consider a system that consists of 3 parameters, P1, P2, and P3. P1 has three values:...

Consider a system that consists of 3 parameters, P1, P2, and P3. P1 has three values: 0, 1 and 2. P2 has two values: a and b. P3 has three values: x, y and z. Apply algorithm IPO to build a pairwise test set for this system. The parameters should be covered in the given order, i.e., P1, P2, and P3. That is, you should build a pairwise test set T for P1 and P2 first, and then extend T to cover P3. Use “-” to represent don’t care values, i.e., values that do not affect coverage. Clearly indicate your tie-breaking rules that may be needed in the test generation process. You must show intermediate steps to obtain full credits.

Homework Answers

Answer #1

Solution:

given that: p1 (0,1,2)

p2(a,b)

p3(x,y,z)

Note: Every possible combination of values of the parameters must be covered

then all combinations coverage requires 18 tests:

Each Choice Coverage ! Each parameter value must be covered in at least one test case. !

Pairwise Coverage

T-Wise Coverage !

Given any t parameters, every combination of values of these t parameters must be covered in at least one test case. !

T-Wise Coverage

Given any t parameters, every combination of values of these t parameters must be covered in at least one test case.

Base Choice Coverage

For each parameter, one of the possible values is designated as a base choice of the parameter

A base test is formed by using the base choice for each parameter

Multiple Base Choices Coverage

At least one, and possibly more, base choices are designated for each parameter.

The notions of a base test and subsequent tests are defined in the same as Base Choice.

Subsumption Relation

The IPO Strategy

First generate a pairwise test set for the first two parameters, then for the first three parameters, and so on .

A pairwise test set for the first n parameters is built by extending the test set for the first n –

1 parameters –

Horizontal growth: Extend each existing test case by adding one value of the new parameter –'

Vertical growth: Adds new tests, if necessary

Algorithm IPO_H (T, pi )

Assume that the domain of pi contains values v1 , v2 , …, and vq ;  = { pairs between values of pi and values of p1 , p2 , …, and pi-1

if ( |T| <= q) for 1 <= j <= |T|, extend the j th test in T by adding value vj and remove from  pairs covered by the extended test

else for 1 <=j <= q, extend the j th test in T by adding value vj and remove from  pairs covered by the extended test;

for q < j <= |T|, extend the j th test in T by adding one value of pi such that the resulting test covers the most number of pairs in , and remove from  pairs covered by the extended test

Algorithm IPO_V(T, )

let T’ be an empty set;

for each pair in 

assume that the pair contains value w of pk , 1 ≤ k < i, and value u of pi ;

if (T contains a test with “-” as the value of pk and u as the value of pi )

modify this test by replacing the “-” with w

else

add a new test to T’ that has w as the value of pk , u as the value of pi , and “-” as the value of every other parameter;

T = T  T’

(here  symbal is is pie)

Any probblem please comment

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a...
Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a 2.5 GHz clock rate and a CPI of 1.25. P2 has a 3 GHz clock rate and a CPI of 1.6. P3 has a 4.0 GHz clock rate and has unknown CPI. a. (5 points) Compare the performance of P1 and P2 in terms of number of instructions they can execute per second. b. (5 points) Program X is executed by P1 in 20...
Rosie’s Company has three products, P1, P2, and P3. The maximum Rosie’s can sell is 68,000...
Rosie’s Company has three products, P1, P2, and P3. The maximum Rosie’s can sell is 68,000 units of P1, 33,000 units of P2, and 21,000 units of P3. Rosie’s has limited production capacity of 18,000 hours. It can produce 12 units of P1, 6 units of P2, and 3 units of P3 per hour. Contribution margin per unit is $5 for the P1, $15 for the P2, and $25 for the P3. What is the most profitable sales mix for...
6 Required information Serial Problem Business Solutions LO P1, P2, P3, P4 [The following information applies...
6 Required information Serial Problem Business Solutions LO P1, P2, P3, P4 [The following information applies to the questions displayed below.] Santana Rey created Business Solutions on October 1, 2019. The company has been successful, and its list of customers has grown. To accommodate the growth, the accounting system is modified to set up separate accounts for each customer. The following chart of accounts includes the account number used for each account and any balance as of December 31, 2019....
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From the April 2004 Issue Save Share 8.95 In 1991, Progressive Insurance, an automobile insurer based in Mayfield Village, Ohio, had approximately $1.3 billion in sales. By 2002, that figure had grown to $9.5 billion. What fashionable strategies did Progressive employ to achieve sevenfold growth in just over a decade? Was it positioned in a high-growth industry? Hardly. Auto insurance is a mature, 100-year-old industry...
Please read the article and answear about questions. Determining the Value of the Business After you...
Please read the article and answear about questions. Determining the Value of the Business After you have completed a thorough and exacting investigation, you need to analyze all the infor- mation you have gathered. This is the time to consult with your business, financial, and legal advis- ers to arrive at an estimate of the value of the business. Outside advisers are impartial and are more likely to see the bad things about the business than are you. You should...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT