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 b
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started