Module 1 dms
Module 1 dms
Distributive law
4. Explain Identity, Inverse, DE
Morgan’s laws on sets
De morgan’s law
Identity law:
AUØ=A
LHS : AUØ = A or Ø
= A [ Ø has no element ]
A =A
LHS : A= A AND
=A[ all the elements of A are also
in ]
Inverse law :
AU❑ =U ❑
A❑ =Ø
❑
+x^2+3x+3=0}
❑ +4=6
❑
❑
❑
√❑
16.Find A Δ B if A={0,3},B={2,7},U=R
Universal set is equal to real numbers
A={0,3}
B={2,7}
A B = {0,3,2,7}
17.Explain about representation of sets
Degree No of Boolean
function of degree
n
N=1 2 =4
1
2
N=2 2 =16
2
2
N=3 2 =256
3
2
N=4 2 =65536
4
2
4)
← ←
0. 0 , = 0
1+ 1 = 1
←
1+0. = 1
←
5) Find the values if any of the
Boolean variable x that satisfy the
equations x.1=0, x + x=0, x.1=x
x.1=0 : This satisfies the Boolean
variable of x =0
x + x=0 : This satisfies the Boolean
variable of x =0,1
x.1=x : This satisfies the Boolean
variable of x =0,1
6) What values of the Boolean
variables x & y satisfies xy=x + y
For both x=1 and y =1 it satisfies the
equation even x=0 and y=0 it satisfies
the above equation by Boolean
variables.
7) Explain about Idempotent laws,
Identity laws, Double complement
law
Idempotent law:A+A =A A.A=A
Ex : If A = 1, then 1+1 =1 and 1.1 =1
If A = 0 , then 0 +0 =0 and 0.0=0
Identity laws: A+0=A A.1=A
Ex: If A = 1, then 1+0 =1 and 1.1 =1
If A = 0 , then 0 +0 =0 and 0.1=0
Double complement law: 7(7A) =A
If A = 1, then 7A = 0 and 7(7A)= 1
If A = 0 , then 7A = 1 and 7(7A)= 0
Domination law :
A+1=1
A.0=0-
A A+1 A.0
0 1 0
1 1 0
NOT Gates:
This takes the values of one Boolean
variable as input and produces the
complement of this value as output .
The symbol is used for this invertor x
complement( x ¿
12)[10)] Explain types of gates with
truth tables
AND Gates :
x y x.y
0 0 0
0 1 0
1 0 0
1 1 1
OR Gates :
x y x+y
0 0 0
0 1 1
1 0 1
1 1 1
NOT Gates
x (x ¿)¿
0 1
1 0
∣M∪P∣=∣M∣+∣P∣−∣M∩P∣
physics, or both ()
= 18+12-10
= 20
6. How many ways can you arrange
4 boys and 3 girls in a line such that
all the boys are standing
together?
7. In a school, there are 6 different
science textbooks, 5 different history
textbooks, and 4 different
math textbooks. How many ways
can a student choose one book from
each subject?
There are 6 science text books
There are 5 history text books
There are 4 math text books
student choose one book from each
subject 6.5.4 = 120
8. How many ways can you arrange
the letters in the word
"EXAMINATION"?
Total number letters in
‘EXAMINATION’ =11
Repeated letters = A(2) , I(2) , N(2)
Total arrangement : ❑❑ = ❑❑ = ❑❑
= 4989600
9. How many ways can you select 4
people from a group of 12?
❑❑
Combination formula : ❑ () = ❑❑ = ❑❑ =
495
10. How many ways can a 5-digit
phone number be created if the first
digit must be non-zero, and the
last digit must be even?
First digit (non – zero) = 9 choices (1-
9)
Last digit (even) = 5 (0,2,4,6,8)
Middle 3 digits : 10 choices each (0-9)
Total = 9.10^3.5 =9.1000.5= 45000
11. A library has 15 history books, 10
science books, and 5 literature
books. If a student can borrow only
one book, how many different
choices do they have?
A library has 15 history books
A library has 10 science books
A library has 5 literature books
student can borrow only one book so
these many different choices do they
have 15+10+5 =30
connected graph :
5) Explain about sub graph, spanning sub
graph, complete graph
sub graph: Let’G’ be a graph , the graph, the
graph ‘H’ is said to be sun graph of G if and
only if
spanning sub graph: A subgraph ‘H’ of a
graph ‘G’ is said to be spanning sub – graph if
‘H’ contains all the vertices of G
complete graph:
A graph ‘G’ is said to be complete graph if
there exists exactly one edge between each
pair of distinct vertices.
A complete graph is denoted by Kn, where n
represents no of vertices in a graph
6) Explain about multi graph, Directed
graph, degree, in degree, out degree of a
vertex in a graph
multi graph: A graph which contains more
than one edge between any 2 vertices then it is
called as multi graph
EX :
1 1 1 1 1
4. (p^q) → p is
p q p^q (p^q) → p
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 1
5. Explain commutative, Associative,
Distributive laws
6. Explain Domination, Absorption,
Negation laws
Domination law:
PvT =T and P^F = F
P T F PvT P^F
1 1 0 1 0
0 1 0 1 0
Absorption law:
A+(A.B) =A
A.(A+B)=A
A B A.B A+(A.B) A+B A.(A+B)
0 0 0 0 0 0
0 1 0 0 1 0
1 0 0 1 1 1
1 1 1 1 1 1
Negation law :
P 7P
0 1
1 0
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
From the value we observe that the truth value of
NAND is false when the both the value are true
NOR : NOR is also logical connective which
is a combination of NOT and OR . it is denoted by
p↓q
Truth value : 7(pvq) = p↓q
p q pvq 7(pvq) = p↓q
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
0 0 1 1 1
0 1 1 1 1
1 0 0 0 0
1 1 0 1 1