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: 3585467 • 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>6) && (c<=6)

Expected Outputs Inputs Test Case

Explanation / Answer

Inputs

Expected Outputs

Test Cases

B

C

A

1

5

10

False

2

12

15

False

3

3

2

False

4

15

6

True

5

16

4

True

Test Cases 1: For first false and second false so result is false

Test Cases 2: For first true and second false so result is false

Test Cases 3: For first false and second true so result is false

Test Cases 4: For first true and second true with equality so result is true

Test Cases 5: For first true and second true with less value so result is true

Inputs

Expected Outputs

Test Cases

B

C

A

1

5

10

False

2

12

15

False

3

3

2

False

4

15

6

True

5

16

4

True

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