SlideShare a Scribd company logo
1 of 24
Admission in India 2015 
By: 
Admission.edhole.com
Yes, No, Maybe... 
Boolean 
Algebra 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 2
Boolean Algebra 
Boolean algebra provides the operations and the 
rules for working with the set {0, 1}. 
These are the rules that underlie electronic 
circuits, and the methods we will discuss are 
fundamental to VLSI design. 
We are going to focus on three operations: 
• Boolean complementation, 
• Boolean sum, and 
• Boolean product 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 3
Boolean Operations 
The complement is denoted by a bar (on the slides, 
we will use a minus sign). It is defined by 
-0 = 1 and -1 = 0. 
The Boolean sum, denoted by + or by OR, has the 
following values: 
1 + 1 = 1, 1 + 0 = 1, 0 + 1 = 1, 0 + 0 = 0 
The Boolean product, denoted by  or by AND, has 
the following values: 
1  1 = 1, 1  0 = 0, 0  1 = 0, 0  0 = 0 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 4
Boolean Functions and Expressions 
Definition: Let B = {0, 1}. The variable x is called a 
Boolean variable if it assumes values only from B. 
A function from Bn, the set {(x1, x2, …, xn) |xiB, 
1  i  n}, to B is called a Boolean function of 
degree n. 
Boolean functions can be represented using 
expressions made up from the variables and 
Boolean operations. 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 5
Boolean Functions and Expressions 
The Boolean expressions in the variables x1, x2, …, 
xn are defined recursively as follows: 
• 0, 1, x1, x2, …, xn are Boolean expressions. 
• If E1 and E2 are Boolean expressions, then (-E1), 
(E1E2), and (E1 + E2) are Boolean expressions. 
Each Boolean expression represents a Boolean 
function. The values of this function are obtained 
by substituting 0 and 1 for the variables in the 
expression. 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 6
Boolean Functions and Expressions 
For example, we can create Boolean expression in 
the variables x, y, and z using the “building blocks” 
0, 1, x, y, and z, and the construction rules: 
Since x and y are Boolean expressions, so is xy. 
Since z is a Boolean expression, so is (-z). 
Since xy and (-z) are expressions, so is xy + (-z). 
… and so on… 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 7
Boolean Functions and Expressions 
Example: Give a Boolean expression for the 
Boolean function F(x, y) as defined by the following 
table: 
x y F(x, y) 
0 0 0 
0 1 1 
1 0 0 
1 1 0 
Possible solution: F(x, y) = (-x)y 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 8
Boolean Functions and Expressions 
Another Example: Possible solution I: 
F(x, y, z) = -(xz + y) 
F(x, y, z) 
1 
1 
0 
0 
z 
0 
1 
0 
1 
x y 
0 0 
0 0 
0 1 
0 1 
1 
0 
0 
0 
0 
1 
0 
1 
1 0 
1 0 
1 1 
1 1 
Possible solution II: 
F(x, y, z) = (-(xz))(-y) 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 9
Boolean Functions and Expressions 
There is a simple method for deriving a Boolean 
expression for a function that is defined by a 
table. This method is based on minterms. 
Definition: A literal is a Boolean variable or its 
complement. A minterm of the Boolean variables x1, 
x2, …, xn is a Boolean product y1y2…yn, where yi = xi 
or yi = -xi. 
Hence, a minterm is a product of n literals, with 
one literal for each variable. 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 10
Boolean Functions and Expressions 
Consider F(x,y,z) again: F(x, y, z) = 1 if and 
only if: 
x = y = z = 0 or 
x = y = 0, z = 1 or 
x = 1, y = z = 0 
Therefore, 
F(x, y, z) = 
(-x)(-y)(-z) + 
(-x)(-y)z + 
x(-y)(-z) 
F(x, y, z) 
1 
1 
0 
0 
z 
0 
1 
0 
1 
x y 
0 0 
0 0 
0 1 
0 1 
1 
0 
0 
0 
0 
1 
0 
1 
1 0 
1 0 
1 1 
1 1 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 11
Boolean Functions and Expressions 
Definition: The Boolean functions F and G of n 
variables are equal if and only if F(b1, b2, …, bn) = 
G(b1, b2, …, bn) whenever b1, b2, …, bn belong to B. 
Two different Boolean expressions that represent 
the same function are called equivalent. 
For example, the Boolean expressions xy, xy + 0, 
and xy1 are equivalent. 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 12
Boolean Functions and Expressions 
The complement of the Boolean function F is the 
function –F, where –F(b1, b2, …, bn) = 
-(F(b1, b2, …, bn)). 
Let F and G be Boolean functions of degree n. The 
Boolean sum F+G and Boolean product FG are then 
defined by 
(F + G)(b1, b2, …, bn) = F(b1, b2, …, bn) + G(b1, b2, …, bn) 
(FG)(b1, b2, …, bn) = F(b1, b2, …, bn) G(b1, b2, …, bn) 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 13
Boolean Functions and Expressions 
Question: How many different Boolean functions 
of degree 1 are there? 
Solution: There are four of them, F1, F2, F3, and F4: 
x F1 F2 F3 F4 
0 0 0 1 1 
1 0 1 0 1 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 14
Boolean Functions and Expressions 
Question: How many different Boolean functions 
of degree 2 are there? 
Solution: There are 16 of them, F1, F2, …, F16: 
x y F2 
F3 
0 0 0 
0 
0 1 0 
0 
1 0 0 
1 
1 1 1 
0 
F1 
0 
0 
0 
0 
F8 
0 
1 
1 
1 
F7 
0 
1 
1 
0 
F9 
1 
0 
0 
0 
F5 
0 
1 
0 
0 
F4 
0 
0 
1 
1 
F6 
0 
1 
0 
1 
F11 
1 
0 
1 
0 
F10 
1 
0 
0 
1 
F12 
1 
0 
1 
1 
F1 
4 
1 
1 
0 
1 
F1 
3 
1 
1 
0 
0 
F1 
5 
1 
1 
1 
0 
Fall 2002 CMSC 203 - Discrete Structures 15 
F16 
1 
1 
1 
1 
Admission.edhole.com
Boolean Functions and Expressions 
Question: How many different Boolean functions 
of degree n are there? 
Solution: 
There are 2n different n-tuples of 0s and 1s. 
A Boolean function is an assignment of 0 or 1 to 
each of these 2n different n-tuples. 
Therefore, there are 22n different Boolean 
functions. 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 16
Duality 
There are useful identities of Boolean expressions 
that can help us to transform an expression A into 
an equivalent expression B (see Table 5 on page 
597 in the textbook). 
We can derive additional identities with the help 
of the dual of a Boolean expression. 
The dual of a Boolean expression is obtained by 
interchanging Boolean sums and Boolean products 
and interchanging 0s and 1s. 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 17
Duality 
Examples: 
The dual of x(y + z) is x + yz. 
The dual of -x1 + (-y + z) is (-x + 0)((-y)z). 
The dual of a Boolean function F represented by 
a Boolean expression is the function represented 
by the dual of this expression. 
This dual function, denoted by Fd, does not 
depend on the particular Boolean expression used 
to represent F. 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 18
Duality 
Therefore, an identity between functions 
represented by Boolean expressions remains valid 
when the duals of both sides of the identity are 
taken. 
We can use this fact, called the duality principle, 
to derive new identities. 
For example, consider the absorption law 
x(x + y) = x. 
By taking the duals of both sides of this identity, 
we obtain the equation x + xy = x, which is also an 
identity (and also called an absorption law). 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 19
Definition of a Boolean Algebra 
All the properties of Boolean functions and 
expressions that we have discovered also apply to 
other mathematical structures such as 
propositions and sets and the operations defined 
on them. 
If we can show that a particular structure is a 
Boolean algebra, then we know that all results 
established about Boolean algebras apply to this 
structure. 
For this purpose, we need an abstract definition 
Aodfm ais Bsiooonl.eeadnh aollgee.cborma. 
Fall 2002 CMSC 203 - Discrete Structures 20
Definition of a Boolean Algebra 
Definition: A Boolean algebra is a set B with two 
binary operations  and , elements 0 and 1, and a 
unary operation – such that the following 
properties hold for all x, y, and z in B: 
x  0 = x and x  1 = x (identity laws) 
x  (-x) = 1 and x  (-x) = 0 (domination laws) 
(x  y)  z = x  (y  z) and 
(x  y)  z = x  (y  z) and (associative laws) 
x  y = y  x and x  y = y  x (commutative laws) 
x  (y  z) = (x  y)  (x  z) and 
x  (y  z) = (x  y)  (x  z) (distributive laws) 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 21
Logic Gates 
Electronic circuits consist of so-called gates. 
There are three basic types of gates: 
x -x 
x 
y 
x+y 
inverter 
OR gate 
AND gate 
x 
y 
xy 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 22
Logic Gates 
Example: How can we build a circuit that computes 
the function xy + (-x)y ? 
xy + (-x)y 
x 
y 
xy 
x -x 
y 
(-x)y 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 23
The 
End 
Admission.edhole.com 
Fall 2002 CMSC 203 - Discrete Structures 24

More Related Content

What's hot

Lec 03 - Combinational Logic Design
Lec 03 - Combinational Logic DesignLec 03 - Combinational Logic Design
Lec 03 - Combinational Logic DesignVajira Thambawita
 
Csr2011 june18 11_00_tiskin
Csr2011 june18 11_00_tiskinCsr2011 june18 11_00_tiskin
Csr2011 june18 11_00_tiskinCSR2011
 
Boolean algebra and logic gates
Boolean algebra and logic gatesBoolean algebra and logic gates
Boolean algebra and logic gatesZareenRauf1
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebraSudheesh S Madhav
 
An Introduction to ECDSA and it's use in Bitcoin (1)
An Introduction to ECDSA and it's use in Bitcoin (1)An Introduction to ECDSA and it's use in Bitcoin (1)
An Introduction to ECDSA and it's use in Bitcoin (1)Hakeem Hunte
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebragavhays
 
2nd PUC computer science chapter 2 boolean algebra 1
2nd PUC computer science chapter 2  boolean algebra 12nd PUC computer science chapter 2  boolean algebra 1
2nd PUC computer science chapter 2 boolean algebra 1Aahwini Esware gowda
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean AlgebraHau Moy
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic GatesKumar
 
2nd PUC computer science chapter 2 boolean algebra
2nd PUC computer science chapter 2  boolean algebra 2nd PUC computer science chapter 2  boolean algebra
2nd PUC computer science chapter 2 boolean algebra Aahwini Esware gowda
 
Boolean Matching in Logic Synthesis
Boolean Matching in Logic SynthesisBoolean Matching in Logic Synthesis
Boolean Matching in Logic SynthesisIffat Anjum
 

What's hot (20)

Lec 03 - Combinational Logic Design
Lec 03 - Combinational Logic DesignLec 03 - Combinational Logic Design
Lec 03 - Combinational Logic Design
 
Csr2011 june18 11_00_tiskin
Csr2011 june18 11_00_tiskinCsr2011 june18 11_00_tiskin
Csr2011 june18 11_00_tiskin
 
Boolean algebra and logic gates
Boolean algebra and logic gatesBoolean algebra and logic gates
Boolean algebra and logic gates
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebra
 
Boolean algebra and Logic gates
Boolean algebra and Logic gatesBoolean algebra and Logic gates
Boolean algebra and Logic gates
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
An Introduction to ECDSA and it's use in Bitcoin (1)
An Introduction to ECDSA and it's use in Bitcoin (1)An Introduction to ECDSA and it's use in Bitcoin (1)
An Introduction to ECDSA and it's use in Bitcoin (1)
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Chapter 5 boolean algebra
Chapter 5 boolean algebraChapter 5 boolean algebra
Chapter 5 boolean algebra
 
Bitwise
BitwiseBitwise
Bitwise
 
2nd PUC computer science chapter 2 boolean algebra 1
2nd PUC computer science chapter 2  boolean algebra 12nd PUC computer science chapter 2  boolean algebra 1
2nd PUC computer science chapter 2 boolean algebra 1
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Ds
DsDs
Ds
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
presentation
presentationpresentation
presentation
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
 
2nd PUC computer science chapter 2 boolean algebra
2nd PUC computer science chapter 2  boolean algebra 2nd PUC computer science chapter 2  boolean algebra
2nd PUC computer science chapter 2 boolean algebra
 
Theorems in DE
Theorems in DETheorems in DE
Theorems in DE
 
test
testtest
test
 
Boolean Matching in Logic Synthesis
Boolean Matching in Logic SynthesisBoolean Matching in Logic Synthesis
Boolean Matching in Logic Synthesis
 

Similar to Admission in india 2015

BooleanAlgebra.ppt
BooleanAlgebra.pptBooleanAlgebra.ppt
BooleanAlgebra.pptKarthi Keyan
 
boolean_algebra.pdf for discrete mathematics
boolean_algebra.pdf for discrete mathematicsboolean_algebra.pdf for discrete mathematics
boolean_algebra.pdf for discrete mathematicssomnathmule3
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theoremsarunachalamr16
 
Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfSangitaBose2
 
Chapter2 (1).pptx
Chapter2 (1).pptxChapter2 (1).pptx
Chapter2 (1).pptxMitKumar2
 
DigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdfDigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdfk vimal kumar
 
Asima Final Presentation.pptx
Asima Final Presentation.pptxAsima Final Presentation.pptx
Asima Final Presentation.pptxUmakantaKaran1
 
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxMdJubayerFaisalEmon
 
002-functions-and-circuits.ppt
002-functions-and-circuits.ppt002-functions-and-circuits.ppt
002-functions-and-circuits.pptssuser46314b
 
Chapter_2_Boolean_Algebra_and_Logic_Gates.ppt
Chapter_2_Boolean_Algebra_and_Logic_Gates.pptChapter_2_Boolean_Algebra_and_Logic_Gates.ppt
Chapter_2_Boolean_Algebra_and_Logic_Gates.pptMdTahsinAmin2
 

Similar to Admission in india 2015 (20)

BooleanAlgebra.ppt
BooleanAlgebra.pptBooleanAlgebra.ppt
BooleanAlgebra.ppt
 
boolean_algebra.pdf for discrete mathematics
boolean_algebra.pdf for discrete mathematicsboolean_algebra.pdf for discrete mathematics
boolean_algebra.pdf for discrete mathematics
 
Boolean
BooleanBoolean
Boolean
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
 
Math task 3
Math task 3Math task 3
Math task 3
 
Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdf
 
Chapter2 (1).pptx
Chapter2 (1).pptxChapter2 (1).pptx
Chapter2 (1).pptx
 
DLD Chapter-2.pdf
DLD Chapter-2.pdfDLD Chapter-2.pdf
DLD Chapter-2.pdf
 
Chapter 4 logic design
Chapter 4   logic designChapter 4   logic design
Chapter 4 logic design
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 
Boolean algebra and logic gates
Boolean algebra and logic gatesBoolean algebra and logic gates
Boolean algebra and logic gates
 
Chapter 2.pdf
Chapter 2.pdfChapter 2.pdf
Chapter 2.pdf
 
Boolean Algebra DLD
Boolean Algebra DLDBoolean Algebra DLD
Boolean Algebra DLD
 
DigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdfDigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdf
 
Asima Final Presentation.pptx
Asima Final Presentation.pptxAsima Final Presentation.pptx
Asima Final Presentation.pptx
 
CHAPTER_3.1.ppt
CHAPTER_3.1.pptCHAPTER_3.1.ppt
CHAPTER_3.1.ppt
 
sop_pos(DE).pptx
sop_pos(DE).pptxsop_pos(DE).pptx
sop_pos(DE).pptx
 
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
 
002-functions-and-circuits.ppt
002-functions-and-circuits.ppt002-functions-and-circuits.ppt
002-functions-and-circuits.ppt
 
Chapter_2_Boolean_Algebra_and_Logic_Gates.ppt
Chapter_2_Boolean_Algebra_and_Logic_Gates.pptChapter_2_Boolean_Algebra_and_Logic_Gates.ppt
Chapter_2_Boolean_Algebra_and_Logic_Gates.ppt
 

More from Edhole.com

Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarkaEdhole.com
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarkaEdhole.com
 
Website development company surat
Website development company suratWebsite development company surat
Website development company suratEdhole.com
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in suratEdhole.com
 
Website dsigning company in india
Website dsigning company in indiaWebsite dsigning company in india
Website dsigning company in indiaEdhole.com
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhiEdhole.com
 
Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarkaEdhole.com
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarkaEdhole.com
 
Website development company surat
Website development company suratWebsite development company surat
Website development company suratEdhole.com
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in suratEdhole.com
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in indiaEdhole.com
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhiEdhole.com
 
Website designing company in mumbai
Website designing company in mumbaiWebsite designing company in mumbai
Website designing company in mumbaiEdhole.com
 
Website development company surat
Website development company suratWebsite development company surat
Website development company suratEdhole.com
 
Website desinging company in surat
Website desinging company in suratWebsite desinging company in surat
Website desinging company in suratEdhole.com
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in indiaEdhole.com
 

More from Edhole.com (20)

Ca in patna
Ca in patnaCa in patna
Ca in patna
 
Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarka
 
Ca in dwarka
Ca in dwarkaCa in dwarka
Ca in dwarka
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarka
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in surat
 
Website dsigning company in india
Website dsigning company in indiaWebsite dsigning company in india
Website dsigning company in india
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
 
Ca in patna
Ca in patnaCa in patna
Ca in patna
 
Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarka
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarka
 
Ca in dwarka
Ca in dwarkaCa in dwarka
Ca in dwarka
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in surat
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in india
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
 
Website designing company in mumbai
Website designing company in mumbaiWebsite designing company in mumbai
Website designing company in mumbai
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
 
Website desinging company in surat
Website desinging company in suratWebsite desinging company in surat
Website desinging company in surat
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in india
 

Recently uploaded

Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 

Recently uploaded (20)

Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 

Admission in india 2015

  • 1. Admission in India 2015 By: Admission.edhole.com
  • 2. Yes, No, Maybe... Boolean Algebra Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 2
  • 3. Boolean Algebra Boolean algebra provides the operations and the rules for working with the set {0, 1}. These are the rules that underlie electronic circuits, and the methods we will discuss are fundamental to VLSI design. We are going to focus on three operations: • Boolean complementation, • Boolean sum, and • Boolean product Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 3
  • 4. Boolean Operations The complement is denoted by a bar (on the slides, we will use a minus sign). It is defined by -0 = 1 and -1 = 0. The Boolean sum, denoted by + or by OR, has the following values: 1 + 1 = 1, 1 + 0 = 1, 0 + 1 = 1, 0 + 0 = 0 The Boolean product, denoted by  or by AND, has the following values: 1  1 = 1, 1  0 = 0, 0  1 = 0, 0  0 = 0 Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 4
  • 5. Boolean Functions and Expressions Definition: Let B = {0, 1}. The variable x is called a Boolean variable if it assumes values only from B. A function from Bn, the set {(x1, x2, …, xn) |xiB, 1  i  n}, to B is called a Boolean function of degree n. Boolean functions can be represented using expressions made up from the variables and Boolean operations. Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 5
  • 6. Boolean Functions and Expressions The Boolean expressions in the variables x1, x2, …, xn are defined recursively as follows: • 0, 1, x1, x2, …, xn are Boolean expressions. • If E1 and E2 are Boolean expressions, then (-E1), (E1E2), and (E1 + E2) are Boolean expressions. Each Boolean expression represents a Boolean function. The values of this function are obtained by substituting 0 and 1 for the variables in the expression. Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 6
  • 7. Boolean Functions and Expressions For example, we can create Boolean expression in the variables x, y, and z using the “building blocks” 0, 1, x, y, and z, and the construction rules: Since x and y are Boolean expressions, so is xy. Since z is a Boolean expression, so is (-z). Since xy and (-z) are expressions, so is xy + (-z). … and so on… Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 7
  • 8. Boolean Functions and Expressions Example: Give a Boolean expression for the Boolean function F(x, y) as defined by the following table: x y F(x, y) 0 0 0 0 1 1 1 0 0 1 1 0 Possible solution: F(x, y) = (-x)y Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 8
  • 9. Boolean Functions and Expressions Another Example: Possible solution I: F(x, y, z) = -(xz + y) F(x, y, z) 1 1 0 0 z 0 1 0 1 x y 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0 1 1 0 1 0 1 1 1 1 Possible solution II: F(x, y, z) = (-(xz))(-y) Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 9
  • 10. Boolean Functions and Expressions There is a simple method for deriving a Boolean expression for a function that is defined by a table. This method is based on minterms. Definition: A literal is a Boolean variable or its complement. A minterm of the Boolean variables x1, x2, …, xn is a Boolean product y1y2…yn, where yi = xi or yi = -xi. Hence, a minterm is a product of n literals, with one literal for each variable. Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 10
  • 11. Boolean Functions and Expressions Consider F(x,y,z) again: F(x, y, z) = 1 if and only if: x = y = z = 0 or x = y = 0, z = 1 or x = 1, y = z = 0 Therefore, F(x, y, z) = (-x)(-y)(-z) + (-x)(-y)z + x(-y)(-z) F(x, y, z) 1 1 0 0 z 0 1 0 1 x y 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0 1 1 0 1 0 1 1 1 1 Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 11
  • 12. Boolean Functions and Expressions Definition: The Boolean functions F and G of n variables are equal if and only if F(b1, b2, …, bn) = G(b1, b2, …, bn) whenever b1, b2, …, bn belong to B. Two different Boolean expressions that represent the same function are called equivalent. For example, the Boolean expressions xy, xy + 0, and xy1 are equivalent. Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 12
  • 13. Boolean Functions and Expressions The complement of the Boolean function F is the function –F, where –F(b1, b2, …, bn) = -(F(b1, b2, …, bn)). Let F and G be Boolean functions of degree n. The Boolean sum F+G and Boolean product FG are then defined by (F + G)(b1, b2, …, bn) = F(b1, b2, …, bn) + G(b1, b2, …, bn) (FG)(b1, b2, …, bn) = F(b1, b2, …, bn) G(b1, b2, …, bn) Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 13
  • 14. Boolean Functions and Expressions Question: How many different Boolean functions of degree 1 are there? Solution: There are four of them, F1, F2, F3, and F4: x F1 F2 F3 F4 0 0 0 1 1 1 0 1 0 1 Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 14
  • 15. Boolean Functions and Expressions Question: How many different Boolean functions of degree 2 are there? Solution: There are 16 of them, F1, F2, …, F16: x y F2 F3 0 0 0 0 0 1 0 0 1 0 0 1 1 1 1 0 F1 0 0 0 0 F8 0 1 1 1 F7 0 1 1 0 F9 1 0 0 0 F5 0 1 0 0 F4 0 0 1 1 F6 0 1 0 1 F11 1 0 1 0 F10 1 0 0 1 F12 1 0 1 1 F1 4 1 1 0 1 F1 3 1 1 0 0 F1 5 1 1 1 0 Fall 2002 CMSC 203 - Discrete Structures 15 F16 1 1 1 1 Admission.edhole.com
  • 16. Boolean Functions and Expressions Question: How many different Boolean functions of degree n are there? Solution: There are 2n different n-tuples of 0s and 1s. A Boolean function is an assignment of 0 or 1 to each of these 2n different n-tuples. Therefore, there are 22n different Boolean functions. Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 16
  • 17. Duality There are useful identities of Boolean expressions that can help us to transform an expression A into an equivalent expression B (see Table 5 on page 597 in the textbook). We can derive additional identities with the help of the dual of a Boolean expression. The dual of a Boolean expression is obtained by interchanging Boolean sums and Boolean products and interchanging 0s and 1s. Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 17
  • 18. Duality Examples: The dual of x(y + z) is x + yz. The dual of -x1 + (-y + z) is (-x + 0)((-y)z). The dual of a Boolean function F represented by a Boolean expression is the function represented by the dual of this expression. This dual function, denoted by Fd, does not depend on the particular Boolean expression used to represent F. Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 18
  • 19. Duality Therefore, an identity between functions represented by Boolean expressions remains valid when the duals of both sides of the identity are taken. We can use this fact, called the duality principle, to derive new identities. For example, consider the absorption law x(x + y) = x. By taking the duals of both sides of this identity, we obtain the equation x + xy = x, which is also an identity (and also called an absorption law). Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 19
  • 20. Definition of a Boolean Algebra All the properties of Boolean functions and expressions that we have discovered also apply to other mathematical structures such as propositions and sets and the operations defined on them. If we can show that a particular structure is a Boolean algebra, then we know that all results established about Boolean algebras apply to this structure. For this purpose, we need an abstract definition Aodfm ais Bsiooonl.eeadnh aollgee.cborma. Fall 2002 CMSC 203 - Discrete Structures 20
  • 21. Definition of a Boolean Algebra Definition: A Boolean algebra is a set B with two binary operations  and , elements 0 and 1, and a unary operation – such that the following properties hold for all x, y, and z in B: x  0 = x and x  1 = x (identity laws) x  (-x) = 1 and x  (-x) = 0 (domination laws) (x  y)  z = x  (y  z) and (x  y)  z = x  (y  z) and (associative laws) x  y = y  x and x  y = y  x (commutative laws) x  (y  z) = (x  y)  (x  z) and x  (y  z) = (x  y)  (x  z) (distributive laws) Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 21
  • 22. Logic Gates Electronic circuits consist of so-called gates. There are three basic types of gates: x -x x y x+y inverter OR gate AND gate x y xy Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 22
  • 23. Logic Gates Example: How can we build a circuit that computes the function xy + (-x)y ? xy + (-x)y x y xy x -x y (-x)y Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 23
  • 24. The End Admission.edhole.com Fall 2002 CMSC 203 - Discrete Structures 24