Consider the following computational problem  AlteredMult:   Input -10 <=  x  <= 30, x ∈ Z; 12 <= y <= 24, y ∈ Z    Output the integer 3*x - 7*y The following correct choices for x and y for Boundary Value Analysis C_x =(-10, -9, 1, 29, 30) C_y = (12, 13, 20, 23, 24) and the test suite I:   Test Name x y Expected result  T1 -10 20 -170 T2 -9 20 -167 T3 1 20 -137 T4 29 20 -53 T5 30 20 -50 T6 1 12 -252 T7 1 13 -273 T8 1 23 -483 T9 1 24 -504

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Consider the following computational problem 

AlteredMult:

  Input -10 <=  x  <= 30, x  Z; 12 <= y <= 24, y  Z 

  Output the integer 3*x - 7*y

The following correct choices for x and y for Boundary Value Analysis

  • C_x =(-10, -9, 1, 29, 30)
  • C_y = (12, 13, 20, 23, 24)

and the test suite I:

 

Test Name

x

y

Expected result 

T1

-10

20

-170

T2

-9

20

-167

T3

1

20

-137

T4

29

20

-53

T5

30

20

-50

T6

1

12

-252

T7

1

13

-273

T8

1

23

-483

T9

1

24

-504

 

 

WHICH ANSWERS ARE CORRECT AND WHAT MEAN choice a)

a)  C_x and C_y are combined in such a way that they yield all input combinations required for Boundary Value Analysis. 

b) There is at least one expected result that is correctly calculated from the values given for x and y.

c) There is at least one correct combination of C_x and C_y for Boundary Value Analysis.

d) All expected results are correct.

Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Polynomial time
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education