SlideShare a Scribd company logo
1 of 41
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],Karnaugh Maps INDEX
Who Developed K-Maps… ,[object Object],[object Object]
[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
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 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 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
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
PAIR REDUCTION ( Group of 2) YZ MAP ROLLING PAIR (m0,m2) 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]
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
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],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)
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
Happy Learning……….
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

More Related Content

What's hot

線形回帰モデル
線形回帰モデル線形回帰モデル
線形回帰モデル貴之 八木
 
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
 
Gaussian Quadrature Formula
Gaussian Quadrature FormulaGaussian Quadrature Formula
Gaussian Quadrature FormulaDhaval Shukla
 
Lesson 9: Parametric Surfaces
Lesson 9: Parametric SurfacesLesson 9: Parametric Surfaces
Lesson 9: Parametric SurfacesMatthew Leingang
 
Mc graw hill - data management
Mc graw hill - data managementMc graw hill - data management
Mc graw hill - data management5252552
 
A Generalization of QN-Maps
A Generalization of QN-MapsA Generalization of QN-Maps
A Generalization of QN-MapsIOSR Journals
 
Gaussian Integration
Gaussian IntegrationGaussian Integration
Gaussian IntegrationReza Rahimi
 
machinelearning project
machinelearning projectmachinelearning project
machinelearning projectLianli Liu
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Scienceresearchinventy
 
Math 2 Application of integration
Math 2 Application of integrationMath 2 Application of integration
Math 2 Application of integrationlightspeed2
 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voicessuzanne
 

What's hot (20)

線形回帰モデル
線形回帰モデル線形回帰モデル
線形回帰モデル
 
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
 
Quadrature
QuadratureQuadrature
Quadrature
 
Gaussian Quadrature Formula
Gaussian Quadrature FormulaGaussian Quadrature Formula
Gaussian Quadrature Formula
 
Tcu12 crc multi
Tcu12 crc multiTcu12 crc multi
Tcu12 crc multi
 
Kriging
KrigingKriging
Kriging
 
Caculus
CaculusCaculus
Caculus
 
Lesson 9: Parametric Surfaces
Lesson 9: Parametric SurfacesLesson 9: Parametric Surfaces
Lesson 9: Parametric Surfaces
 
Mc graw hill - data management
Mc graw hill - data managementMc graw hill - data management
Mc graw hill - data management
 
勾配法
勾配法勾配法
勾配法
 
A Generalization of QN-Maps
A Generalization of QN-MapsA Generalization of QN-Maps
A Generalization of QN-Maps
 
Gaussian Integration
Gaussian IntegrationGaussian Integration
Gaussian Integration
 
machinelearning project
machinelearning projectmachinelearning project
machinelearning project
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
 
Regression 0410
Regression 0410Regression 0410
Regression 0410
 
Multiple regression
Multiple regressionMultiple regression
Multiple regression
 
Variograms
VariogramsVariograms
Variograms
 
Math 2 Application of integration
Math 2 Application of integrationMath 2 Application of integration
Math 2 Application of integration
 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voices
 

Similar to K-Map Boolean Minimization

SPECTRAL FINITE ELEMENTAL METHOD-SHM
SPECTRAL FINITE ELEMENTAL METHOD-SHMSPECTRAL FINITE ELEMENTAL METHOD-SHM
SPECTRAL FINITE ELEMENTAL METHOD-SHMMallesh N G
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh mapchandkec
 
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
 
PRINCIPLES OF COMBINATIONAL LOGIC-2
PRINCIPLES OF COMBINATIONAL LOGIC-2PRINCIPLES OF COMBINATIONAL LOGIC-2
PRINCIPLES OF COMBINATIONAL LOGIC-2Supanna Shirguppe
 
Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1Ali Farooq
 
Metodo Monte Carlo -Wang Landau
Metodo Monte Carlo -Wang LandauMetodo Monte Carlo -Wang Landau
Metodo Monte Carlo -Wang Landauangely alcendra
 
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
 
Reducing Concentration Uncertainty Using the Coupled Markov Chain Approach
 Reducing Concentration Uncertainty Using the Coupled Markov Chain Approach Reducing Concentration Uncertainty Using the Coupled Markov Chain Approach
Reducing Concentration Uncertainty Using the Coupled Markov Chain ApproachAmro Elfeki
 

Similar to K-Map Boolean Minimization (20)

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
 
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
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
Unit 1(stld)
Unit 1(stld) Unit 1(stld)
Unit 1(stld)
 
kmap.pptx
kmap.pptxkmap.pptx
kmap.pptx
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
 
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
 
PRINCIPLES OF COMBINATIONAL LOGIC-2
PRINCIPLES OF COMBINATIONAL LOGIC-2PRINCIPLES OF COMBINATIONAL LOGIC-2
PRINCIPLES OF COMBINATIONAL LOGIC-2
 
Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1
 
wep153
wep153wep153
wep153
 
Metodo Monte Carlo -Wang Landau
Metodo Monte Carlo -Wang LandauMetodo Monte Carlo -Wang Landau
Metodo Monte Carlo -Wang Landau
 
K map
K mapK map
K map
 
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...
 
Reducing Concentration Uncertainty Using the Coupled Markov Chain Approach
 Reducing Concentration Uncertainty Using the Coupled Markov Chain Approach Reducing Concentration Uncertainty Using the Coupled Markov Chain Approach
Reducing Concentration Uncertainty Using the Coupled Markov Chain Approach
 

More from tech4us

Cruched Eau
Cruched EauCruched Eau
Cruched Eautech4us
 
Stacks & Queues
Stacks & QueuesStacks & Queues
Stacks & Queuestech4us
 
Pointers (Pp Tminimizer)
Pointers (Pp Tminimizer)Pointers (Pp Tminimizer)
Pointers (Pp Tminimizer)tech4us
 
eBeam : Intractive Whiteboard System
eBeam : Intractive Whiteboard SystemeBeam : Intractive Whiteboard System
eBeam : Intractive Whiteboard Systemtech4us
 

More from tech4us (7)

Edge1
Edge1Edge1
Edge1
 
Cruched Eau
Cruched EauCruched Eau
Cruched Eau
 
Sql
SqlSql
Sql
 
Rdbms
RdbmsRdbms
Rdbms
 
Stacks & Queues
Stacks & QueuesStacks & Queues
Stacks & Queues
 
Pointers (Pp Tminimizer)
Pointers (Pp Tminimizer)Pointers (Pp Tminimizer)
Pointers (Pp Tminimizer)
 
eBeam : Intractive Whiteboard System
eBeam : Intractive Whiteboard SystemeBeam : Intractive Whiteboard System
eBeam : Intractive Whiteboard System
 

Recently uploaded

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 

Recently uploaded (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 

K-Map Boolean Minimization

  • 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.
  • 7.
  • 8. M INIMIZATION OF B OOLEAN E XPRESSION Different methods Karnaugh Maps Algebraic Method
  • 9. 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
  • 10. 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
  • 11. 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
  • 12. 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
  • 13. 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 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
  • 14.
  • 15. 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
  • 16.
  • 17.
  • 18. 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
  • 19. 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
  • 20. 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
  • 21. 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
  • 22.
  • 23. 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
  • 24. 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
  • 25.
  • 26.
  • 27. Karnaugh Maps - Rules of Simplification (SOP Expression) NEXT
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37. 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
  • 38. 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
  • 40. 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

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