Say what holds for S: a) It has more test cases than a minimal test suite requires. b) There is a represenatative for all classes from Ax. c) All classes from Ax have at most one representative. d) All expected results are correct. e) There is at least one expected result calculated correctly from the numbers given for x and y. f) There is a representative for all classes from Ay.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter13: Structures
Section: Chapter Questions
Problem 4PP
icon
Related questions
Question

Consider the following computation problem in two variables

Plus:

  Input  -14 <= x  <= 28, x  Z; -10 <= y <= 32, y Z

  Output the integer x+y-7

and the following partition of the input domains: 

  • Ax = {[-14,-1], [0,10], [11,18]} for the variable x
  • Ay = {[-10,12], [13, 32]} for the variable y

 

Consider the following test suite:

 

S:

 

  

Test case

x

y

Expected result 

T1

-5

5

-7

T2

5

5

3

T3

15

15

23

 

 

Say what holds for S:

Consider the following computation problem in two variables

Plus:

  Input  -14 <= x  <= 28, x  Z; -10 <= y <= 32, y Z

  Output the integer x+y-7

and the following partition of the input domains: 

  • Ax = {[-14,-1], [0,10], [11,18]} for the variable x
  • Ay = {[-10,12], [13, 32]} for the variable y

 

Consider the following test suite:

 

S:

 

  

Test case

x

y

Expected result 

T1

-5

5

-7

T2

5

5

3

T3

15

15

23

 

 

Say what holds for S:

a) It has more test cases than a minimal test suite requires.

b) There is a represenatative for all classes from Ax.

c) All classes from Ax have at most one representative.

d) All expected results are correct.

e) There is at least one expected result calculated correctly from the numbers given for x and y.

f) There is a representative for all classes from Ay.

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Software Development
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr