Week No. 3
Day 1:
Logic Gates
Intro to logic gates:
Logic gates are the building blocks of digital circuits
They primarily function as switches that turn ON or OFF based on the inputs that are
received
Logic gates work with binary inputs (0's and 1's), these inputs represent ON and OFF
respectively
Types of logic gates:
NOT gate:
Takes a single input and outputs an opposite value
Truth Table:
Input: 0 -> Output: 1
Input: 1 -> Output: 0
AND gate:
Outputs ON (1) only if both inputs are ON
Truth Table:
Inputs: 0, 0 -> Outputs: 0
Inputs: 0, 1 -> Output: 0
Inputs: 1, 0 -> Output: 0
Inputs: 1, 1 -> Output: 1
Day 1:
Logic Gates
Intro to logic gates:
Logic gates are the building blocks of digital circuits
They primarily function as switches that turn ON or OFF based on the inputs that are
received
Logic gates work with binary inputs (0's and 1's), these inputs represent ON and OFF
respectively
Types of logic gates:
NOT gate:
Takes a single input and outputs an opposite value
Truth Table:
Input: 0 -> Output: 1
Input: 1 -> Output: 0
AND gate:
Outputs ON (1) only if both inputs are ON
Truth Table:
Inputs: 0, 0 -> Outputs: 0
Inputs: 0, 1 -> Output: 0
Inputs: 1, 0 -> Output: 0
Inputs: 1, 1 -> Output: 1