Use De Morgan's laws to express a negation for the following statement. This computer program has a logical error in the first ten lines or it is being run with an incomplete data set.
A) This computer program does not have a logical error in the first ten lines or it is not being run with an incomplete data set.
B) This computer program has a logical error in the first ten lines or it is not being run with an incomplete data set.
C) This computer program does not have a logical error in the first ten lines and it is not being run with an incomplete data set.
D) This computer program has a logical error in the first ten lines and it is not being run with an incomplete data set.
E) This computer program does not have a logical error in the first ten lines and it is being run with an incomplete data set.

Respuesta :

Answer and Step-by-step explanation:

Let

P = this computer program has a logical error in the first ten lines.

q = it is being run with an incomplete data set.

Not p = ¬p

P or q = p ∨ q

P and q = p ∧ q

If p then q = p → q

P if and only if q = p ↔ q

a)  Computer program does not have a logical error in the first ten lines or is not being run with an incomplete data set.

     ¬p ∨ ¬q

b)  Computer program has a logical error in the first ten lines, or it is not being run with an incomplete data set

p v ¬q

c) Computer program does not have a logical error in the first ten lines, and it is not being run with an incomplete data set

¬p v ¬q

d)  Computer program has a logical error in the first ten lines, and it is not being run with an incomplete data set.

P v ¬q

e)  Computer program does not have a logical error in the first ten lines, and it is being run with an incomplete data set

¬p v q