COT 3541 Midterm Test With Full Set
Correct Solutions | Updated
Which of the following is a propositional logic connective? A) If-Then B) For
All C) There Exists D) And - Ans--D) And
Which of the following is a tautology in propositional logic? A) P ^ ~P B) P v
~P C) ~(P ^ Q) <=> ~P v ~Q D) P -> (Q -> P) - Ans--B) P v ~PExplanation: A
tautology is a compound proposition that is always true, regardless of the
truth values of its componentpropositions. Option A) P ^ ~P is not a
tautology because it is always false. The proposition states that P is true and
false at thesame time, which is a contradiction. Option C) ~(P ^ Q) <=> ~P v
~Q is a logical equivalence, meaning that it is true if and only if
What is the negation of the statement "P and Q are both true" in
propositional logic? A) P or Q is true B) P is true, or Q is false C) P is false, or
Q is false D) P is true, and Q is false - Ans--C) P is false or Q is
falseExplanation: In propositional logic, the negation of a conjunction (an
"and" statement) is a disjunction (an "or" statement) withthe negation of
each conjunct. The negation of "P and Q are both true" is "It is not the case
that P and Q are both true," whichcan be restated as "P is false, or Q is
false." Option A) P or Q is true is not the negation of the given statement, as
it is a truestatement when both P and Q are true. Option B) P is true, or Q is
false is also not the negation of the given statement, as itallows for the
possibility that both P and Q are true. Option D) P is true, and Q is false is not
the negation of the given statement,as it describes a different scenario
altogether where only P is true and Q is false, but not necessarily the
opposite
Which of the following is equivalent to ~(P -> Q) in propositional logic? A) ~P
v ~Q B) P v ~Q C) P ^ ~Q D) P v Q - Ans--C) P ^ ~QThe negation of an
implication ~(P -> Q) is logically equivalent to the disjunction of the negation
of the antecedent with theconsequent. Applying this to the statement ~(P ->
, Q), we get:~(P -> Q)= ~(~P v Q) [Using the definition of implication]= ~~P ^
~Q [Using De Morgan's law]= P ^ ~Q [Double negation]
Which of the following is the contrapositive of the statement "If it is raining,
then the ground is wet" in propositional logic? A) If the ground is wet, then it
is raining. B) If it is not raining, then the ground is not wet. C) If the ground is
not wet, then it is not raining. D) If it is not wet, then it is not raining. - Ans--C)
If the ground is not wet, then it is not raining.The contrapositive of a
conditional statement is formed by negating both the antecedent and the
consequent, and thenreversing their order. In this case, the negation of "it is
raining" is "it is not raining," and the negation of "the ground is wet" is"the
ground is not wet." The contrapositive statement is therefore "If the ground
is not wet, then it is not raining."Option A) If the ground is wet, then it is
raining is the converse of the original statement, which is not logically
equivalent to thecontrapositive. Option B) If it is not raining, then the ground
is not wet is the inverse of the original statement, which is also notlogically
equivalent to the contrapositive. Option D) If it is not wet, then it is not raining
is not a valid statement as it does notcontain the entire information from the
original statement.
Which of the following is a disjunctive normal form (DNF) of the statement "If
P and Q are true, then R is true" in propositional logic? A) (P v ~Q) ^ (Q v ~R)
B) (~P v ~Q) v R C) (P v Q) -> R D) ~(P ^ Q ^ ~R) - Ans--) (~P v ~Q) v ROption
B) (~P v ~Q) v R is a disjunctive normal form (DNF) of the statement "If P and
Q are true, then R is true" in propositionallogic. A disjunctive normal form
(DNF) of a statement is a disjunction of conjunctions, where each
conjunction is a set of literals(propositional variables or their negations). To
convert the given statement into DNF, we can first use the definition
ofimplication to rewrite it as ~(P ^ Q ^ ~R) - the negation of the conjunction of
P, Q, and the negation of R. We can then apply DeMorgan's law and
distribute the negation to get:~(P ^ Q ^ ~R)= ~P v ~Q v R [Using De
Morgan's law and associativity]This is now in the form of a disjunction of
literals, which is a DNF. Option B) (~P v ~Q) v R is equivalent to this DNF,
since it is thesame disjunction of literals with the same truth values. Option
A) (P v ~Q) ^ (Q v ~R) is a conjunction of disjunctions, which is
Which of the following is the negation of "P or Q" in propositional logic? A)
~P or ~Q B) ~(P and Q) C) ~P and ~Q D) P and Q - Ans--C) ~P and ~QTo
Correct Solutions | Updated
Which of the following is a propositional logic connective? A) If-Then B) For
All C) There Exists D) And - Ans--D) And
Which of the following is a tautology in propositional logic? A) P ^ ~P B) P v
~P C) ~(P ^ Q) <=> ~P v ~Q D) P -> (Q -> P) - Ans--B) P v ~PExplanation: A
tautology is a compound proposition that is always true, regardless of the
truth values of its componentpropositions. Option A) P ^ ~P is not a
tautology because it is always false. The proposition states that P is true and
false at thesame time, which is a contradiction. Option C) ~(P ^ Q) <=> ~P v
~Q is a logical equivalence, meaning that it is true if and only if
What is the negation of the statement "P and Q are both true" in
propositional logic? A) P or Q is true B) P is true, or Q is false C) P is false, or
Q is false D) P is true, and Q is false - Ans--C) P is false or Q is
falseExplanation: In propositional logic, the negation of a conjunction (an
"and" statement) is a disjunction (an "or" statement) withthe negation of
each conjunct. The negation of "P and Q are both true" is "It is not the case
that P and Q are both true," whichcan be restated as "P is false, or Q is
false." Option A) P or Q is true is not the negation of the given statement, as
it is a truestatement when both P and Q are true. Option B) P is true, or Q is
false is also not the negation of the given statement, as itallows for the
possibility that both P and Q are true. Option D) P is true, and Q is false is not
the negation of the given statement,as it describes a different scenario
altogether where only P is true and Q is false, but not necessarily the
opposite
Which of the following is equivalent to ~(P -> Q) in propositional logic? A) ~P
v ~Q B) P v ~Q C) P ^ ~Q D) P v Q - Ans--C) P ^ ~QThe negation of an
implication ~(P -> Q) is logically equivalent to the disjunction of the negation
of the antecedent with theconsequent. Applying this to the statement ~(P ->
, Q), we get:~(P -> Q)= ~(~P v Q) [Using the definition of implication]= ~~P ^
~Q [Using De Morgan's law]= P ^ ~Q [Double negation]
Which of the following is the contrapositive of the statement "If it is raining,
then the ground is wet" in propositional logic? A) If the ground is wet, then it
is raining. B) If it is not raining, then the ground is not wet. C) If the ground is
not wet, then it is not raining. D) If it is not wet, then it is not raining. - Ans--C)
If the ground is not wet, then it is not raining.The contrapositive of a
conditional statement is formed by negating both the antecedent and the
consequent, and thenreversing their order. In this case, the negation of "it is
raining" is "it is not raining," and the negation of "the ground is wet" is"the
ground is not wet." The contrapositive statement is therefore "If the ground
is not wet, then it is not raining."Option A) If the ground is wet, then it is
raining is the converse of the original statement, which is not logically
equivalent to thecontrapositive. Option B) If it is not raining, then the ground
is not wet is the inverse of the original statement, which is also notlogically
equivalent to the contrapositive. Option D) If it is not wet, then it is not raining
is not a valid statement as it does notcontain the entire information from the
original statement.
Which of the following is a disjunctive normal form (DNF) of the statement "If
P and Q are true, then R is true" in propositional logic? A) (P v ~Q) ^ (Q v ~R)
B) (~P v ~Q) v R C) (P v Q) -> R D) ~(P ^ Q ^ ~R) - Ans--) (~P v ~Q) v ROption
B) (~P v ~Q) v R is a disjunctive normal form (DNF) of the statement "If P and
Q are true, then R is true" in propositionallogic. A disjunctive normal form
(DNF) of a statement is a disjunction of conjunctions, where each
conjunction is a set of literals(propositional variables or their negations). To
convert the given statement into DNF, we can first use the definition
ofimplication to rewrite it as ~(P ^ Q ^ ~R) - the negation of the conjunction of
P, Q, and the negation of R. We can then apply DeMorgan's law and
distribute the negation to get:~(P ^ Q ^ ~R)= ~P v ~Q v R [Using De
Morgan's law and associativity]This is now in the form of a disjunction of
literals, which is a DNF. Option B) (~P v ~Q) v R is equivalent to this DNF,
since it is thesame disjunction of literals with the same truth values. Option
A) (P v ~Q) ^ (Q v ~R) is a conjunction of disjunctions, which is
Which of the following is the negation of "P or Q" in propositional logic? A)
~P or ~Q B) ~(P and Q) C) ~P and ~Q D) P and Q - Ans--C) ~P and ~QTo