SlideShare a Scribd company logo
1 of 16
Download to read offline
Cloud IT Solution Page 424
Logic gate
Logic gates are the basic building blocks of any digital system. It is an electronic circuit
having one or more than one input and only one output.
Types
 AND Gate
 OR Gate
 NOT Gate
 NAND Gate
 NOR Gate
 XOR Gate
AND Gate
A circuit which performs an AND operation is shown in figure. It has n input (n >= 2) and
one output.
 Logic diagram
Truth Table
Digital Logic Circuit
Cloud IT Solution Page 425
OR Gate
A circuit which performs an OR operation is shown in figure. It has n input (n >= 2) and one
output.
Logic diagram
Truth Table
NOT Gate
NOT gate is also known as Inverter. It has one input A and one output Y.
 Logic diagram
Cloud IT Solution Page 426
Truth Table
NAND Gate
A NOT-AND operation is known as NAND operation. It has n input (n >= 2) and one output.
Logic diagram
Truth Table
NOR Gate
A NOT-OR operation is known as NOR operation. It has n input (n >= 2) and one output.
Cloud IT Solution Page 427
Logic diagram
Truth Table
XOR Gate
XOR or Ex-OR gate is a special type of gate. It can be used in the half adder, full adder and
subtractor. The exclusive-OR gate is abbreviated as EX-OR gate or sometime as X-OR gate.
It has n input (n >= 2) and one output.
Logic diagram
Truth Table
Cloud IT Solution Page 428
XNOR Gate
XNOR gate is a special type of gate. It can be used in the half adder, full adder and subtractor.
The exclusive-NOR gate is abbreviated as EX-NOR gate or sometime as X-NOR gate. It has
n input (n >= 2) and one output
Logic diagram
Truth Table
NAND and NOR Universal Gate
 NAND and NOR are called universal gates because all the other gates like
and,or,not,xor and xnor can be derived from it.
 Any basic gate can be implemented using NAND and NOR.
Cloud IT Solution Page 429
De Morgan's Theorems
 De Morgan has suggested two theorems which are extremely useful in
Boolean Algebra.
Theorem 1
 The left hand side (LHS) of this theorem represents a NAND gate with inputs A and
B, whereas the right hand side (RHS) of the theorem represents an OR gate with
inverted inputs.
Cloud IT Solution Page 430
This OR gate is called as Bubbled OR.
Table showing verification of the De Morgan's first theorem –
Theorem 2
The LHS of this theorem represents a NOR gate with inputs A and B, whereas the RHS
represents an AND gate with inverted inputs.
Cloud IT Solution Page 431
his AND gate is called as Bubbled AND.
Table showing verification of the De Morgan's second theorem –
Half Adder
Half adder is a combinational logic circuit with two inputs and two outputs. The half adder
circuit is designed to add two single bit binary number A and B. It is the basic building block
for addition of two single bit numbers. This circuit has two outputs carry and sum.
Cloud IT Solution Page 432
Truth Table
Circuit Diagram
Full Adder
Full adder is developed to overcome the drawback of Half Adder circuit. It can add two one-
bit numbers A and B, and carry c. The full adder is a three input and two output
combinational circuit.
Truth Table
Cloud IT Solution Page 433
Circuit Diagram
Full adder using two half adder
K-map
Karnaugh introduced a method for simplification of Boolean functions in an easy way. This
method is known as Karnaugh map method or K-map method. It is a graphical method, which
consists of 2n cells for ‘n’ variables.
Variable K-Map
Cloud IT Solution Page 434
Variable K-Map
Variable K-Map
Example
Let us simplify the following Boolean function, f(W, X, Y, Z)= WX’Y’ + WY + W’YZ’
using K-map.
Cloud IT Solution Page 435
Simplified Boolean function is: f= WX’ + WY + YZ’
Example
Let us simplify the following Boolean function, f(X,Y,Z)=∏M(0,1,2,4) using K-map.
Simplified Boolean function is: f=(X+Y).(Y+Z).(Z+X)
Cloud IT Solution Page 436
Latch
There are two types of memory elements based on the type of triggering that is suitable to
operate it.
1. Latches
2. Flip-flops
 Latches operate with enable signal, which is level sensitive. Whereas, flip-flops
are edge sensitive. We will discuss about flip-flops in next chapter. Now, let us
discuss about SR Latch & D Latch one by one.
 SR latch example
Flip-flops
 A flip-flop or latch is a circuit that has two stable states and can be used to store state
information. A flip-flop is a bistable multivibrator. The circuit can be made to change
state by signals applied to one or more control inputs and will have one or two
outputs. It is the basic storage element in sequential logic. Flip-flops and latches are
fundamental building blocks of digital electronics systems used in computers,
communications, and many other types of systems
 There are mainly four types of flip flops that are used in electronic circuits. They are
1. The basic Flip Flop or S-R Flip Flop
2. Delay Flip Flop [D Flip Flop]
3. J-K Flip Flop
4. T Flip Flop
S-R Flip Flop
 The SET-RESET flip flop is not designed with the help of two NOR gates and also
two NAND gates. These flip flops are also called S-R Latch.
Cloud IT Solution Page 437
S-R Flip Flop using NOR Gate
S-R Flip Flop using NAND Gate
Cloud IT Solution Page 438
J-K Flip Flop
Difference between CISC and RISC
CISC RISC
It is prominent on Hardware It is prominent on the software
It has high cycles per second It has low cycles per second
It has transistors used for storing Instructions
which are complex
More transistors are used for storing memory
LOAD and STORE memory to memory is
induced in instructions
LOAD and STORE register to register are
independent
It has multi-clock It has single-clock
Cloud IT Solution Page 439
1. The output of an AND gate with three inputs, A, B, and C, is HIGH when ________.
A) A = 1, B = 1, C = 0 B)A = 0, B = 0, C = 0 C)A = 1, B = 1, C = 1 D)A = 1, B = 0, C = 1
2. If a 3-input NOR gate has eight input possibilities, how many of those possibilities will
result in a HIGH output?
A. 1 B. 2 C. 7 D. 8
3. If a signal passing through a gate is inhibited by sending a LOW into one of the inputs,
and the output is HIGH, the gate is a(n):
A. AND B. NAND C. NOR D. OR
4. A device used to display one or more digital signals so that they can be compared to
expected timing diagrams for the signals is a:
A. DMM B. spectrum analyzer C. logic analyzer D. frequency counter
5. When used with an IC, what does the term QUAD indicate?
A. 2 circuits B. 4 circuits C. 6 circuits D. 8 circuits
6. The output of an OR gate with three inputs, A, B, and C, is LOW when ________.
A) A = 0, B = 0, C = 0 B) A = 0, B = 0, C = 1 C) A = 0, B = 1, C = 1 D) all of the above
7. Which of the following logical operations is represented by the + sign in Boolean algebra?
A. inversion B. AND C. OR D. complementation
8. Output will be a LOW for any case when one or more inputs are zero for a(n):
A. OR gate B. NOT gate C. AND gate D. NOR gate
9. How many pins does the 4049 IC have?
A. 14 B. 16 C. 18 D. 20
10. Which of the following choices meets the minimum requirement needed to create
specialized waveforms that are used in digital control and sequencing circuits?
A. basic gates, a clock oscillator, and a repetitive waveform generator
B. basic gates, a clock oscillator, and a Johnson shift counter
C. basic gates, a clock oscillator, and a DeMorgan pulse generator
D. basic gates, a clock oscillator, a repetitive waveform generator, and a Johnson shift counter
1 2 3 4 5 6 7 8 9 10
C A B C B A C C B A
Model Test Answer
Model Test

More Related Content

Similar to 12.Digital Logic.pdf

Combinational logic circuits design and implementation
Combinational logic circuits design and implementationCombinational logic circuits design and implementation
Combinational logic circuits design and implementationssuserca5764
 
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
Find all hazards in this circuit.  Redesign the circuit as a three-le.pdfFind all hazards in this circuit.  Redesign the circuit as a three-le.pdf
Find all hazards in this circuit. Redesign the circuit as a three-le.pdfArrowdeepak
 
Digital electronics nandhini kusuma
Digital electronics nandhini kusumaDigital electronics nandhini kusuma
Digital electronics nandhini kusumakusuma11
 
Digital electronics nandhini kusuma
Digital electronics nandhini kusumaDigital electronics nandhini kusuma
Digital electronics nandhini kusumakusuma11
 
Digital electronics nandhini kusuma
Digital electronics nandhini kusumaDigital electronics nandhini kusuma
Digital electronics nandhini kusumakusuma11
 
A review on reversible logic gates and their implementation
A review on reversible logic gates and their implementationA review on reversible logic gates and their implementation
A review on reversible logic gates and their implementationDebraj Maji
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebraAswiniT3
 
Implementation of Reversable Logic Based Design using Submicron Technology
Implementation of Reversable Logic Based Design using Submicron TechnologyImplementation of Reversable Logic Based Design using Submicron Technology
Implementation of Reversable Logic Based Design using Submicron TechnologySai Viswanath
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraelfeds916
 
Sequential and combinational alu
Sequential and combinational alu Sequential and combinational alu
Sequential and combinational alu Piyush Rochwani
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1Techglyphs
 

Similar to 12.Digital Logic.pdf (20)

e CAD lab manual
e CAD lab manuale CAD lab manual
e CAD lab manual
 
Combinational logic circuits design and implementation
Combinational logic circuits design and implementationCombinational logic circuits design and implementation
Combinational logic circuits design and implementation
 
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
Find all hazards in this circuit.  Redesign the circuit as a three-le.pdfFind all hazards in this circuit.  Redesign the circuit as a three-le.pdf
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
 
C046051216
C046051216C046051216
C046051216
 
De lab manual
De lab manualDe lab manual
De lab manual
 
Digital electronics nandhini kusuma
Digital electronics nandhini kusumaDigital electronics nandhini kusuma
Digital electronics nandhini kusuma
 
Digital electronics nandhini kusuma
Digital electronics nandhini kusumaDigital electronics nandhini kusuma
Digital electronics nandhini kusuma
 
Digital electronics nandhini kusuma
Digital electronics nandhini kusumaDigital electronics nandhini kusuma
Digital electronics nandhini kusuma
 
A review on reversible logic gates and their implementation
A review on reversible logic gates and their implementationA review on reversible logic gates and their implementation
A review on reversible logic gates and their implementation
 
Assignment#1a
Assignment#1aAssignment#1a
Assignment#1a
 
Coa presentation2
Coa presentation2Coa presentation2
Coa presentation2
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Unit 07
Unit 07Unit 07
Unit 07
 
Implementation of Reversable Logic Based Design using Submicron Technology
Implementation of Reversable Logic Based Design using Submicron TechnologyImplementation of Reversable Logic Based Design using Submicron Technology
Implementation of Reversable Logic Based Design using Submicron Technology
 
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
 
Cse
CseCse
Cse
 
9525.ppt
9525.ppt9525.ppt
9525.ppt
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebra
 
Sequential and combinational alu
Sequential and combinational alu Sequential and combinational alu
Sequential and combinational alu
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1
 

More from Export Promotion Bureau (20)

Advance Technology
Advance TechnologyAdvance Technology
Advance Technology
 
16.psc.pdf
16.psc.pdf16.psc.pdf
16.psc.pdf
 
Advance Technology
Advance TechnologyAdvance Technology
Advance Technology
 
8.Information Security
8.Information Security8.Information Security
8.Information Security
 
14.Linux Command
14.Linux Command14.Linux Command
14.Linux Command
 
11.Object Oriented Programming.pdf
11.Object Oriented Programming.pdf11.Object Oriented Programming.pdf
11.Object Oriented Programming.pdf
 
9.C Programming
9.C Programming9.C Programming
9.C Programming
 
4.Database Management System.pdf
4.Database Management System.pdf4.Database Management System.pdf
4.Database Management System.pdf
 
Lab Question
Lab QuestionLab Question
Lab Question
 
DMZ
DMZDMZ
DMZ
 
loopback address
loopback addressloopback address
loopback address
 
Race Condition
Race Condition Race Condition
Race Condition
 
BCS (WRITTEN) EXAMINATION.pptx
BCS (WRITTEN) EXAMINATION.pptxBCS (WRITTEN) EXAMINATION.pptx
BCS (WRITTEN) EXAMINATION.pptx
 
Nothi_update.pptx
Nothi_update.pptxNothi_update.pptx
Nothi_update.pptx
 
word_power_point_update.pptx
word_power_point_update.pptxword_power_point_update.pptx
word_power_point_update.pptx
 
ICT-Cell.pptx
ICT-Cell.pptxICT-Cell.pptx
ICT-Cell.pptx
 
Incoterms.pptx
Incoterms.pptxIncoterms.pptx
Incoterms.pptx
 
EPB-Flow-Chart.pptx
EPB-Flow-Chart.pptxEPB-Flow-Chart.pptx
EPB-Flow-Chart.pptx
 
Subnetting.pptx
Subnetting.pptxSubnetting.pptx
Subnetting.pptx
 
Software-Development.pptx
Software-Development.pptxSoftware-Development.pptx
Software-Development.pptx
 

Recently uploaded

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 

Recently uploaded (20)

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 

12.Digital Logic.pdf

  • 1. Cloud IT Solution Page 424 Logic gate Logic gates are the basic building blocks of any digital system. It is an electronic circuit having one or more than one input and only one output. Types  AND Gate  OR Gate  NOT Gate  NAND Gate  NOR Gate  XOR Gate AND Gate A circuit which performs an AND operation is shown in figure. It has n input (n >= 2) and one output.  Logic diagram Truth Table Digital Logic Circuit
  • 2. Cloud IT Solution Page 425 OR Gate A circuit which performs an OR operation is shown in figure. It has n input (n >= 2) and one output. Logic diagram Truth Table NOT Gate NOT gate is also known as Inverter. It has one input A and one output Y.  Logic diagram
  • 3. Cloud IT Solution Page 426 Truth Table NAND Gate A NOT-AND operation is known as NAND operation. It has n input (n >= 2) and one output. Logic diagram Truth Table NOR Gate A NOT-OR operation is known as NOR operation. It has n input (n >= 2) and one output.
  • 4. Cloud IT Solution Page 427 Logic diagram Truth Table XOR Gate XOR or Ex-OR gate is a special type of gate. It can be used in the half adder, full adder and subtractor. The exclusive-OR gate is abbreviated as EX-OR gate or sometime as X-OR gate. It has n input (n >= 2) and one output. Logic diagram Truth Table
  • 5. Cloud IT Solution Page 428 XNOR Gate XNOR gate is a special type of gate. It can be used in the half adder, full adder and subtractor. The exclusive-NOR gate is abbreviated as EX-NOR gate or sometime as X-NOR gate. It has n input (n >= 2) and one output Logic diagram Truth Table NAND and NOR Universal Gate  NAND and NOR are called universal gates because all the other gates like and,or,not,xor and xnor can be derived from it.  Any basic gate can be implemented using NAND and NOR.
  • 6. Cloud IT Solution Page 429 De Morgan's Theorems  De Morgan has suggested two theorems which are extremely useful in Boolean Algebra. Theorem 1  The left hand side (LHS) of this theorem represents a NAND gate with inputs A and B, whereas the right hand side (RHS) of the theorem represents an OR gate with inverted inputs.
  • 7. Cloud IT Solution Page 430 This OR gate is called as Bubbled OR. Table showing verification of the De Morgan's first theorem – Theorem 2 The LHS of this theorem represents a NOR gate with inputs A and B, whereas the RHS represents an AND gate with inverted inputs.
  • 8. Cloud IT Solution Page 431 his AND gate is called as Bubbled AND. Table showing verification of the De Morgan's second theorem – Half Adder Half adder is a combinational logic circuit with two inputs and two outputs. The half adder circuit is designed to add two single bit binary number A and B. It is the basic building block for addition of two single bit numbers. This circuit has two outputs carry and sum.
  • 9. Cloud IT Solution Page 432 Truth Table Circuit Diagram Full Adder Full adder is developed to overcome the drawback of Half Adder circuit. It can add two one- bit numbers A and B, and carry c. The full adder is a three input and two output combinational circuit. Truth Table
  • 10. Cloud IT Solution Page 433 Circuit Diagram Full adder using two half adder K-map Karnaugh introduced a method for simplification of Boolean functions in an easy way. This method is known as Karnaugh map method or K-map method. It is a graphical method, which consists of 2n cells for ‘n’ variables. Variable K-Map
  • 11. Cloud IT Solution Page 434 Variable K-Map Variable K-Map Example Let us simplify the following Boolean function, f(W, X, Y, Z)= WX’Y’ + WY + W’YZ’ using K-map.
  • 12. Cloud IT Solution Page 435 Simplified Boolean function is: f= WX’ + WY + YZ’ Example Let us simplify the following Boolean function, f(X,Y,Z)=∏M(0,1,2,4) using K-map. Simplified Boolean function is: f=(X+Y).(Y+Z).(Z+X)
  • 13. Cloud IT Solution Page 436 Latch There are two types of memory elements based on the type of triggering that is suitable to operate it. 1. Latches 2. Flip-flops  Latches operate with enable signal, which is level sensitive. Whereas, flip-flops are edge sensitive. We will discuss about flip-flops in next chapter. Now, let us discuss about SR Latch & D Latch one by one.  SR latch example Flip-flops  A flip-flop or latch is a circuit that has two stable states and can be used to store state information. A flip-flop is a bistable multivibrator. The circuit can be made to change state by signals applied to one or more control inputs and will have one or two outputs. It is the basic storage element in sequential logic. Flip-flops and latches are fundamental building blocks of digital electronics systems used in computers, communications, and many other types of systems  There are mainly four types of flip flops that are used in electronic circuits. They are 1. The basic Flip Flop or S-R Flip Flop 2. Delay Flip Flop [D Flip Flop] 3. J-K Flip Flop 4. T Flip Flop S-R Flip Flop  The SET-RESET flip flop is not designed with the help of two NOR gates and also two NAND gates. These flip flops are also called S-R Latch.
  • 14. Cloud IT Solution Page 437 S-R Flip Flop using NOR Gate S-R Flip Flop using NAND Gate
  • 15. Cloud IT Solution Page 438 J-K Flip Flop Difference between CISC and RISC CISC RISC It is prominent on Hardware It is prominent on the software It has high cycles per second It has low cycles per second It has transistors used for storing Instructions which are complex More transistors are used for storing memory LOAD and STORE memory to memory is induced in instructions LOAD and STORE register to register are independent It has multi-clock It has single-clock
  • 16. Cloud IT Solution Page 439 1. The output of an AND gate with three inputs, A, B, and C, is HIGH when ________. A) A = 1, B = 1, C = 0 B)A = 0, B = 0, C = 0 C)A = 1, B = 1, C = 1 D)A = 1, B = 0, C = 1 2. If a 3-input NOR gate has eight input possibilities, how many of those possibilities will result in a HIGH output? A. 1 B. 2 C. 7 D. 8 3. If a signal passing through a gate is inhibited by sending a LOW into one of the inputs, and the output is HIGH, the gate is a(n): A. AND B. NAND C. NOR D. OR 4. A device used to display one or more digital signals so that they can be compared to expected timing diagrams for the signals is a: A. DMM B. spectrum analyzer C. logic analyzer D. frequency counter 5. When used with an IC, what does the term QUAD indicate? A. 2 circuits B. 4 circuits C. 6 circuits D. 8 circuits 6. The output of an OR gate with three inputs, A, B, and C, is LOW when ________. A) A = 0, B = 0, C = 0 B) A = 0, B = 0, C = 1 C) A = 0, B = 1, C = 1 D) all of the above 7. Which of the following logical operations is represented by the + sign in Boolean algebra? A. inversion B. AND C. OR D. complementation 8. Output will be a LOW for any case when one or more inputs are zero for a(n): A. OR gate B. NOT gate C. AND gate D. NOR gate 9. How many pins does the 4049 IC have? A. 14 B. 16 C. 18 D. 20 10. Which of the following choices meets the minimum requirement needed to create specialized waveforms that are used in digital control and sequencing circuits? A. basic gates, a clock oscillator, and a repetitive waveform generator B. basic gates, a clock oscillator, and a Johnson shift counter C. basic gates, a clock oscillator, and a DeMorgan pulse generator D. basic gates, a clock oscillator, a repetitive waveform generator, and a Johnson shift counter 1 2 3 4 5 6 7 8 9 10 C A B C B A C C B A Model Test Answer Model Test