SlideShare a Scribd company logo
1 of 40
By  Ms. Nita Arora, PGT Computer Science Kulachi Hansraj Model  School e -Lesson
Subject  : Computer Science (083)   Unit  : Boolean Algebra Topic  :  Minimization of Boolean  Expressions Using       Karnaugh Maps (K-Maps) Category : Senior Secondary Class  : XII
L earning  O bjectives :  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
P revious  K nowledge :  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],x y x+y
Minimization Of Boolean Expressions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],EXIT Karnaugh Maps INDEX
References  For K-Map Minimizer Download http:// karnaugh.shuriksoft.com Thomas C. Bartee, DIGITAL COMPUTER FUNDAMENTALS,  McGraw Hill International. Computer Science (Class XII) By Sumita Arora http://www.ee.surrey.ac.uk/Projects/Labview/minimisation/karrules.html
The End
[object Object],[object Object],[object Object],M INIMIZATION  OF  B OOLEAN  E XPRESSION WHY   we  Need  to simplify (minimize) expressions?
M INIMIZATION  OF  B OOLEAN  E XPRESSION Different methods Karnaugh  Maps Algebraic  Method
K arnaugh  M aps WHAT  is Karnaugh Map (K-Map)? A special version of a truth table Karnaugh Map (K-Map) is a  GRAPHICAL  display of fundamental terms in a  Truth Table . Don’t  require the use of  Boolean Algebra theorems  and equation Works with 2,3,4 (even more) input variables (gets more and more difficult with more variables) NEXT
K-maps provide an alternate way of simplifying logic circuits. One can transfer logic values from a Truth Table into a K-Map. The arrangement of  0’s  and  1’s  within a map helps in visualizing, leading directly to    Simplified Boolean Expression K arnaugh  M aps……… (Contd.) NEXT
Correspondence between the  Karnaugh Map and the Truth Table   for the general case of a two Variable Problem  Truth Table 2 Variable K-Map K arnaugh  M aps……… (Contd.) A B 0 0 0 1 1 0 1 1 F a b c d A B  0 1 0 a b 1 c d The diagram below illustrates the correspondence between the Karnaugh map and the truth table for the general case of a two variable problem.  Truth Table Karnaugh Map A B  0 1 0 a b 1 c d
D rawing a  K arnaugh   M ap  (K-Map)   K-map is a rectangle made up of certain number of   SQUARES For a given Boolean function there are  2 N  squares where  N  is the number of variables (inputs)  In a K-Map for a Boolean Function with 2 Variables  f(a,b)   there will be  2 2 =4  squares Each square is different from its neighbour by  ONE  Literal Each SQUARE represents a   MAXTERM   or    MINTERM NEXT
Karnaugh maps consist of a set of  2 2  squares where  2  is the number of variables  in the Boolean expression being minimized. Truth Table 2 Variable K-Map K arnaugh  M aps……… (Contd.) 1 The diagram below illustrates the correspondence between the Karnaugh map and the truth table for the general case of a two variable problem.  Truth Table Karnaugh Map A B  0 1 0 0 1 1 1 1 A B F 0 0 0 0 1 1 1 0 1 1 1 1 Minterm A’B’ A’B A B’  A B Maxterm A + B A + B’ A’ + B A’ + B’ NEXT
[object Object],4 Variable K-Map  2 4  = 16 Cells K arnaugh  M aps……… (Contd.) 3 Variable K-Map  2 3  = 8  Cells The diagram below illustrates the correspondence between the Karnaugh map and the truth table for the general case of a two variable problem.  Truth Table Karnaugh Map BC A 00 01 11 10 0 1 A B C D  00 01 11 10 00 01 11 10
M inimization  S teps  (SOP Expression with 4 var.) The process has following steps:  Draw the K-Map for given function  as shown Enter the function values into the K-Map by placing  1's  and  0's  into the appropriate Cells 1 1 1 1 A B C D  00 01 11 10 00 0 0 0 1 0 3 0 2 01 0 0 0 0 11 1 1 0 0 10 1 1 0 0 0 5 0 4 0 7 0 6 0 0 12 13 15 14 8 9 11 10 NEXT
M inimization  S teps  (SOP Expression) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],NEXT A B C D  00 01 11 10 00 0 0 0 1 0 3 0 2 01 0 0 0 0 11 1 1 0 0 10 1 1 0 0 0 5 0 4 0 7 0 6 0 0 12 13 15 14 8 9 11 10
M inimization  S teps  (SOP Expression) Select the  least  number of groups that cover all the 1's.  Ensure that every  1  is in a group. 1's  can be  part of  more than one   group.   Eliminate  Redundant  Groups 1 1 0 0 1 1 0 1 0 1 1 1 0 1 1 0  0 wx yz 00  01  11  10 00 01 11 10 3 2 4 5 7 6 1 12 13 15 14 8 9 11 10 NEXT
Example:  Reduce f(wxyz)=Σ(1,3,4,5,7,10,11,12,14,15) PAIR (m4,m5) REDUNDANTGROUP 1 1 0 0 1 1 0 1 0 1 1 1 0 1 1 0  0 wx yz 00  01  11  10 00 01 11 10 3 2 4 5 7 6 1 12 13 15 14 8 9 11 10 QUAD (m1,m3,m5,m7) QUAD (m10,m11,m14,m15) QUAD (m3,m7,m11,m15) REDUNDANT  Group PAIR (m4,m12) Minimized Expression :  xy’z’  +   wy  +   w’z
OCTET REDUCTION ( Group of 8:) OCTET (m0,m1,m4,m5,m8, m9, m12,m13) ,[object Object],0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 W X YZ 0   0   0   1   1 1   1  0  Y.Z  Y.Z    Y. Z   Y. Z 0   0 W.X 0   1 W.X 1  1 W.X 1  0 W.X NEXT
OCTET REDUCTION ( Group of 8:) OCTET (m1,m3,m5,m7,m9, m11, m13,m15) 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 W X YZ 0   0   0   1   1 1   1  0  Y.Z  Y.Z    Y. Z   Y. Z 0   0 W.X 0   1 W.X 1  1 W.X 1  0 W.X NEXT
OCTET REDUCTION ( Group of 8:) MAP ROLLING OCTET (m0,m2,m4,m6, m8, m10, m12,m14) 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 W X YZ 0   0   0   1   1 1   1  0  Y.Z  Y.Z    Y. Z   Y. Z 0   0 W.X 0   1 W.X 1  1 W.X 1  0 W.X 0 1 3 2 4 5 7 6 12 13 15 14 8 9 11 10 NEXT
OCTET REDUCTION ( Group of 8:) OCTET (m4,m5,m6,m7,m12, m13, m14,m15) 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 W X YZ 0   0   0   1   1 1   1  0  Y.Z  Y.Z    Y. Z   Y. Z 0   0 W.X 0   1 W.X 1  1 W.X 1  0 W.X 0 1 3 2 4 5 7 6 12 13 15 14 8 9 11 10 NEXT
OCTET REDUCTION ( Group of 8:) MAP ROLLING OCTET (m0,m1,m2,m3 M8,m9,m10,m11) 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 W X YZ 0   0   0   1   1 1   1  0  Y.Z  Y.Z    Y. Z   Y. Z 0   0 W.X 0   1 W.X 1  1 W.X 1  0 W.X 0 1 3 2 4 5 7 6 12 13 15 14 8 9 11 10
QUAD REDUCTION ( Group of 4) 1 1 0 0 1 1 1 1 0 1 1 1 0 1 1 0  0 WX YZ 3 2 4 5 7 6 1 12 13 15 14 8 9 11 10 QUAD  (m1,m3,m5,m7) QUAD (m10,m11,m14,m15) QUAD (m4,m5,m12,m13) 0   0   0   1   1 1   1  0  Y.Z  Y.Z    Y. Z   Y. Z 0   0 W.X 0   1 W.X 1  1 W.X 1  0 W.X ,[object Object],NEXT
QUAD REDUCTION ( Group of 4) MAP  ROLLING QUAD  (m1,m3,m9,m11) QUAD (m4,m6,m12,m14) 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 0  0 WX YZ 3 2 4 5 7 6 1 12 13 15 14 8 9 11 10 0   0   0   1   1 1   1  0  Y.Z  Y.Z    Y. Z   Y. Z 0   0 W.X 0   1 W.X 1  1 W.X 1  0 W.X NEXT
QUAD REDUCTION ( Group of 4) QUAD (m0,m2,m8,m10) CORNER  ROLLING 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1  0 WX YZ 3 2 4 5 7 6 1 12 13 15 14 8 9 11 10 0   0   0   1   1 1   1  0  Y.Z  Y.Z    Y. Z   Y. Z 0   0 W.X 0   1 W.X 1  1 W.X 1  0 W.X
SINGLE CELL REDUCTION  SINGLE CELL (m1) SINGLE CELL (m12) QUAD (m10,m11,m14,m15) ,[object Object],1 1 0 0 1 1 0 1 0 0 0 0 0 0 1 0 wx yz 00  01  11  10 00 01 11 10
PAIR REDUCTION ( Group of 2) YZ MAP ROLLING PAIR (m0,m2) ,[object Object],0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 1  0 WX 3 2 4 5 7 6 1 12 13 15 14 8 9 11 10 PAIR (m5,m7) 0   0   0   1   1 1   1  0  Y.Z  Y.Z    Y. Z   Y. Z 0   0 W.X 0   1 W.X 1  1 W.X 1  0 W.X
[object Object],Karnaugh Maps - Rules of Simplification   (SOP Expression) NEXT
[object Object],Karnaugh Maps - Rules of Simplification   (SOP Expression) NEXT
[object Object],[object Object],[object Object],Karnaugh Maps - Rules of Simplification   (SOP Expression) NEXT
[object Object],Karnaugh Maps - Rules of Simplification   (SOP Expression) NEXT
[object Object],Karnaugh Maps - Rules of Simplification   (SOP Expression) NEXT
[object Object],Karnaugh Maps - Rules of Simplification   (SOP Expression) NEXT
[object Object],[object Object],[object Object],[object Object],[object Object],Karnaugh Maps - Rules of Simplification   (SOP Expression) NEXT
[object Object],Karnaugh Maps - Rules of Simplification   (SOP Expression) NEXT
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Karnaugh Maps - Rules of Simplification   (SOP Expression)
[object Object],[object Object],[object Object],[object Object],Karnaugh map minimalization  software is freeware.  Important Links… K-Min Karnaugh Minimizer  is a tool for developers of small digital devices and radio amateurs, also for those who is familiar with Boolean algebra, mostly for electrical engineering students.
Who Developed K-Maps… ,[object Object],[object Object]

More Related Content

What's hot

machinelearning project
machinelearning projectmachinelearning project
machinelearning projectLianli Liu
 
Lesson 9: Parametric Surfaces
Lesson 9: Parametric SurfacesLesson 9: Parametric Surfaces
Lesson 9: Parametric SurfacesMatthew Leingang
 
Tailored Bregman Ball Trees for Effective Nearest Neighbors
Tailored Bregman Ball Trees for Effective Nearest NeighborsTailored Bregman Ball Trees for Effective Nearest Neighbors
Tailored Bregman Ball Trees for Effective Nearest NeighborsFrank Nielsen
 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voicessuzanne
 
Math 2 Application of integration
Math 2 Application of integrationMath 2 Application of integration
Math 2 Application of integrationlightspeed2
 
2012 mdsp pr04 monte carlo
2012 mdsp pr04 monte carlo2012 mdsp pr04 monte carlo
2012 mdsp pr04 monte carlonozomuhamada
 
2012 mdsp pr08 nonparametric approach
2012 mdsp pr08 nonparametric approach2012 mdsp pr08 nonparametric approach
2012 mdsp pr08 nonparametric approachnozomuhamada
 
A Generalization of QN-Maps
A Generalization of QN-MapsA Generalization of QN-Maps
A Generalization of QN-MapsIOSR Journals
 
On Clustering Financial Time Series - Beyond Correlation
On Clustering Financial Time Series - Beyond CorrelationOn Clustering Financial Time Series - Beyond Correlation
On Clustering Financial Time Series - Beyond CorrelationGautier Marti
 
01 knapsack using backtracking
01 knapsack using backtracking01 knapsack using backtracking
01 knapsack using backtrackingmandlapure
 
Solutions Manual for Foundations Of MEMS 2nd Edition by Chang Liu
Solutions Manual for Foundations Of MEMS 2nd Edition by Chang LiuSolutions Manual for Foundations Of MEMS 2nd Edition by Chang Liu
Solutions Manual for Foundations Of MEMS 2nd Edition by Chang LiuHildaLa
 
Particle Physics Presentation
Particle Physics PresentationParticle Physics Presentation
Particle Physics PresentationDrew Silcock
 
Solution manual for theory and applications of digital speech processing lawr...
Solution manual for theory and applications of digital speech processing lawr...Solution manual for theory and applications of digital speech processing lawr...
Solution manual for theory and applications of digital speech processing lawr...zammok
 
2.10 translations of graphs t
2.10 translations of graphs t2.10 translations of graphs t
2.10 translations of graphs tmath260
 
ABRA: Approximating Betweenness Centrality in Static and Dynamic Graphs with ...
ABRA: Approximating Betweenness Centrality in Static and Dynamic Graphs with ...ABRA: Approximating Betweenness Centrality in Static and Dynamic Graphs with ...
ABRA: Approximating Betweenness Centrality in Static and Dynamic Graphs with ...Kaushalya Madhawa
 
Patch Matching with Polynomial Exponential Families and Projective Divergences
Patch Matching with Polynomial Exponential Families and Projective DivergencesPatch Matching with Polynomial Exponential Families and Projective Divergences
Patch Matching with Polynomial Exponential Families and Projective DivergencesFrank Nielsen
 

What's hot (20)

machinelearning project
machinelearning projectmachinelearning project
machinelearning project
 
Lesson 9: Parametric Surfaces
Lesson 9: Parametric SurfacesLesson 9: Parametric Surfaces
Lesson 9: Parametric Surfaces
 
Tailored Bregman Ball Trees for Effective Nearest Neighbors
Tailored Bregman Ball Trees for Effective Nearest NeighborsTailored Bregman Ball Trees for Effective Nearest Neighbors
Tailored Bregman Ball Trees for Effective Nearest Neighbors
 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voices
 
Math 2 Application of integration
Math 2 Application of integrationMath 2 Application of integration
Math 2 Application of integration
 
2012 mdsp pr04 monte carlo
2012 mdsp pr04 monte carlo2012 mdsp pr04 monte carlo
2012 mdsp pr04 monte carlo
 
2012 mdsp pr08 nonparametric approach
2012 mdsp pr08 nonparametric approach2012 mdsp pr08 nonparametric approach
2012 mdsp pr08 nonparametric approach
 
A Generalization of QN-Maps
A Generalization of QN-MapsA Generalization of QN-Maps
A Generalization of QN-Maps
 
On Clustering Financial Time Series - Beyond Correlation
On Clustering Financial Time Series - Beyond CorrelationOn Clustering Financial Time Series - Beyond Correlation
On Clustering Financial Time Series - Beyond Correlation
 
01 knapsack using backtracking
01 knapsack using backtracking01 knapsack using backtracking
01 knapsack using backtracking
 
Solutions Manual for Foundations Of MEMS 2nd Edition by Chang Liu
Solutions Manual for Foundations Of MEMS 2nd Edition by Chang LiuSolutions Manual for Foundations Of MEMS 2nd Edition by Chang Liu
Solutions Manual for Foundations Of MEMS 2nd Edition by Chang Liu
 
Particle Physics Presentation
Particle Physics PresentationParticle Physics Presentation
Particle Physics Presentation
 
Regression 0410
Regression 0410Regression 0410
Regression 0410
 
Caculus
CaculusCaculus
Caculus
 
Solution manual for theory and applications of digital speech processing lawr...
Solution manual for theory and applications of digital speech processing lawr...Solution manual for theory and applications of digital speech processing lawr...
Solution manual for theory and applications of digital speech processing lawr...
 
Multiple regression
Multiple regressionMultiple regression
Multiple regression
 
CLIM Fall 2017 Course: Statistics for Climate Research, Spatial Data: Models ...
CLIM Fall 2017 Course: Statistics for Climate Research, Spatial Data: Models ...CLIM Fall 2017 Course: Statistics for Climate Research, Spatial Data: Models ...
CLIM Fall 2017 Course: Statistics for Climate Research, Spatial Data: Models ...
 
2.10 translations of graphs t
2.10 translations of graphs t2.10 translations of graphs t
2.10 translations of graphs t
 
ABRA: Approximating Betweenness Centrality in Static and Dynamic Graphs with ...
ABRA: Approximating Betweenness Centrality in Static and Dynamic Graphs with ...ABRA: Approximating Betweenness Centrality in Static and Dynamic Graphs with ...
ABRA: Approximating Betweenness Centrality in Static and Dynamic Graphs with ...
 
Patch Matching with Polynomial Exponential Families and Projective Divergences
Patch Matching with Polynomial Exponential Families and Projective DivergencesPatch Matching with Polynomial Exponential Families and Projective Divergences
Patch Matching with Polynomial Exponential Families and Projective Divergences
 

Similar to Kmaps By Ms Nita Arora

Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slidesharetech4us
 
Engineering electronics and electrical 3 K-Maps.pptx
Engineering electronics and electrical 3 K-Maps.pptxEngineering electronics and electrical 3 K-Maps.pptx
Engineering electronics and electrical 3 K-Maps.pptxxenxavy2
 
SPECTRAL FINITE ELEMENTAL METHOD-SHM
SPECTRAL FINITE ELEMENTAL METHOD-SHMSPECTRAL FINITE ELEMENTAL METHOD-SHM
SPECTRAL FINITE ELEMENTAL METHOD-SHMMallesh N G
 
Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1Ali Farooq
 
PRINCIPLES OF COMBINATIONAL LOGIC-2
PRINCIPLES OF COMBINATIONAL LOGIC-2PRINCIPLES OF COMBINATIONAL LOGIC-2
PRINCIPLES OF COMBINATIONAL LOGIC-2Supanna Shirguppe
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...ieijjournal
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...ieijjournal
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh mapchandkec
 
Metodo Monte Carlo -Wang Landau
Metodo Monte Carlo -Wang LandauMetodo Monte Carlo -Wang Landau
Metodo Monte Carlo -Wang Landauangely alcendra
 

Similar to Kmaps By Ms Nita Arora (20)

Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slideshare
 
KMAP
KMAPKMAP
KMAP
 
Learning Kmap
Learning KmapLearning Kmap
Learning Kmap
 
Karnaugh Graph or K-Map
Karnaugh Graph or K-MapKarnaugh Graph or K-Map
Karnaugh Graph or K-Map
 
STLD- Switching functions
STLD- Switching functions STLD- Switching functions
STLD- Switching functions
 
Engineering electronics and electrical 3 K-Maps.pptx
Engineering electronics and electrical 3 K-Maps.pptxEngineering electronics and electrical 3 K-Maps.pptx
Engineering electronics and electrical 3 K-Maps.pptx
 
K - Map
  K - Map    K - Map
K - Map
 
SPECTRAL FINITE ELEMENTAL METHOD-SHM
SPECTRAL FINITE ELEMENTAL METHOD-SHMSPECTRAL FINITE ELEMENTAL METHOD-SHM
SPECTRAL FINITE ELEMENTAL METHOD-SHM
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
 
kmap.pptx
kmap.pptxkmap.pptx
kmap.pptx
 
Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1
 
Unit 1(stld)
Unit 1(stld) Unit 1(stld)
Unit 1(stld)
 
PRINCIPLES OF COMBINATIONAL LOGIC-2
PRINCIPLES OF COMBINATIONAL LOGIC-2PRINCIPLES OF COMBINATIONAL LOGIC-2
PRINCIPLES OF COMBINATIONAL LOGIC-2
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
wep153
wep153wep153
wep153
 
HashiamKadhimFNLHD
HashiamKadhimFNLHDHashiamKadhimFNLHD
HashiamKadhimFNLHD
 
Metodo Monte Carlo -Wang Landau
Metodo Monte Carlo -Wang LandauMetodo Monte Carlo -Wang Landau
Metodo Monte Carlo -Wang Landau
 

More from kulachihansraj

What Is Internet made by Ms. Archika Bhatia
What Is Internet made by Ms. Archika BhatiaWhat Is Internet made by Ms. Archika Bhatia
What Is Internet made by Ms. Archika Bhatiakulachihansraj
 
What Is A Network made by Ms. Archika Bhatia
What Is A Network made by Ms. Archika BhatiaWhat Is A Network made by Ms. Archika Bhatia
What Is A Network made by Ms. Archika Bhatiakulachihansraj
 
Similarity By Ms. Rashmi Kathuria
Similarity By Ms. Rashmi KathuriaSimilarity By Ms. Rashmi Kathuria
Similarity By Ms. Rashmi Kathuriakulachihansraj
 
Unit cube Activity 2 by Ms. Rashmi Kathuria
Unit cube Activity 2 by Ms. Rashmi KathuriaUnit cube Activity 2 by Ms. Rashmi Kathuria
Unit cube Activity 2 by Ms. Rashmi Kathuriakulachihansraj
 
unit cube Activity4 by Ms. Rashmi Kathuria
unit cube Activity4 by Ms. Rashmi Kathuriaunit cube Activity4 by Ms. Rashmi Kathuria
unit cube Activity4 by Ms. Rashmi Kathuriakulachihansraj
 
Unit cube Activity 1 by Ms. Rashmi Kathuria
Unit cube Activity 1 by Ms. Rashmi KathuriaUnit cube Activity 1 by Ms. Rashmi Kathuria
Unit cube Activity 1 by Ms. Rashmi Kathuriakulachihansraj
 
Unit-cubes Activity3 By Ms. Rashmi Kathuria
Unit-cubes Activity3 By Ms. Rashmi KathuriaUnit-cubes Activity3 By Ms. Rashmi Kathuria
Unit-cubes Activity3 By Ms. Rashmi Kathuriakulachihansraj
 
Hybridization By Ms. Manjula Agarwal
Hybridization By Ms. Manjula AgarwalHybridization By Ms. Manjula Agarwal
Hybridization By Ms. Manjula Agarwalkulachihansraj
 
Project Final Yogita Anand Kohli
Project Final Yogita Anand KohliProject Final Yogita Anand Kohli
Project Final Yogita Anand Kohlikulachihansraj
 
Social religious reform movements in India By Ms. Seema Lal
Social religious reform movements in India By Ms. Seema LalSocial religious reform movements in India By Ms. Seema Lal
Social religious reform movements in India By Ms. Seema Lalkulachihansraj
 
The Electric Circuit And Kirchhoff’S Rules by Students
The Electric Circuit And Kirchhoff’S Rules by StudentsThe Electric Circuit And Kirchhoff’S Rules by Students
The Electric Circuit And Kirchhoff’S Rules by Studentskulachihansraj
 
Stacks & Queues By Ms. Niti Arora
Stacks & Queues By Ms. Niti AroraStacks & Queues By Ms. Niti Arora
Stacks & Queues By Ms. Niti Arorakulachihansraj
 
Ten Commandment by Ms. S. Kumar
Ten Commandment by Ms. S. KumarTen Commandment by Ms. S. Kumar
Ten Commandment by Ms. S. Kumarkulachihansraj
 
Quadrilateral Family[1] Rashmi Kathuria
Quadrilateral Family[1] Rashmi KathuriaQuadrilateral Family[1] Rashmi Kathuria
Quadrilateral Family[1] Rashmi Kathuriakulachihansraj
 
Lord Ullins12 By Ms. Amardeep Kaur
Lord Ullins12 By Ms. Amardeep KaurLord Ullins12 By Ms. Amardeep Kaur
Lord Ullins12 By Ms. Amardeep Kaurkulachihansraj
 
Discipline By Ms Chandla
Discipline By Ms ChandlaDiscipline By Ms Chandla
Discipline By Ms Chandlakulachihansraj
 
Foreign exchange rate and its determination by Ms. Anita Babbar
Foreign exchange rate and its determination by Ms. Anita BabbarForeign exchange rate and its determination by Ms. Anita Babbar
Foreign exchange rate and its determination by Ms. Anita Babbarkulachihansraj
 

More from kulachihansraj (20)

What Is Internet made by Ms. Archika Bhatia
What Is Internet made by Ms. Archika BhatiaWhat Is Internet made by Ms. Archika Bhatia
What Is Internet made by Ms. Archika Bhatia
 
What Is A Network made by Ms. Archika Bhatia
What Is A Network made by Ms. Archika BhatiaWhat Is A Network made by Ms. Archika Bhatia
What Is A Network made by Ms. Archika Bhatia
 
Similarity By Ms. Rashmi Kathuria
Similarity By Ms. Rashmi KathuriaSimilarity By Ms. Rashmi Kathuria
Similarity By Ms. Rashmi Kathuria
 
Basic Terms(Circles)
Basic Terms(Circles) Basic Terms(Circles)
Basic Terms(Circles)
 
Unit cube Activity 2 by Ms. Rashmi Kathuria
Unit cube Activity 2 by Ms. Rashmi KathuriaUnit cube Activity 2 by Ms. Rashmi Kathuria
Unit cube Activity 2 by Ms. Rashmi Kathuria
 
unit cube Activity4 by Ms. Rashmi Kathuria
unit cube Activity4 by Ms. Rashmi Kathuriaunit cube Activity4 by Ms. Rashmi Kathuria
unit cube Activity4 by Ms. Rashmi Kathuria
 
Unit cube Activity 1 by Ms. Rashmi Kathuria
Unit cube Activity 1 by Ms. Rashmi KathuriaUnit cube Activity 1 by Ms. Rashmi Kathuria
Unit cube Activity 1 by Ms. Rashmi Kathuria
 
Unit-cubes Activity3 By Ms. Rashmi Kathuria
Unit-cubes Activity3 By Ms. Rashmi KathuriaUnit-cubes Activity3 By Ms. Rashmi Kathuria
Unit-cubes Activity3 By Ms. Rashmi Kathuria
 
Hybridization By Ms. Manjula Agarwal
Hybridization By Ms. Manjula AgarwalHybridization By Ms. Manjula Agarwal
Hybridization By Ms. Manjula Agarwal
 
Project Final Yogita Anand Kohli
Project Final Yogita Anand KohliProject Final Yogita Anand Kohli
Project Final Yogita Anand Kohli
 
Social religious reform movements in India By Ms. Seema Lal
Social religious reform movements in India By Ms. Seema LalSocial religious reform movements in India By Ms. Seema Lal
Social religious reform movements in India By Ms. Seema Lal
 
The Electric Circuit And Kirchhoff’S Rules by Students
The Electric Circuit And Kirchhoff’S Rules by StudentsThe Electric Circuit And Kirchhoff’S Rules by Students
The Electric Circuit And Kirchhoff’S Rules by Students
 
Stacks & Queues By Ms. Niti Arora
Stacks & Queues By Ms. Niti AroraStacks & Queues By Ms. Niti Arora
Stacks & Queues By Ms. Niti Arora
 
Ten Commandment by Ms. S. Kumar
Ten Commandment by Ms. S. KumarTen Commandment by Ms. S. Kumar
Ten Commandment by Ms. S. Kumar
 
Psychic Development
Psychic DevelopmentPsychic Development
Psychic Development
 
Quadrilateral Family[1] Rashmi Kathuria
Quadrilateral Family[1] Rashmi KathuriaQuadrilateral Family[1] Rashmi Kathuria
Quadrilateral Family[1] Rashmi Kathuria
 
Lord Ullins12 By Ms. Amardeep Kaur
Lord Ullins12 By Ms. Amardeep KaurLord Ullins12 By Ms. Amardeep Kaur
Lord Ullins12 By Ms. Amardeep Kaur
 
Healthydiet
HealthydietHealthydiet
Healthydiet
 
Discipline By Ms Chandla
Discipline By Ms ChandlaDiscipline By Ms Chandla
Discipline By Ms Chandla
 
Foreign exchange rate and its determination by Ms. Anita Babbar
Foreign exchange rate and its determination by Ms. Anita BabbarForeign exchange rate and its determination by Ms. Anita Babbar
Foreign exchange rate and its determination by Ms. Anita Babbar
 

Recently uploaded

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 

Recently uploaded (20)

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 

Kmaps By Ms Nita Arora

  • 1. By Ms. Nita Arora, PGT Computer Science Kulachi Hansraj Model School e -Lesson
  • 2. Subject : Computer Science (083) Unit : Boolean Algebra Topic : Minimization of Boolean Expressions Using Karnaugh Maps (K-Maps) Category : Senior Secondary Class : XII
  • 3.
  • 4.
  • 5.
  • 6. References For K-Map Minimizer Download http:// karnaugh.shuriksoft.com Thomas C. Bartee, DIGITAL COMPUTER FUNDAMENTALS, McGraw Hill International. Computer Science (Class XII) By Sumita Arora http://www.ee.surrey.ac.uk/Projects/Labview/minimisation/karrules.html
  • 8.
  • 9. M INIMIZATION OF B OOLEAN E XPRESSION Different methods Karnaugh Maps Algebraic Method
  • 10. K arnaugh M aps WHAT is Karnaugh Map (K-Map)? A special version of a truth table Karnaugh Map (K-Map) is a GRAPHICAL display of fundamental terms in a Truth Table . Don’t require the use of Boolean Algebra theorems and equation Works with 2,3,4 (even more) input variables (gets more and more difficult with more variables) NEXT
  • 11. K-maps provide an alternate way of simplifying logic circuits. One can transfer logic values from a Truth Table into a K-Map. The arrangement of 0’s and 1’s within a map helps in visualizing, leading directly to Simplified Boolean Expression K arnaugh M aps……… (Contd.) NEXT
  • 12. Correspondence between the Karnaugh Map and the Truth Table for the general case of a two Variable Problem Truth Table 2 Variable K-Map K arnaugh M aps……… (Contd.) A B 0 0 0 1 1 0 1 1 F a b c d A B 0 1 0 a b 1 c d The diagram below illustrates the correspondence between the Karnaugh map and the truth table for the general case of a two variable problem. Truth Table Karnaugh Map A B 0 1 0 a b 1 c d
  • 13. D rawing a K arnaugh M ap (K-Map) K-map is a rectangle made up of certain number of SQUARES For a given Boolean function there are 2 N squares where N is the number of variables (inputs) In a K-Map for a Boolean Function with 2 Variables f(a,b) there will be 2 2 =4 squares Each square is different from its neighbour by ONE Literal Each SQUARE represents a MAXTERM or MINTERM NEXT
  • 14. Karnaugh maps consist of a set of 2 2 squares where 2 is the number of variables in the Boolean expression being minimized. Truth Table 2 Variable K-Map K arnaugh M aps……… (Contd.) 1 The diagram below illustrates the correspondence between the Karnaugh map and the truth table for the general case of a two variable problem. Truth Table Karnaugh Map A B 0 1 0 0 1 1 1 1 A B F 0 0 0 0 1 1 1 0 1 1 1 1 Minterm A’B’ A’B A B’ A B Maxterm A + B A + B’ A’ + B A’ + B’ NEXT
  • 15.
  • 16. M inimization S teps (SOP Expression with 4 var.) The process has following steps: Draw the K-Map for given function as shown Enter the function values into the K-Map by placing 1's and 0's into the appropriate Cells 1 1 1 1 A B C D 00 01 11 10 00 0 0 0 1 0 3 0 2 01 0 0 0 0 11 1 1 0 0 10 1 1 0 0 0 5 0 4 0 7 0 6 0 0 12 13 15 14 8 9 11 10 NEXT
  • 17.
  • 18. M inimization S teps (SOP Expression) Select the least number of groups that cover all the 1's. Ensure that every 1 is in a group. 1's can be part of more than one group. Eliminate Redundant Groups 1 1 0 0 1 1 0 1 0 1 1 1 0 1 1 0 0 wx yz 00 01 11 10 00 01 11 10 3 2 4 5 7 6 1 12 13 15 14 8 9 11 10 NEXT
  • 19. Example: Reduce f(wxyz)=Σ(1,3,4,5,7,10,11,12,14,15) PAIR (m4,m5) REDUNDANTGROUP 1 1 0 0 1 1 0 1 0 1 1 1 0 1 1 0 0 wx yz 00 01 11 10 00 01 11 10 3 2 4 5 7 6 1 12 13 15 14 8 9 11 10 QUAD (m1,m3,m5,m7) QUAD (m10,m11,m14,m15) QUAD (m3,m7,m11,m15) REDUNDANT Group PAIR (m4,m12) Minimized Expression : xy’z’ + wy + w’z
  • 20.
  • 21. OCTET REDUCTION ( Group of 8:) OCTET (m1,m3,m5,m7,m9, m11, m13,m15) 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 W X YZ 0 0 0 1 1 1 1 0 Y.Z Y.Z Y. Z Y. Z 0 0 W.X 0 1 W.X 1 1 W.X 1 0 W.X NEXT
  • 22. OCTET REDUCTION ( Group of 8:) MAP ROLLING OCTET (m0,m2,m4,m6, m8, m10, m12,m14) 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 W X YZ 0 0 0 1 1 1 1 0 Y.Z Y.Z Y. Z Y. Z 0 0 W.X 0 1 W.X 1 1 W.X 1 0 W.X 0 1 3 2 4 5 7 6 12 13 15 14 8 9 11 10 NEXT
  • 23. OCTET REDUCTION ( Group of 8:) OCTET (m4,m5,m6,m7,m12, m13, m14,m15) 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 W X YZ 0 0 0 1 1 1 1 0 Y.Z Y.Z Y. Z Y. Z 0 0 W.X 0 1 W.X 1 1 W.X 1 0 W.X 0 1 3 2 4 5 7 6 12 13 15 14 8 9 11 10 NEXT
  • 24. OCTET REDUCTION ( Group of 8:) MAP ROLLING OCTET (m0,m1,m2,m3 M8,m9,m10,m11) 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 W X YZ 0 0 0 1 1 1 1 0 Y.Z Y.Z Y. Z Y. Z 0 0 W.X 0 1 W.X 1 1 W.X 1 0 W.X 0 1 3 2 4 5 7 6 12 13 15 14 8 9 11 10
  • 25.
  • 26. QUAD REDUCTION ( Group of 4) MAP ROLLING QUAD (m1,m3,m9,m11) QUAD (m4,m6,m12,m14) 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 0 0 WX YZ 3 2 4 5 7 6 1 12 13 15 14 8 9 11 10 0 0 0 1 1 1 1 0 Y.Z Y.Z Y. Z Y. Z 0 0 W.X 0 1 W.X 1 1 W.X 1 0 W.X NEXT
  • 27. QUAD REDUCTION ( Group of 4) QUAD (m0,m2,m8,m10) CORNER ROLLING 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 WX YZ 3 2 4 5 7 6 1 12 13 15 14 8 9 11 10 0 0 0 1 1 1 1 0 Y.Z Y.Z Y. Z Y. Z 0 0 W.X 0 1 W.X 1 1 W.X 1 0 W.X
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.

Editor's Notes

  1. 1 1 The “operator” keyword Overloading Unary operators Overloading Binary operators Constructors as conversion routines Converting between basic and user-defined types LEAD IN: Overloaded Unary Operators