0% found this document useful (0 votes)
4 views

Logic Gates Introduction

Uploaded by

aikominami21
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Logic Gates Introduction

Uploaded by

aikominami21
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Logic Gates:

Introduction
Logic gates are the building blocks of digital circuits. They perform
logical operations on binary inputs (0 or 1) and produce a binary
output. These operations are essential for computers and other
electronic devices to process information.
Boolean Expressions
1 Representing Logic 2 Truth Values
Boolean expressions use These expressions
symbols like AND, OR, evaluate to either TRUE
and NOT to represent (1) or FALSE (0), based on
logical operations. the input values.

3 Binary Logic
They are essential for understanding how logic gates work.
AND Gate
A B A AND B

0 0 0

0 1 0

1 0 0

1 1 1

The AND gate outputs a 1 only when both inputs are 1. Otherwise, the output is 0.
OR Gate
A B A OR B

0 0 0

0 1 1

1 0 1

1 1 1

The OR gate outputs a 1 if at least one of the inputs is 1. It outputs


a 0 only when both inputs are 0.
NOT Gate
A NOT A

0 1

1 0

The NOT gate inverts the input. If the input is 0, the output is 1,
and if the input is 1, the output is 0.
NAND Gate
A B A NAND B

0 0 1

0 1 1

1 0 1

1 1 0

The NAND gate is the inverse of the AND gate. It outputs a 0 only
when both inputs are 1, and outputs a 1 in all other cases.
NOR Gate
A B A NOR B

0 0 1

0 1 0

1 0 0

1 1 0

The NOR gate is the inverse of the OR gate. It outputs a 1 only


when both inputs are 0, and outputs a 0 in all other cases.
XOR Gate
A B A XOR B

0 0 0

0 1 1

1 0 1

1 1 0

The XOR gate outputs a 1 when the inputs are different, and
outputs a 0 when the inputs are the same.
XNOR Gate
A B A XNOR B

0 0 1

0 1 0

1 0 0

1 1 1

The XNOR gate is the inverse of the XOR gate. It outputs a 1 when
the inputs are the same, and outputs a 0 when the inputs are
different.
Truth Tables
Input Combinations Output Values
Truth tables systematically Each row in a truth table
list all possible combinations shows the corresponding
of inputs for a logic gate. output for each input
combination.

Logical Function
They provide a visual representation of the logic gate's operation.

You might also like