| Operator | Symbol to type | Example |
|---|---|---|
| OR | | | A | B | C |
| AND | & | A & B & C |
| NOT | ! | !A |
| NAND (AND + NOT) | !(* & *) | !(A & B & C) |
| NOR (OR + NOT) | !(* | *) | !(A | B | C) |
| XOR | ^ | A ^ B |
Truth table is a representation of a logical expression in tabular format. It is mostly used in mathematics and computer science.
The representation is done using two valued logic - 0 or 1. You can also refer to these as True (1) or False (0). It is used to see the output value generated from various combinations of input values.
| Symbol | A | B | A+B |
|---|---|---|---|
![]() |
0 | 0 | 0 |
| 0 | 1 | 1 | |
| 0 | 1 | 1 | |
| 1 | 1 | 1 |
| Symbol | A | B | AB |
|---|---|---|---|
![]() |
0 | 0 | 0 |
| 0 | 1 | 0 | |
| 1 | 0 | 0 | |
| 1 | 1 | 1 |
| Symbol | A | B | !(A.B) |
|---|---|---|---|
![]() |
0 | 0 | 1 |
| 0 | 1 | 1 | |
| 1 | 0 | 1 | |
| 1 | 1 | 0 |
| Symbol | A | B | !(A+B) |
|---|---|---|---|
![]() |
0 | 0 | 1 |
| 0 | 1 | 0 | |
| 1 | 0 | 0 | |
| 1 | 1 | 0 |
| Symbol | A | !A |
|---|---|---|
![]() |
0 | 1 |
| 1 | 0 |
Truth Table is a mathematical table and the base for all computing needs. It is used to find out if a propositional expression is true for all legitimate input values.
Creating a Truth table involves a simple logic yet sometimes it may slow you down, especially when you are working on a last minute project. This is when you can make use of Truth Table Generator.
Truth Table Generator is an online tool that is used to create logical truth tables instantly. You can enter logical operators in different formats and get accurate results as boolean logic symbols.
This tool generates truth tables for propositional logic formulas.
You can enter logical operators in several different formats. For example, the
propositional formula