# Logical Operations

• Created by: lisamiles
• Created on: 26-11-18 10:11
• Logical Operations
• NOT
• The NOT logical operator has only one input and one output. The output is the opposite of the input.
• AND
• The AND logical operator has two inputs and one output. The output is 1 only if A and B are both 1.
• OR
• The OR logical operator has two inputs and one output. The output is 1 if either A or B is 1.
• XOR
• The XOR logical operator has two inputs and one output. The output is 1 only if A and B are different.
• Laws of Boolean Algebra
• Annulment Law
• Identity Law
• Idempotent Law
• Complement Law
• Commutative Law
• Double Complement Law
• Distributive Law
• Absorptive law
• Associative Law
• Boolean notation
• • a bar on top of and input variable represents the NOT operator. NOT A = ?
• • a dot “.” represents the AND function. A and B = A.B
• a plus sign “+” represents the OR function. A or B = A + B
• a plus sign with a circle represents the XOR function. A exclusive or B = ?????????????????