SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Logic Gates
&
Number System
AND Gate
• An AND gate is a digital circuit that has two or more inputs and
produces an output, which is the logical AND of all those inputs.
• It is optional to represent the Logical AND with the symbol ‘.’
• The following table shows the truth table of 2-input AND gate.
A B Y = A.B
0 0 0
0 1 0
1 0 0
1 1 1
AND Gate
• A, B are the inputs and Y is the output of two input AND gate. If both
inputs are ‘1’, then only the output, Y is ‘1’. For remaining combinations of
inputs, the output, Y is ‘0’.
• The following figure shows the symbol of an AND gate, which is having
two inputs A, B and one output, Y. This AND gate produces an output Y,
which is the logical AND of two inputs A, B. Similarly, if there are ‘n’
inputs, then the AND gate produces an output, which is the logical AND of
all those inputs. That means, the output of AND gate will be ‘1’, when all
the inputs are ‘1’
OR gate
• An OR gate is a digital circuit that has two or more inputs and
produces an output, which is the logical OR of all those inputs.
This logical OR is represented with the symbol ‘+’.
A B Y = A + B
0 0 0
0 1 1
1 0 1
1 1 1
• A, B are the inputs and Y is the output of two input OR gate.
• If both inputs are ‘0’, then only the output, Y is ‘0’. For remaining
combinations of inputs, the output, Y is ‘1’.
• This OR gate produces an output Y, which is the logical OR of two
inputs A, B. Similarly, if there are ‘n’ inputs, then the OR gate
produces an output, which is the logical OR of all those inputs.
• That means, the output of an OR gate will be ‘1’, when at least one of
those inputs is ‘1’.
NOT gate
• A NOT gate is a digital circuit that has single input and
single output. The output of NOT gate is the logical
inversion of input. Hence, the NOT gate is also called
as inverter.
A Y = A’
0 1
1 0
Universal gates
• NAND & NOR gates are called as universal gates. Because we
can implement any Boolean function, which is in sum of
products form by using NAND gates alone.
• Similarly, we can implement any Boolean function, which is
in product of sums form by using NOR gates alone
• NAND gate is a digital circuit that has two or more inputs and
produces an output, which is the inversion of logical AND of
all those inputs.
• The following table shows the truth table of 2-input NAND
gate
NAND GATE A B Y = (A.B)’
0 0 1
0 1 1
1 0 1
1 1 0
• Here A, B are the inputs and Y is the output of two input
NAND gate.
• When both inputs are ‘1’, the output, Y is ‘0’.
• If at least one of the input is zero, then the output, Y is ‘1’.
This is just opposite to that of two input AND gate operation.
• The image shows the symbol of NAND gate, which is having
two inputs A, B and one output, Y.
NOR gate
• NOR gate is a digital circuit that has two or more
inputs and produces an output, which is the inversion
of logical OR of all those inputs.
A B Y = (A+B)’
0 0 1
0 1 0
1 0 0
1 1 0
Special Gates
• Ex-OR & Ex-NOR gates are called as special gates. Because, these two
gates are special cases of OR & NOR gates.
• Ex-OR gate
• The full form of Ex-OR gate is Exclusive-OR gate. Its function is same
as that of OR gate except for some cases, when the inputs having
even number of ones.
• The following table shows the truth table of 2-input Ex-OR gate.
Ex-OR gate
A B Y = A⊕B
0 0 0
0 1 1
1 0 1
1 1 0
• Here A, B are the inputs and Y is the output of two input Ex-OR gate. The truth
table of Ex-OR gate is same as that of OR gate for first three rows. The only
modification is in the fourth row.
• That means, the output Y is zero instead of one, when both the inputs are one,
since the inputs having even number of ones. Therefore, the output of Ex-OR
gate is ‘1’, when only one of the two inputs is ‘1’. And it is zero, when both
inputs are same.
EX-NOR gate
Truth Table
2-
input
Ex-
NOR
Gate
B A Q
0 0 1
0 1 0
1 0 0
1 1 1
Boolean Expression Q = (A ⊕ B)’
Logic gates using NAND gates
Logic gates using NOR gate
Number System
• When we type some letters or words, the computer translates
them in numbers as computers can understand only numbers.
• A computer can understand the positional number system
where there are only a few symbols called digits and these
symbols represent different values depending on the position
they occupy in the number.
• The value of each digit in a number can be determined using −
• The digit
• The position of the digit in the number
• The base of the number system (where the base is defined as the total
number of digits available in the number system)
Decimal Number System
• The number system that we use in our day-to-day life is the
decimal number system.
• Decimal number system has base 10 as it uses 10 digits from 0
to 9. In decimal number system, the successive positions to the
left of the decimal point represent units, tens, hundreds,
thousands, and so on.
Each position represents a specific power of the base (10). For
example, the decimal number 1234 consists of the digit 4 in the
unit's position, 3 in the tens position, 2 in the hundreds position, and
1 in the thousands position. Its value can be written as
Logic gates and Digital system.pptx
Logic gates and Digital system.pptx
Logic gates and Digital system.pptx
Logic gates and Digital system.pptx
Logic gates and Digital system.pptx
Logic gates and Digital system.pptx
Logic gates and Digital system.pptx

Weitere ähnliche Inhalte

Ähnlich wie Logic gates and Digital system.pptx

Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer ScienceAnil Kumar Prajapati
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesDhwanil Champaneria
 
perform operation with boolean algebra
perform operation with boolean algebraperform operation with boolean algebra
perform operation with boolean algebraBrenda Debra
 
Computer logic and gates
Computer logic and gatesComputer logic and gates
Computer logic and gatessamina khan
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxChristianVelchez2
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsVanitha Chandru
 
Logic Gate.pptx
Logic Gate.pptxLogic Gate.pptx
Logic Gate.pptxHrRajon2
 
Basic Gates in Digital Logic
Basic Gates in Digital LogicBasic Gates in Digital Logic
Basic Gates in Digital LogicISMT College
 
11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptx11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptxElisée Ndjabu
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxWilliamJosephat1
 
UNIVERSAL PROPERTY.pptx
UNIVERSAL PROPERTY.pptxUNIVERSAL PROPERTY.pptx
UNIVERSAL PROPERTY.pptxGaganaP13
 
Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfKINGZzofYouTube
 
Logic Gates & Related Device
Logic Gates & Related DeviceLogic Gates & Related Device
Logic Gates & Related DeviceMd. Nahidul Islam
 

Ähnlich wie Logic gates and Digital system.pptx (20)

Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer Science
 
Electronics: Logic Gates
Electronics: Logic GatesElectronics: Logic Gates
Electronics: Logic Gates
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gates
 
perform operation with boolean algebra
perform operation with boolean algebraperform operation with boolean algebra
perform operation with boolean algebra
 
Computer logic and gates
Computer logic and gatesComputer logic and gates
Computer logic and gates
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptx
 
BASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdfBASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdf
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
 
Logic Gate.pptx
Logic Gate.pptxLogic Gate.pptx
Logic Gate.pptx
 
Basic Gates in Digital Logic
Basic Gates in Digital LogicBasic Gates in Digital Logic
Basic Gates in Digital Logic
 
11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptx11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptx
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
 
UNIVERSAL PROPERTY.pptx
UNIVERSAL PROPERTY.pptxUNIVERSAL PROPERTY.pptx
UNIVERSAL PROPERTY.pptx
 
INTRODUCTION OF LOGIC GATES
INTRODUCTION OF LOGIC GATESINTRODUCTION OF LOGIC GATES
INTRODUCTION OF LOGIC GATES
 
Logical Gates
Logical GatesLogical Gates
Logical Gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdf
 
DOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptxDOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptx
 
Logic Gates & Related Device
Logic Gates & Related DeviceLogic Gates & Related Device
Logic Gates & Related Device
 
Logic gate
Logic gateLogic gate
Logic gate
 

Kürzlich hochgeladen

Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 

Kürzlich hochgeladen (20)

Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 

Logic gates and Digital system.pptx

  • 2. AND Gate • An AND gate is a digital circuit that has two or more inputs and produces an output, which is the logical AND of all those inputs. • It is optional to represent the Logical AND with the symbol ‘.’ • The following table shows the truth table of 2-input AND gate. A B Y = A.B 0 0 0 0 1 0 1 0 0 1 1 1
  • 3. AND Gate • A, B are the inputs and Y is the output of two input AND gate. If both inputs are ‘1’, then only the output, Y is ‘1’. For remaining combinations of inputs, the output, Y is ‘0’. • The following figure shows the symbol of an AND gate, which is having two inputs A, B and one output, Y. This AND gate produces an output Y, which is the logical AND of two inputs A, B. Similarly, if there are ‘n’ inputs, then the AND gate produces an output, which is the logical AND of all those inputs. That means, the output of AND gate will be ‘1’, when all the inputs are ‘1’
  • 4. OR gate • An OR gate is a digital circuit that has two or more inputs and produces an output, which is the logical OR of all those inputs. This logical OR is represented with the symbol ‘+’. A B Y = A + B 0 0 0 0 1 1 1 0 1 1 1 1
  • 5. • A, B are the inputs and Y is the output of two input OR gate. • If both inputs are ‘0’, then only the output, Y is ‘0’. For remaining combinations of inputs, the output, Y is ‘1’. • This OR gate produces an output Y, which is the logical OR of two inputs A, B. Similarly, if there are ‘n’ inputs, then the OR gate produces an output, which is the logical OR of all those inputs. • That means, the output of an OR gate will be ‘1’, when at least one of those inputs is ‘1’.
  • 6. NOT gate • A NOT gate is a digital circuit that has single input and single output. The output of NOT gate is the logical inversion of input. Hence, the NOT gate is also called as inverter. A Y = A’ 0 1 1 0
  • 7. Universal gates • NAND & NOR gates are called as universal gates. Because we can implement any Boolean function, which is in sum of products form by using NAND gates alone. • Similarly, we can implement any Boolean function, which is in product of sums form by using NOR gates alone • NAND gate is a digital circuit that has two or more inputs and produces an output, which is the inversion of logical AND of all those inputs. • The following table shows the truth table of 2-input NAND gate
  • 8. NAND GATE A B Y = (A.B)’ 0 0 1 0 1 1 1 0 1 1 1 0 • Here A, B are the inputs and Y is the output of two input NAND gate. • When both inputs are ‘1’, the output, Y is ‘0’. • If at least one of the input is zero, then the output, Y is ‘1’. This is just opposite to that of two input AND gate operation. • The image shows the symbol of NAND gate, which is having two inputs A, B and one output, Y.
  • 9. NOR gate • NOR gate is a digital circuit that has two or more inputs and produces an output, which is the inversion of logical OR of all those inputs. A B Y = (A+B)’ 0 0 1 0 1 0 1 0 0 1 1 0
  • 10. Special Gates • Ex-OR & Ex-NOR gates are called as special gates. Because, these two gates are special cases of OR & NOR gates. • Ex-OR gate • The full form of Ex-OR gate is Exclusive-OR gate. Its function is same as that of OR gate except for some cases, when the inputs having even number of ones. • The following table shows the truth table of 2-input Ex-OR gate.
  • 11. Ex-OR gate A B Y = A⊕B 0 0 0 0 1 1 1 0 1 1 1 0 • Here A, B are the inputs and Y is the output of two input Ex-OR gate. The truth table of Ex-OR gate is same as that of OR gate for first three rows. The only modification is in the fourth row. • That means, the output Y is zero instead of one, when both the inputs are one, since the inputs having even number of ones. Therefore, the output of Ex-OR gate is ‘1’, when only one of the two inputs is ‘1’. And it is zero, when both inputs are same.
  • 12. EX-NOR gate Truth Table 2- input Ex- NOR Gate B A Q 0 0 1 0 1 0 1 0 0 1 1 1 Boolean Expression Q = (A ⊕ B)’
  • 13. Logic gates using NAND gates
  • 14. Logic gates using NOR gate
  • 15. Number System • When we type some letters or words, the computer translates them in numbers as computers can understand only numbers. • A computer can understand the positional number system where there are only a few symbols called digits and these symbols represent different values depending on the position they occupy in the number. • The value of each digit in a number can be determined using − • The digit • The position of the digit in the number • The base of the number system (where the base is defined as the total number of digits available in the number system)
  • 16. Decimal Number System • The number system that we use in our day-to-day life is the decimal number system. • Decimal number system has base 10 as it uses 10 digits from 0 to 9. In decimal number system, the successive positions to the left of the decimal point represent units, tens, hundreds, thousands, and so on.
  • 17. Each position represents a specific power of the base (10). For example, the decimal number 1234 consists of the digit 4 in the unit's position, 3 in the tens position, 2 in the hundreds position, and 1 in the thousands position. Its value can be written as