Download presentation
Presentation is loading. Please wait.
1
Truth tables Mrs. Palmer
2
Truth table A truth table is a breakdown of a logic function used in connection with Boolean algebra. It is used to show the truthfulness or falsity of a program based on a given criteria.
3
How the truth table works
A truth table is a mathematical table used to determine if a compound statement is true or false. In a truth table, each statement is typically represented by a letter or variable, like p, q, or r, and each statement also has its own corresponding column in the truth table that lists all of the possible truth values.
4
The purpose of logic gates in truth tables
Logic gates are used in computers to perform a logical operation on its two or more input signals. There are six basic circuits, the AND, NOT, NAND, OR, NOR, and exclusive OR circuits, which can be combined into more complex circuits. We will be focusing on three basic logic operators: AND, NOT and OR. These represent two logical values: ! represents on 0 represents off
5
Truth table for logical AND
When using AND, Both conditions (boolean expressions MUST be TRUE to get a true result.
6
Truth table for logical OR
If both conditions are TRUE then true result is given. If either condition is TRUE then a true result is given. If both conditions are FALSE then false result is given.
7
Truth table for logical NOT
8
Activity
9
Activity
10
Activity
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.