You may make a copy of a worksheet and complete this activity, or simply type your answers in any text editor.
You may work alone or with at most two other students in this course.
Work on at least two of the following predicates
(1) p = a XOR b (2) p = a!b + ac (3) p = a -> (b -> c)
Identify the circumstances under which each clause determines the value of the predicate. For practice, we will work through all the following methods.
Next, compute all pairs of inputs that satisfy the three ACC interpretations (GACC: General Active Clause Coverage, RACC: Restricted Active Clause Coverage, and CACC: Correlated Active Clause Coverage) for each clause in the predicate.
The recommended method of computation is as follows (assuming clause of interest is "a").
GACC: Pa = T; a = T
Pa = T; a = F
RACC: same as GACC, with additional constraint that
predicate differs between the two inputs
and minor clauses are the same on the two inputs
CACC: Same as GACC, with additional constraint that
predicate differs between the two inputs
Remember to compute pairs of inputs for all the remaining clauses.
Write out the truth table, and identify rows (and then pairs of rows) that satisfy the various constraints. Use the same numbering on the truth table as the online tool uses.
| Row# | a | b | P | Pa | Pb |
|---|---|---|---|---|---|
| Row# | a | b | c | P | Pa | Pb | Pc |
|---|---|---|---|---|---|---|---|
Give a GACC-adequate test set (i.e., a set of test requirements that satisfy GACC)
Give a RACC-adequate test set (i.e., a set of test requirements that satisfy RACC)
Give a CACC-adequate test set (i.e., a set of test requirements that satisfy CACC)
(-2.5 points) for 24 hours late (submitted after 25-Oct-2025 11am EST, by 26-Oct-2025 11am EST)
(-5 points) for 48 hours late (submitted after 26-Oct-2025 11am EST, by 27-Oct-2025 11am EST)
Making your submission available to instructor and course staff is your responsibility; if we cannot access or open your file, you will not get credit. Be sure to test access to your file before the due date.
CC-BY-NC-SA 4.0 license.