A truth table is a logically-based mathematical table that illustrates the possible outcomes of a scenario. The truth table contains the truth values that would occur under the premises of a given scenario. As a result, the table helps visualize whether an argument is logical (true) in the scenario.
The rows of a basic truth table contain the Boolean logic true or false values, while the columns list the premises of a scenario as well as the conclusion. A simple truth table contains a single scenario and lists the valid statement and its negation.
How to Create a Truth Table
The first step in creating a truth table is to determine the number of variables and rows needed for the table and then write down all the possible combinations (typically diagrammed as “p” and “q”).
For creating a basic “And” (conjunction) truth table, we’ll use the following example:
“If you get accepted into State University, you’ll get a six-figure job once you graduate.”
In this example, “p” represents the first premise in which you get accepted into State University and “q” represents getting a six-figure job upon graduating.
The truth table will have a column for each of these premises and a third for the logical conclusion, with each row containing a logical result from the combination of the two premises, as shown in the illustration below:
Simple Truth Table p q Result
T T T
T F F
F T F
F F F
The Five Basic Operations in Truth Tables
Truth tables use five basic operations:
1. Conjunction: An “and” operation where both arguments must be true in order for the statement itself to be true
2. Disjunction: An “or” operation where both arguments must be false in order for the statement itself to be false
3. Negation: A “not” operation is one that is the opposite (or complement) of the original value
4. Conditional: An “if – then” operation where the statement is false only when the first premise is true and the second is false
5. Bi-Conditional: An “if and only if” operation wherein the statement is true only when the premises share the same truth value (they’re both either true or false)
- Microsoft Safety Scanner
Microsoft Safety Scanner is a free security tool that provides on-demand scanning for viruses, spyware and other malicious software. The Safety Scanner tool additionally offers the capability to remove some forms of malware. Microsoft Safety Scanner can be downloaded through Microsoft’s Safety and Security Center web site, which also provides the latest service packs, drivers, […]
- Microsoft Security Software
Microsoft provides a variety of security options to protect users of its Windows-based operating systems and software products from malware, viruses, hacking attempts, phishing attacks, spam and more. The most popular among Microsoft’s standalone software security options are Windows Defender, Microsoft Security Essentials, Microsoft Safety Scanner and Forefront Endpoint Security. For many years, Microsoft’s philosophy […]
- Computational Thinking
Computational thinking (CT) is a study of the problem-solving skills and tactics involved in writing or debugging software programs and applications. Computational thinking is closely related to computer science, although it focuses primarily on the big-picture process of abstract thinking used in developing computational programs rather than on the study of specific programming languages. As […]
An acronym that stands for Science, Technology, Engineering and Math, STEM has become popular recently in discussions involving grade school and higher education curriculums. STEM proponents often seek to have a greater focus placed on an integrated STEM curriculum in U.S. public schools and universities in order to better prepare students for high-level tech jobs […]
- Windows 9
Windows 9 was the anticipated name of the follow-up to Microsoft’s Windows 8 operating system, but the company decided to instead go with the Windows 10 name. Codenamed Windows Threshold, Windows 10 (aka Windows 9) is expected to be released sometime in 2015. Windows 10 Departing from the Unified OS Interface? While Windows 8 focused […]