Exercise 5: Logical Equivalence, Tautologies, and Applications

Covers testing logical equivalence, identifying the contrapositive of a conditional, verifying tautologies, and applying propositional logic to search-engine queries, program conditions, and combinatorial counting.

download Export
search_insights Statistics
stylus_note White Board
Quran
calculate Calculator
dictionary Dictionary
fullscreen Full Screen
QUESTION OF

volume_mute Read quiz aloud
Views #: 118
Questions #: 13
Time: 18 minutes
Pass Score: 80.0%
Style
Mode

Test an Equivalence of Compound Statements

1 pts
volume_mute

Are (A ∧ B) ∨ C and A ∧ (B ∨ C) logically equivalent?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Identify the Contrapositive

1 pts
volume_mute

Let P be the statement A → B. Is P logically equivalent to its converse, its inverse, or its contrapositive?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Write a Search Query Excluding a Term

1 pts
volume_mute

Write a logical expression for a web search engine to find sites about dogs that are not retrievers.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Write a Search Query with OR and Exclusion

1 pts
volume_mute

Write a logical expression for a web search engine to find sites about oil paintings by Van Gogh or Rembrandt, but not Vermeer.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Write a Search Query Combining OR and AND

1 pts
volume_mute

Write a logical expression for a web search engine to find sites about novels or plays about AIDS.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Write a Search Query with a Geographic Exclusion

1 pts
volume_mute

Write a logical expression for a web search engine to find sites about coastal wetlands in Louisiana but not in Alabama.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Construct a Statement for Exclusive Conditions

1 pts
volume_mute

Write a logical statement that is true only when exactly one of A or B is true (but not both), and C is false.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Check Whether a Condition Matches Its Intended Meaning

1 pts
volume_mute

Does the code condition "if not(A and B) and C" execute its statement only when A is false, B is false, and C is true?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Verify an Implication Equivalence

1 pts
volume_mute

Is A → B logically equivalent to A′ ∨ B?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Negate a Real-World Conditional Statement

1 pts
volume_mute

Write the negation of: If Sam passed his bar exam, then he will get the job.

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Count Memory Chip Configurations

1 pts
volume_mute

A memory chip has 2⁵ ON-OFF elements. What is the total number of possible ON-OFF configurations of the chip?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Match Each Input Pair to Its XOR Output

2 pts
volume_mute

Match each pair of input truth values to the correct output of the exclusive OR (XOR).

Input A Input B XOR Output
True (T) True (T) (1)
True (T) False (F) (2)
False (F) True (T) (3)
False (F) False (F) (4)
Please drag and drop the selected option in the right place or type it instead
False
True
note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation


Prove an XOR Equivalence

1 pts
volume_mute

Is A XOR B ↔ (A ↔ B)′ a tautology?

note_alt Add notes
flag Flag
volume_mute

Correct Answer

Explanation