Download presentation
1
Basic Logical Operations (Fascinating)
In this section you will learn what are the basic logical operations and how to evaluate different logical expressions Image from Star Trek © Paramount
2
Logical AND Logic gate Truth table X Y X AND Y False True Truth table
1 Logic gate
3
Logical AND: An Example
T F AND
4
Logical OR Logic gate Truth table X Y X OR Y False True Truth table X
1 Logic gate
5
Logical OR: An Example T F OR
6
Logical NOT Logic gate Truth table X Not X False True Truth table X
1 Logic gate
7
Logical NOT: An Example
F NOT
8
Logical NAND Logic gate Truth table X Y X AND Y X NAND Y False True
1 Logic gate
9
Logical NAND: An Example
T F AND NAND
10
Logical NOR Logic gate Truth table X Y X OR Y X NOR Y False True
1 Logic gate
11
Logical NOR: An Example
T F OR NOR
12
Logical Exclusive OR (XOR)
Truth table X Y X XOR Y False True Truth table X Y X XOR Y 1 Logic gate
13
Logical XOR: An Example
T F XOR
14
Logic: Greater Than Two Inputs
X Y Z X OR Y OR Z ? X Y Z X AND Y AND Z ?
15
Example Boolean Expressions To Evaluate
True AND True AND False AND True True OR True OR False OR True (True OR False) AND (False OR False) NOT (True OR False) NOT (True AND True)
16
Reasons For Learning Logic: Hardware
The computer is built using logic circuits
17
A 4 Bit Comparator Circuit
18
Reasons For Learning About Logic: Software
Logic is common-place in computer programs e.g., database searches.
19
Reasons For Learning About Logic: Software (2)
20
Reasons For Learning About Logic: Software (3)
21
You Should Now Know The different types of logical operations that a computer may perform AND OR NOT NAND NOR XOR How to evaluate complex Boolean expressions formed with combinations of AND, OR, NOT How logic gates form an important part of computers
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.