Question: Answer the following questions for each predicate p1 = a b p2 = a (b c) (a) Identify the clauses that go with predicate p.

Answer the following questions for each predicate

p1 = a Answer the following questions for each predicate p1 = a b p2b

p2 = a (b c)

(a) Identify the clauses that go with predicate p.

(b) Compute (and simplify) the conditions under which each of the clauses determines

predicate p.

(c)Write the complete truth table for all clauses. (Use the truth table below)

Truth table for p1

a

b

P

Pa =

Pb =

1

T

T

2

T

F

3

F

T

4

F

F

Truth table for p2

a

b

c

P

Pa =

Pb =

Pc =

1

T

T

T

2

T

T

F

3

T

F

T

4

T

F

F

5

F

T

T

6

F

T

F

7

F

F

T

8

F

F

F

(d) Identify all pairs of rows from your table that satisfy General Active Clause Coverage (GACC) with respect to each clause.

(e) Identify all pairs of rows from your table that satisfy Correlated Active Clause

Coverage (CACC) with respect to each clause.

(f) Identify all pairs of rows from your table that satisfy Restricted Active Clause

Coverage (RACC) with respect to each clause.

(g) Identify all 4-tuples of rows from your table that satisfy General Inactive Clause

Coverage (GICC) with respect to each clause. Identify any infeasible GICC test

requirements.

(h) Identify all 4-tuples of rows from your table that satisfy Restricted Inactive Clause

Coverage (RICC) with respect to each clause. Identify any infeasible RICC test

requirements.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!