Concept explainers
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.
Step by stepSolved in 3 steps with 3 images
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education