SlideShare ist ein Scribd-Unternehmen logo
1 von 14
SOLIDS AND SEMICONDUCTOR DEVICES - IV
1. Analog and Digital Signal
2. Binary Number System
3. Binary Equivalence of Decimal Numbers
4. Boolean Algebra
5. Logic Operations: OR, AND and NOT
6. Electrical Circuits for OR, AND and NOT Operations
7. Logic Gates and Truth Table
8. Fundamental Logic Gates: OR, AND and NOT (Digital Circuits)
9. NOR and NAND Gates
10.NOR Gate as a Building Block
11.NAND Gate as a Building Block
12.XOR Gate
Created by C. Mani, Principal, K V No.1, AFS, Jalahalli West, Bangalore
Analogue signal
A continuous signal value which
at any instant lies within the range
of a maximum and a minimum
value.
A discontinuous signal value
which appears in steps in pre-
determined levels rather than
having the continuous change.
Digital signal
V = V0 sin ωt
1 0 1 0 1 0 1 0 1
V
t
0
(5 V)
(0 V)
Digital Circuit:
An electrical or electronic circuit which operates only in two states (binary
mode) namely ON and OFF is called a Digital Circuit.
In digital system, high value of voltage such as +10 V or +5 V is
represented by ON state or 1 (state) whereas low value of voltage such as 0
V or -5V or -10 V is represented by OFF state or 0 (state).
(5 V)
(-5 V)
V
0
t
Binary Equivalence of Decimal Numbers:
Decimal number system has base (or radix) 10 because of 10 digits viz. 0, 1,
2, 3, 4, 5, 6, 7, 8 and 9 used in the system.
Binary number system has base (or radix) 2 because of 2 digits viz. 0 and 2
used in the system.
Binary Number System:
A number system which has only two digits i.e. 0 and 1 is known as
binary number system or binary system.
The states ON and OFF are represented by the digits 1 and 0 respectively
in the binary number system.
D 0 1 2 3 4 5 6 7 8 9
B 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001
D 10 11 12 13 14 15
B 1010 1011 1100 1101 1110 1111
Boolean Algebra:
George Boole developed an algebra called Boolean Algebra to solve logical
problems. In this, 3 logical operations viz. OR, AND and NOT are performed
on the variables.
The two values or states represent either ‘TRUE’ or ‘FALSE’; ‘ON’ or ‘OFF’;
‘HIGH’ or ‘LOW’; ‘CLOSED’ or ‘OPEN’; 1 or 0 respectively.
OR Operation:
OR operation is represented by ‘+’.
Its boolean expression is Y = A + B
It is read as “Y equals A
OR B”. It
means that “if A is true OR B is true, then Y will be true”.
A
B
E
●
●
●
●
Switch A Switch B Bulb Y
OFF OFF OFF
OFF ON ON
ON OFF ON
ON ON ON
Y
Truth Table
A B Switch A Switch B Bulb Y
OFF OFF OFF
OFF ON OFF
ON OFF OFF
ON ON ON
Y
Truth Table
AND Operation:
AND operation is represented by ‘.’
Its boolean expression is Y = A . B
It is read as “Y equals A AND B”.
It means that “if both A and B are true, then Y will be true”.
E
●
●
●
●
NOT Operation:
NOT operation is represented by ′ or ¯. Its boolean expression is Y = A′ or Ā
It is read as “Y equals NOT A”. It means that “if A is true, then Y will be false”.
A
Y
E
●
●●
Truth Table
Switch A Bulb Y
OFF ON
ON OFF
Logic Gates:
The digital circuit that can be analysed with
the help of Boolean Algebra is called logic
gate or logic circuit.
A logic gate can have two or more inputs
but only one output.
There are 3 fundamental logic gates namely
OR gate, AND gate and NOT gate.
Truth Table:
The operation of a logic gate or circuit can
be represented in a table which contains all
possible inputs and their corresponding
outputs is called a truth table.
If there are n inputs in any logic gate, then
there will be n2
possible input
combinations.
0 and 1 inputs are taken in the order of
ascending binary numbers for easy
understanding and analysis.
A B C D
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
Eg. for 4 input gate
Digital OR Gate:
D1
D2
RL
A
B
●
●
●●
Y
●
5 V
+
E
●
5 V
+
E
E
●
E
A B Y = A + B
0 0 0
0 1 1
1 0 1
1 1 1
Truth Table
●
●
●
A
B
Y
The positive voltage (+5 V)
corresponds to high input
i.e. 1 (state).
The negative terminal of
the battery is grounded and
corresponds to low input
i.e. 0 (state).
Case 1: Both A and B are
given 0 input and the diodes do
not conduct current. Hence no
output is across RL. i.e. Y = 0
Case 2: A is given 0 and B is given 1. Diode D1 does
not conduct current (cut-off) but D2 conducts. Hence
output (5 V) is available across RL. i.e. Y = 1
Case 3: A is given 1 and B is given 0. Diode D1
conducts current but D2 does not conduct. Hence
output (5 V) is available across RL. i.e. Y = 1
Case 4: A and B are given 1. Both the diodes
conduct current. However output (only 5 V) is
available across RL. i.e. Y = 1
Digital AND Gate:
RL
A
B
D1
●
D2
●
●●
Y
●
5 V
+
E 5 V
+
E
●
E
●
5 V
+
E
A B Y = A . B
0 0 0
0 1 0
1 0 0
1 1 1
Truth Table
●
●
●
A
B
Y
Case 1: Both A and B are given 0
input and the diodes conduct
current (Forward biased). Since
the current is drained to the earth,
hence, no output across RL. i.e.
Y = 0
Case 2: A is given 0 and B is
given 1. Diode D1 being forward
biased conducts current but D2
does not conduct. However, the
current from the output battery is
drained through D1. So, Y = 0
Case 3: A is given 1 and B is given 0. Diode D1 does
not conduct current but D2 being forward biased
conducts . However, the current from the output
battery is drained through D2. Hence, no output is
available across RL. i.e. Y = 0
Case 4: A and B are given 1. Both the diodes do not
conduct current. The current from the output battery
is available across RL and output circuit. Hence,
there is voltage drop (5 V) across RL. i.e. Y = 1
●
Rb
●
E
Digital NOT Gate:
●
5 V
+
E
●
Y
E
RL
●●
●
E
B
C
N
N
P
A
●
5 V
+
E
Truth Table
A Y=A′
0 1
1 0
● ●A
Y
NPN transistor is connected to biasing
batteries through Base resistor (Rb)
and Collector resistor (RL). Emitter is
directly earthed. Input is given
through the base and the output is
tapped across the collector.
Case 1: A is given 0 input. In the
absence of forward bias to the P-type
base and N-type emitter, the transistor
is in cut-off mode (does not conduct
current). Hence, the current from the
collector battery is available across the
output unit. Therefore, voltage drop of
5 V is available across Y. i.e. Y= 1
Case 2: A is given 1 input by connecting the +ve terminal of the
input battery. P-type base being forward biased makes the
transistor in conduction mode. The current supplied by the
collector battery is drained through the transistor to the earth.
Therefore, no output is available across Y. i.e. Y = 0
NOR Gate:
●
E
RL
●
●
Y
5 V
+
E
E
●
●●
●
E
B
C
N
N
P
Rb
D1
RLD2
A
B
●
●
●●
E
●
5 V
●
+
+
E
E
5 V
Truth Table
A B A + B Y = (A + B)′
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
●
●
● ●
A
B
A + B Y = (A + B)′
●
●
●
A
B
Y = (A + B)′
Symbol:
Circuit:
●
E
RL
●
●
Y
5 V
+
E
E
●●
●
E
B
C
N
N
P
RbD1
D2
RL
A
B
●
●
●●
●
5 V
+
E
5 V
+
E
●
5 V
+
E
NAND Gate:
Truth Table
A B A . B Y = (A . B)′
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
●
●
●A
B
● ●
A . B Y = (A . B)′
●
●
●
A
B
Y = (A . B)′
Symbol:
Circuit:
NOR Gate as a Building Block:
OR Gate:
AND Gate:
NOT Gate:
●
●
●
A
B (A + B)′
●
Y = A + B
●
●●
A′
A
●●
B′
B
Y = A . B
●
●
●
A′
B′
●●
Y = A′
A
A B (A + B)′ A + B
0 0 1 0
0 1 0 1
1 0 0 1
1 1 0 1
A B A′ B′ A′+B′ (A′+B′)′
0 0 1 1 1 0
0 1 1 0 1 0
1 0 0 1 1 0
1 1 0 0 0 1
A A′
0 1
1 0
NAND Gate as a Building Block:
●A ●
A′
●B ●
B′
Y = A + B
●
●
●
A′
B′
OR Gate:
AND Gate:
● ●
Y = A . B
●
●
●
A
B
(A . B)′
NOT Gate:
● ●
Y = A′
A
A B (A . B)′ A . B
0 0 1 0
0 1 1 0
1 0 1 0
1 1 0 1
A B A′ B′ A′.B′ (A′ . B′)′
0 0 1 1 1 0
0 1 1 0 0 1
1 0 0 1 0 1
1 1 0 0 0 1
A A′
0 1
1 0
XOR Gate:
●
●
●
●
●
●A
A′
B ●
B′
A
B
A′B
AB′
A B A′ B′ A′B AB′
Y = A′B + AB′
= A B
0 0 1 1 0 0 0
0 1 1 0 1 0 1
1 0 0 1 0 1 1
1 1 0 0 0 0 0
●
●
●
A
B
Y = A B
Y = A′B + AB′
= A B
End of S & SCD - IV

Weitere ähnliche Inhalte

Was ist angesagt?

Current Electricity Class 12 Part-2
Current Electricity Class 12 Part-2Current Electricity Class 12 Part-2
Current Electricity Class 12 Part-2Self-employed
 
9.3 - Electric Potential
9.3 - Electric Potential9.3 - Electric Potential
9.3 - Electric Potentialsimonandisa
 
Magnetic Effects Of Current Class 12 Part-2
Magnetic Effects Of Current Class 12 Part-2Magnetic Effects Of Current Class 12 Part-2
Magnetic Effects Of Current Class 12 Part-2Self-employed
 
Electrostatics Class 12- Part 4
Electrostatics Class 12- Part 4Electrostatics Class 12- Part 4
Electrostatics Class 12- Part 4Self-employed
 
Electrostatics Class 12- Part 1
Electrostatics Class 12- Part 1Electrostatics Class 12- Part 1
Electrostatics Class 12- Part 1Self-employed
 
Electrostatic potential and capacitance
Electrostatic potential and capacitanceElectrostatic potential and capacitance
Electrostatic potential and capacitanceEdigniteNGO
 
Electrostatics Class 12- Part 2
Electrostatics Class 12- Part 2Electrostatics Class 12- Part 2
Electrostatics Class 12- Part 2Self-employed
 
Magnetic Circuit & Energy Stored In Magnetic Field
Magnetic Circuit & Energy Stored In Magnetic FieldMagnetic Circuit & Energy Stored In Magnetic Field
Magnetic Circuit & Energy Stored In Magnetic Fieldjani parth
 
Class 12th Physics Electrostatics part 2
Class 12th Physics Electrostatics part 2Class 12th Physics Electrostatics part 2
Class 12th Physics Electrostatics part 2Arpit Meena
 
electric charge and electric field
electric charge and electric fieldelectric charge and electric field
electric charge and electric fieldcandice santiago
 
12 physics-notes-chapter-1-and-2
12 physics-notes-chapter-1-and-212 physics-notes-chapter-1-and-2
12 physics-notes-chapter-1-and-2N. SINGH
 
Current Electricity Class 12 Part-3
Current Electricity Class 12 Part-3Current Electricity Class 12 Part-3
Current Electricity Class 12 Part-3Self-employed
 
Electric potential, Electric Field and Potential due to dipole
Electric potential, Electric Field and Potential due to dipoleElectric potential, Electric Field and Potential due to dipole
Electric potential, Electric Field and Potential due to dipoleDr.SHANTHI K.G
 
ELECTROSTATIC POTENTIAL ENERGY
ELECTROSTATIC  POTENTIAL ENERGYELECTROSTATIC  POTENTIAL ENERGY
ELECTROSTATIC POTENTIAL ENERGYSheeba vinilan
 
Introduction to Electrostatics
Introduction to ElectrostaticsIntroduction to Electrostatics
Introduction to ElectrostaticsNatasia Gouws
 

Was ist angesagt? (20)

Current Electricity Class 12 Part-2
Current Electricity Class 12 Part-2Current Electricity Class 12 Part-2
Current Electricity Class 12 Part-2
 
9.3 - Electric Potential
9.3 - Electric Potential9.3 - Electric Potential
9.3 - Electric Potential
 
Magnetic Effects Of Current Class 12 Part-2
Magnetic Effects Of Current Class 12 Part-2Magnetic Effects Of Current Class 12 Part-2
Magnetic Effects Of Current Class 12 Part-2
 
Electrostatics Class 12- Part 4
Electrostatics Class 12- Part 4Electrostatics Class 12- Part 4
Electrostatics Class 12- Part 4
 
Electrostatics Class 12- Part 1
Electrostatics Class 12- Part 1Electrostatics Class 12- Part 1
Electrostatics Class 12- Part 1
 
Electrostatic potential and capacitance
Electrostatic potential and capacitanceElectrostatic potential and capacitance
Electrostatic potential and capacitance
 
Electric Field
Electric FieldElectric Field
Electric Field
 
Electrostatics Class 12- Part 2
Electrostatics Class 12- Part 2Electrostatics Class 12- Part 2
Electrostatics Class 12- Part 2
 
Magnetic Circuit & Energy Stored In Magnetic Field
Magnetic Circuit & Energy Stored In Magnetic FieldMagnetic Circuit & Energy Stored In Magnetic Field
Magnetic Circuit & Energy Stored In Magnetic Field
 
Class 12th Physics Electrostatics part 2
Class 12th Physics Electrostatics part 2Class 12th Physics Electrostatics part 2
Class 12th Physics Electrostatics part 2
 
electric charge and electric field
electric charge and electric fieldelectric charge and electric field
electric charge and electric field
 
Magnetism
MagnetismMagnetism
Magnetism
 
Electrostatics 2
Electrostatics 2Electrostatics 2
Electrostatics 2
 
12 physics-notes-chapter-1-and-2
12 physics-notes-chapter-1-and-212 physics-notes-chapter-1-and-2
12 physics-notes-chapter-1-and-2
 
SEMICONDUCTOR PHYSICS
SEMICONDUCTOR PHYSICSSEMICONDUCTOR PHYSICS
SEMICONDUCTOR PHYSICS
 
Current Electricity Class 12 Part-3
Current Electricity Class 12 Part-3Current Electricity Class 12 Part-3
Current Electricity Class 12 Part-3
 
Electric potential, Electric Field and Potential due to dipole
Electric potential, Electric Field and Potential due to dipoleElectric potential, Electric Field and Potential due to dipole
Electric potential, Electric Field and Potential due to dipole
 
ELECTROSTATIC POTENTIAL ENERGY
ELECTROSTATIC  POTENTIAL ENERGYELECTROSTATIC  POTENTIAL ENERGY
ELECTROSTATIC POTENTIAL ENERGY
 
Introduction to Electrostatics
Introduction to ElectrostaticsIntroduction to Electrostatics
Introduction to Electrostatics
 
Magnetic flux
Magnetic fluxMagnetic flux
Magnetic flux
 

Andere mochten auch

Wave Optics Class 12 Part-1
Wave Optics Class 12 Part-1Wave Optics Class 12 Part-1
Wave Optics Class 12 Part-1Self-employed
 
Ray Optics Class 12 Part-2
Ray Optics Class 12 Part-2Ray Optics Class 12 Part-2
Ray Optics Class 12 Part-2Self-employed
 
Nuclei And Atoms Class 12
Nuclei And Atoms Class 12Nuclei And Atoms Class 12
Nuclei And Atoms Class 12Self-employed
 
Wave Optics Class 12 Part-2
Wave Optics Class 12 Part-2Wave Optics Class 12 Part-2
Wave Optics Class 12 Part-2Self-employed
 
Photoelectric Effect And Dual Nature Of Matter And Radiation Class 12
Photoelectric Effect And Dual Nature Of Matter And Radiation Class 12Photoelectric Effect And Dual Nature Of Matter And Radiation Class 12
Photoelectric Effect And Dual Nature Of Matter And Radiation Class 12Self-employed
 
Communication - Laser Class 12 Part-7
Communication - Laser Class 12 Part-7Communication - Laser Class 12 Part-7
Communication - Laser Class 12 Part-7Self-employed
 
Communication - Space Communication Class 12 Part-5
Communication - Space Communication Class 12 Part-5Communication - Space Communication Class 12 Part-5
Communication - Space Communication Class 12 Part-5Self-employed
 
Communication - Amplitude Modulation Class 12 Part-1
Communication - Amplitude Modulation Class 12 Part-1Communication - Amplitude Modulation Class 12 Part-1
Communication - Amplitude Modulation Class 12 Part-1Self-employed
 
Ray Optics Class 12 Part-1
Ray Optics Class 12 Part-1Ray Optics Class 12 Part-1
Ray Optics Class 12 Part-1Self-employed
 
Current Electricity Class 12 Part-1
Current Electricity Class 12 Part-1Current Electricity Class 12 Part-1
Current Electricity Class 12 Part-1Self-employed
 
Ray Optics
Ray OpticsRay Optics
Ray OpticsKANNAN
 
Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Self-employed
 
Communication - Line Communication Class 12 Part-6
Communication - Line Communication Class 12 Part-6Communication - Line Communication Class 12 Part-6
Communication - Line Communication Class 12 Part-6Self-employed
 
Electromagnetic Induction Class 12
Electromagnetic Induction Class 12 Electromagnetic Induction Class 12
Electromagnetic Induction Class 12 Self-employed
 
Electromagnetic Waves Class 12
Electromagnetic Waves Class 12 Electromagnetic Waves Class 12
Electromagnetic Waves Class 12 Self-employed
 
Alternating Currents Class 12
Alternating Currents Class 12Alternating Currents Class 12
Alternating Currents Class 12Self-employed
 

Andere mochten auch (17)

Wave Optics Class 12 Part-1
Wave Optics Class 12 Part-1Wave Optics Class 12 Part-1
Wave Optics Class 12 Part-1
 
Ray Optics Class 12 Part-2
Ray Optics Class 12 Part-2Ray Optics Class 12 Part-2
Ray Optics Class 12 Part-2
 
Nuclei And Atoms Class 12
Nuclei And Atoms Class 12Nuclei And Atoms Class 12
Nuclei And Atoms Class 12
 
Wave Optics Class 12 Part-2
Wave Optics Class 12 Part-2Wave Optics Class 12 Part-2
Wave Optics Class 12 Part-2
 
Photoelectric Effect And Dual Nature Of Matter And Radiation Class 12
Photoelectric Effect And Dual Nature Of Matter And Radiation Class 12Photoelectric Effect And Dual Nature Of Matter And Radiation Class 12
Photoelectric Effect And Dual Nature Of Matter And Radiation Class 12
 
Communication - Laser Class 12 Part-7
Communication - Laser Class 12 Part-7Communication - Laser Class 12 Part-7
Communication - Laser Class 12 Part-7
 
Communication - Space Communication Class 12 Part-5
Communication - Space Communication Class 12 Part-5Communication - Space Communication Class 12 Part-5
Communication - Space Communication Class 12 Part-5
 
Communication - Amplitude Modulation Class 12 Part-1
Communication - Amplitude Modulation Class 12 Part-1Communication - Amplitude Modulation Class 12 Part-1
Communication - Amplitude Modulation Class 12 Part-1
 
Ray Optics Class 12 Part-1
Ray Optics Class 12 Part-1Ray Optics Class 12 Part-1
Ray Optics Class 12 Part-1
 
Current Electricity Class 12 Part-1
Current Electricity Class 12 Part-1Current Electricity Class 12 Part-1
Current Electricity Class 12 Part-1
 
Ray Optics
Ray OpticsRay Optics
Ray Optics
 
Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12
 
Communication - Line Communication Class 12 Part-6
Communication - Line Communication Class 12 Part-6Communication - Line Communication Class 12 Part-6
Communication - Line Communication Class 12 Part-6
 
Semiconductors
SemiconductorsSemiconductors
Semiconductors
 
Electromagnetic Induction Class 12
Electromagnetic Induction Class 12 Electromagnetic Induction Class 12
Electromagnetic Induction Class 12
 
Electromagnetic Waves Class 12
Electromagnetic Waves Class 12 Electromagnetic Waves Class 12
Electromagnetic Waves Class 12
 
Alternating Currents Class 12
Alternating Currents Class 12Alternating Currents Class 12
Alternating Currents Class 12
 

Ähnlich wie Binary, Logic Gates, Truth Tables

Physics investigatgory project on logic gates class 12
Physics  investigatgory project on logic gates class 12Physics  investigatgory project on logic gates class 12
Physics investigatgory project on logic gates class 12appietech
 
Report on-the-logic-gates
Report on-the-logic-gatesReport on-the-logic-gates
Report on-the-logic-gatesbhardubhai
 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdfDamotTesfaye
 
physics investigatory on logic gates
physics investigatory on logic gatesphysics investigatory on logic gates
physics investigatory on logic gatesMoviesBuzz1
 
Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory projectAbhinav Kumar
 
physics investigatory project class 12 on logic gates ,boolean algebra
physics investigatory project class 12 on logic gates ,boolean algebraphysics investigatory project class 12 on logic gates ,boolean algebra
physics investigatory project class 12 on logic gates ,boolean algebrasukhtej
 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in shortRojin Khadka
 
296779866 c-b-s-e-class-12-physics-project-on-logic-gates
296779866 c-b-s-e-class-12-physics-project-on-logic-gates296779866 c-b-s-e-class-12-physics-project-on-logic-gates
296779866 c-b-s-e-class-12-physics-project-on-logic-gatesAnuragSharma530
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebraSARITHA REDDY
 
Physics project on logic gate
Physics project on logic gatePhysics project on logic gate
Physics project on logic gateVirat Prasad
 
Physics logic gates1
Physics logic gates1Physics logic gates1
Physics logic gates1Kirthi Kirthu
 
verification of logic gates cbse class 12
verification of logic gates cbse class 12verification of logic gates cbse class 12
verification of logic gates cbse class 12Kirthi Kirthu
 
PHYSICS PRACTICAL PROJECT (1).pdf
PHYSICS PRACTICAL PROJECT (1).pdfPHYSICS PRACTICAL PROJECT (1).pdf
PHYSICS PRACTICAL PROJECT (1).pdfOmChaubey7
 

Ähnlich wie Binary, Logic Gates, Truth Tables (20)

Physics investigatgory project on logic gates class 12
Physics  investigatgory project on logic gates class 12Physics  investigatgory project on logic gates class 12
Physics investigatgory project on logic gates class 12
 
Report on-the-logic-gates
Report on-the-logic-gatesReport on-the-logic-gates
Report on-the-logic-gates
 
Digital logic
Digital logicDigital logic
Digital logic
 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf
 
physics investigatory on logic gates
physics investigatory on logic gatesphysics investigatory on logic gates
physics investigatory on logic gates
 
Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory project
 
physics investigatory project class 12 on logic gates ,boolean algebra
physics investigatory project class 12 on logic gates ,boolean algebraphysics investigatory project class 12 on logic gates ,boolean algebra
physics investigatory project class 12 on logic gates ,boolean algebra
 
Physic investigatory
Physic investigatoryPhysic investigatory
Physic investigatory
 
Logic gates
 Logic gates Logic gates
Logic gates
 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in short
 
296779866 c-b-s-e-class-12-physics-project-on-logic-gates
296779866 c-b-s-e-class-12-physics-project-on-logic-gates296779866 c-b-s-e-class-12-physics-project-on-logic-gates
296779866 c-b-s-e-class-12-physics-project-on-logic-gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
Physics project on logic gate
Physics project on logic gatePhysics project on logic gate
Physics project on logic gate
 
Physics logic gates1
Physics logic gates1Physics logic gates1
Physics logic gates1
 
verification of logic gates cbse class 12
verification of logic gates cbse class 12verification of logic gates cbse class 12
verification of logic gates cbse class 12
 
Class 12th Logic Gates
Class 12th Logic GatesClass 12th Logic Gates
Class 12th Logic Gates
 
Logic gates (1)
Logic gates (1)Logic gates (1)
Logic gates (1)
 
Logic Gates (1).ppt
Logic Gates (1).pptLogic Gates (1).ppt
Logic Gates (1).ppt
 
PHYSICS PRACTICAL PROJECT (1).pdf
PHYSICS PRACTICAL PROJECT (1).pdfPHYSICS PRACTICAL PROJECT (1).pdf
PHYSICS PRACTICAL PROJECT (1).pdf
 

Kürzlich hochgeladen

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Kürzlich hochgeladen (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

Binary, Logic Gates, Truth Tables

  • 1. SOLIDS AND SEMICONDUCTOR DEVICES - IV 1. Analog and Digital Signal 2. Binary Number System 3. Binary Equivalence of Decimal Numbers 4. Boolean Algebra 5. Logic Operations: OR, AND and NOT 6. Electrical Circuits for OR, AND and NOT Operations 7. Logic Gates and Truth Table 8. Fundamental Logic Gates: OR, AND and NOT (Digital Circuits) 9. NOR and NAND Gates 10.NOR Gate as a Building Block 11.NAND Gate as a Building Block 12.XOR Gate Created by C. Mani, Principal, K V No.1, AFS, Jalahalli West, Bangalore
  • 2. Analogue signal A continuous signal value which at any instant lies within the range of a maximum and a minimum value. A discontinuous signal value which appears in steps in pre- determined levels rather than having the continuous change. Digital signal V = V0 sin ωt 1 0 1 0 1 0 1 0 1 V t 0 (5 V) (0 V) Digital Circuit: An electrical or electronic circuit which operates only in two states (binary mode) namely ON and OFF is called a Digital Circuit. In digital system, high value of voltage such as +10 V or +5 V is represented by ON state or 1 (state) whereas low value of voltage such as 0 V or -5V or -10 V is represented by OFF state or 0 (state). (5 V) (-5 V) V 0 t
  • 3. Binary Equivalence of Decimal Numbers: Decimal number system has base (or radix) 10 because of 10 digits viz. 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9 used in the system. Binary number system has base (or radix) 2 because of 2 digits viz. 0 and 2 used in the system. Binary Number System: A number system which has only two digits i.e. 0 and 1 is known as binary number system or binary system. The states ON and OFF are represented by the digits 1 and 0 respectively in the binary number system. D 0 1 2 3 4 5 6 7 8 9 B 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 D 10 11 12 13 14 15 B 1010 1011 1100 1101 1110 1111
  • 4. Boolean Algebra: George Boole developed an algebra called Boolean Algebra to solve logical problems. In this, 3 logical operations viz. OR, AND and NOT are performed on the variables. The two values or states represent either ‘TRUE’ or ‘FALSE’; ‘ON’ or ‘OFF’; ‘HIGH’ or ‘LOW’; ‘CLOSED’ or ‘OPEN’; 1 or 0 respectively. OR Operation: OR operation is represented by ‘+’. Its boolean expression is Y = A + B It is read as “Y equals A OR B”. It means that “if A is true OR B is true, then Y will be true”. A B E ● ● ● ● Switch A Switch B Bulb Y OFF OFF OFF OFF ON ON ON OFF ON ON ON ON Y Truth Table
  • 5. A B Switch A Switch B Bulb Y OFF OFF OFF OFF ON OFF ON OFF OFF ON ON ON Y Truth Table AND Operation: AND operation is represented by ‘.’ Its boolean expression is Y = A . B It is read as “Y equals A AND B”. It means that “if both A and B are true, then Y will be true”. E ● ● ● ● NOT Operation: NOT operation is represented by ′ or ¯. Its boolean expression is Y = A′ or Ā It is read as “Y equals NOT A”. It means that “if A is true, then Y will be false”. A Y E ● ●● Truth Table Switch A Bulb Y OFF ON ON OFF
  • 6. Logic Gates: The digital circuit that can be analysed with the help of Boolean Algebra is called logic gate or logic circuit. A logic gate can have two or more inputs but only one output. There are 3 fundamental logic gates namely OR gate, AND gate and NOT gate. Truth Table: The operation of a logic gate or circuit can be represented in a table which contains all possible inputs and their corresponding outputs is called a truth table. If there are n inputs in any logic gate, then there will be n2 possible input combinations. 0 and 1 inputs are taken in the order of ascending binary numbers for easy understanding and analysis. A B C D 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 Eg. for 4 input gate
  • 7. Digital OR Gate: D1 D2 RL A B ● ● ●● Y ● 5 V + E ● 5 V + E E ● E A B Y = A + B 0 0 0 0 1 1 1 0 1 1 1 1 Truth Table ● ● ● A B Y The positive voltage (+5 V) corresponds to high input i.e. 1 (state). The negative terminal of the battery is grounded and corresponds to low input i.e. 0 (state). Case 1: Both A and B are given 0 input and the diodes do not conduct current. Hence no output is across RL. i.e. Y = 0 Case 2: A is given 0 and B is given 1. Diode D1 does not conduct current (cut-off) but D2 conducts. Hence output (5 V) is available across RL. i.e. Y = 1 Case 3: A is given 1 and B is given 0. Diode D1 conducts current but D2 does not conduct. Hence output (5 V) is available across RL. i.e. Y = 1 Case 4: A and B are given 1. Both the diodes conduct current. However output (only 5 V) is available across RL. i.e. Y = 1
  • 8. Digital AND Gate: RL A B D1 ● D2 ● ●● Y ● 5 V + E 5 V + E ● E ● 5 V + E A B Y = A . B 0 0 0 0 1 0 1 0 0 1 1 1 Truth Table ● ● ● A B Y Case 1: Both A and B are given 0 input and the diodes conduct current (Forward biased). Since the current is drained to the earth, hence, no output across RL. i.e. Y = 0 Case 2: A is given 0 and B is given 1. Diode D1 being forward biased conducts current but D2 does not conduct. However, the current from the output battery is drained through D1. So, Y = 0 Case 3: A is given 1 and B is given 0. Diode D1 does not conduct current but D2 being forward biased conducts . However, the current from the output battery is drained through D2. Hence, no output is available across RL. i.e. Y = 0 Case 4: A and B are given 1. Both the diodes do not conduct current. The current from the output battery is available across RL and output circuit. Hence, there is voltage drop (5 V) across RL. i.e. Y = 1
  • 9. ● Rb ● E Digital NOT Gate: ● 5 V + E ● Y E RL ●● ● E B C N N P A ● 5 V + E Truth Table A Y=A′ 0 1 1 0 ● ●A Y NPN transistor is connected to biasing batteries through Base resistor (Rb) and Collector resistor (RL). Emitter is directly earthed. Input is given through the base and the output is tapped across the collector. Case 1: A is given 0 input. In the absence of forward bias to the P-type base and N-type emitter, the transistor is in cut-off mode (does not conduct current). Hence, the current from the collector battery is available across the output unit. Therefore, voltage drop of 5 V is available across Y. i.e. Y= 1 Case 2: A is given 1 input by connecting the +ve terminal of the input battery. P-type base being forward biased makes the transistor in conduction mode. The current supplied by the collector battery is drained through the transistor to the earth. Therefore, no output is available across Y. i.e. Y = 0
  • 10. NOR Gate: ● E RL ● ● Y 5 V + E E ● ●● ● E B C N N P Rb D1 RLD2 A B ● ● ●● E ● 5 V ● + + E E 5 V Truth Table A B A + B Y = (A + B)′ 0 0 0 1 0 1 1 0 1 0 1 0 1 1 1 0 ● ● ● ● A B A + B Y = (A + B)′ ● ● ● A B Y = (A + B)′ Symbol: Circuit:
  • 11. ● E RL ● ● Y 5 V + E E ●● ● E B C N N P RbD1 D2 RL A B ● ● ●● ● 5 V + E 5 V + E ● 5 V + E NAND Gate: Truth Table A B A . B Y = (A . B)′ 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 ● ● ●A B ● ● A . B Y = (A . B)′ ● ● ● A B Y = (A . B)′ Symbol: Circuit:
  • 12. NOR Gate as a Building Block: OR Gate: AND Gate: NOT Gate: ● ● ● A B (A + B)′ ● Y = A + B ● ●● A′ A ●● B′ B Y = A . B ● ● ● A′ B′ ●● Y = A′ A A B (A + B)′ A + B 0 0 1 0 0 1 0 1 1 0 0 1 1 1 0 1 A B A′ B′ A′+B′ (A′+B′)′ 0 0 1 1 1 0 0 1 1 0 1 0 1 0 0 1 1 0 1 1 0 0 0 1 A A′ 0 1 1 0
  • 13. NAND Gate as a Building Block: ●A ● A′ ●B ● B′ Y = A + B ● ● ● A′ B′ OR Gate: AND Gate: ● ● Y = A . B ● ● ● A B (A . B)′ NOT Gate: ● ● Y = A′ A A B (A . B)′ A . B 0 0 1 0 0 1 1 0 1 0 1 0 1 1 0 1 A B A′ B′ A′.B′ (A′ . B′)′ 0 0 1 1 1 0 0 1 1 0 0 1 1 0 0 1 0 1 1 1 0 0 0 1 A A′ 0 1 1 0
  • 14. XOR Gate: ● ● ● ● ● ●A A′ B ● B′ A B A′B AB′ A B A′ B′ A′B AB′ Y = A′B + AB′ = A B 0 0 1 1 0 0 0 0 1 1 0 1 0 1 1 0 0 1 0 1 1 1 1 0 0 0 0 0 ● ● ● A B Y = A B Y = A′B + AB′ = A B End of S & SCD - IV