Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Use MC/DC logic and BV testing to determine the minimum test cases for each of t

ID: 3585465 • Letter: U

Question

Use MC/DC logic and BV testing to determine the minimum test cases for each of the following requirements expressions. For each part, develop a test case table showing test case number, inputs, and expected outputs using the table as shown below.

Express inputs in terms of numbers (for conditions with logical operators) and Booleans (for logical conditions) - e.g. the inputs are b (int) and/or c (int) when integer expressions are used, otherwise the inputs are Boolean.

1. a = b' || (c<8)

Expected Outputs Inputs Test Case

Explanation / Answer

for MC/DC logic and BV testing:

Inputs

Expected outputs

Test Case

b

c

a

1

0

9

1

2

5

5

1

3

1

9

0

if a= b' || (c<8)

a takes the value false

only if both b >0 and c> 9

else a takes the value true

Inputs

Expected outputs

Test Case

b

c

a

1

0

9

1

2

5

5

1

3

1

9

0

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote