SlideShare a Scribd company logo
1 of 13
MCS-013 Solved Assignments Ignou 2011

Find me at

http://www.facebook.com/yagnesh.shenoy

Question 1:
a) Make truth table for
i)
~p→(q
Ans:



~ r)

 ~p  q

p

q

r

~p

~r

(q V ~r)

(~p ^ q)

(q V ~r) ^ (~p ^ q)

0
0
0
0
1
1
1
1

0
0
1
1
0
0
1
1

0
1
0
1
0
1
0
1

1
1
1
1
0
0
0
0

1
0
1
0
1
0
1
0

1
0
1
1
1
0
1
1

0
0
1
1
0
0
0
0

0
0
1
1
0
0
0
0

i)

~p→r



~q

q

r

~p

~q

~r

(~q ^ ~p)

[r V(~q ^ ~p)]

0
0
0
0
1
1
1
1

0
0
1
1
0
0
1
1

0
1
0
1
0
1
0
1

1
1
1
1
0
0
0
0

1
1
0
0
1
1
0
0

1
0
1
0
1
0
1
0

1
1
0
0
0
0
0
0

1
1
0
1
0
1
0
1

b)

.d
w

1
1
1
1
1
1
1
1

~ r)

 ~p  q

et
k.n
e

ge
ar
e
[(r V (~q ^ ~p)) V ~r]



0
0
1
1
1
1
1
1

 ~p  ~r

p

ww

~p→(q

~p→r



~q

 ~p  ~r

1
1
1
1
0
0
0
0

What are conditional connectives? Explain use of conditional connectives with an example.

Ans:
Given any two propositions p and q, we denote the statement ‘If p, then q’ by p → q. We also read this as ‘p implies q’. or ‘p is
sufficient for q’, or ‘p only if q’. We also call p the hypothesis and q the conclusion. Further, a statement of the form p → q is called a
conditional statement or a conditional proposition.
So, for example, in the conditional proposition ‘If m is in Z, then m belongs to Q.’ the hypothesis is ‘m  Z’ and the conclusion is ‘m 
Q’.
Mathematically, we can write this statement as
m  Z → m  Q.
Let us analyse the statement p → q for its truth value. Do you agree with the truth table we’ve given below (Table 3)? You may like to
check it out while keeping an example from your surroundings in mind.
Table 3: Truth table for implication
p
T
T
F
F

q
T
F
T
F

p-q
T
F
T
T

Eg
‘If Ayesha gets 75% or more in the examination, then she will get an A grade for the course.’. We can write this statement as ‘If p, and q’,
where
p: Ayesha gets 75% or more in the examination, and
q: Ayesha will get an A grade for the course.
therefore, P-Q
c)

Write down suitable mathematical statement that can be represented by the following symbolic properties.
i)
(  x) (  y) (  z) P
ii)
 (x) (  y) (  z) P

Question 2:
a) What is proof? Explain method of direct proof with the help of one example.
Ans :
A proof of a proposition p is a mathematical argument consisting of a sequence
of statements p1 , p2 , · · · , pn from which p logically follows. So, p is the conclusion of this argument.
The statement that is proved to be true is called a theorem.
Direct Proof

et
k.n
e

This form of proof is based entirely on modus ponens. Let us formally spell out the strategy.
Definition: A direct proof of p ⇒ q is a logically valid argument that begins with the assumptions that p is true and, in one or
more applications of the law of detachment, concludes that q must be true.
So, to construct a direct proof of p ⇒ q, we start by assuming that p is true. Then, in one or more steps of the form p ⇒ q1, q1⇒
q2, ……., qn ⇒ q, we conclude that q is true. Consider the following examples

ge
ar
e

Example : Give a direct proof of the statement ‘The product of two odd integers is odd’.
Solution: Let us clearly analyse what our hypotheses are, and what we have to prove.
We start by considering any two odd integers x and y. So our hypothesis is p: x and y are odd.
The conclusion we want to reach is
q: xy is odd.
Let us first prove that p ⇒ q.
Since x is odd, x = 2m + 1 for some integer m.
Similarly, y = 2n + 1 for some integer n.
Then xy = (2m + 1) (2n + 1) = 2(2mn + m + n) +1
Therefore, xy is odd.
So we have shown that p ⇒ q.

ww

.d
w

Now we can apply modus ponens to p ∧ ( p ⇒ q) to get the required conclusion.

b) Show whether
Ans:

17 is rational or irrational.

Let us try and prove the given statement by contradiction. For this, we begin by assuming that
that there exist positive integers a and b such that

17

is rational. This means

17 = a/b, where a and b have no common factors.

This implies a = 17 b
⇒ a2 = 17b2
⇒ 17 | a2 ⇒ 17 | a.
Therefore, by definition, a = 17c for some c ∈ Z.
Therefore, a2 = 289c2.
But a2 = 17b2 also.
So 289c2 = 17b2 ⇒ 17c2 = b2 ⇒ 17 | b2 ⇒ 17 | b
But now we find that 17 divides both a and b, which contradicts our earlier assumption that a and b have no common factor.
Therefore, we conclude that our assumption that

17

is rational is false, i.e,

17

is irrational.

Question 3:
a)
Ans :

What is Boolean algebra? Explain how Boolean algebra methods are used in logic circuit

design.
Definition: A Boolean algebra B is an algebraic structure which consists of a set X (≠ Ø) having two binary operations
(denoted by ∨ and ∧), one unary operation (denoted by ' ) and two specially defined elements O and I (say), which satisfy the
following five laws for all x, y, z ∈ X.
B1. Associative Laws:
x ∨ (y ∨ z) = (x ∨ y) ∨ z,
x ∧ (y ∧ z) = (x ∧ y) ∧ z
B2. Commutative Laws:
x ∨ y = y ∨ x,
x∧y=y∧x
B3. Distributive Laws:
x ∨ (y ∧ z) = (x ∨ y) ∧ (x ∨ z),
x ∧ (y ∨ z) = (x ∧ y) ∨ (x ∧ z)
B4. Identity Laws:
x ∨ O = x,
x∧I=x
B5. Complementation Laws:
x ∧ x' = O,
x ∨ x'= I.
We write this algebraic structure as B = (X, ∨, ∧, ' , O, I), or simply B, if the context makes the meaning of the other terms clear.
The two operations ∨ and ∧ are called the join operation and meet operation, respectively. The unary operation ' is called the
complementation.
Boolean algebra methods to circuit design.
While expressing circuits mathematically, we identify each circuit in terms of some Boolean variables. Each of these variables represents
either a simple switch or an input to some electronic switch.

et
k.n
e

Definition: Let B = (S, ∨, ∧, ', O, I) be a Boolean algebra. A Boolean expression in variables
x1, x2 , . . . , xk (say), each taking their values in the set S is defined recursively as follows:
i) Each of the variables x1 , x2 , . . . , xk , as well as the elements O and I of the Boolean algebra B are Boolean expressions.
ii) If X1 and X2 are previously defined Boolean expressions, then X1 ∧ X2 , X1 ∨ X 2 and X'1 are also Boolean expressions.
For instance, x1 ∧ x'3 is a Boolean expression because so are x1 and x'3 , Similarly,
because x1 ∧ x2 is a Boolean expression, so is (x1 ∧ x2 ) ∧ (x1 ∧ x'3 ).
If X is a Boolean expression in n variables x1 , x2 , . . . , xn (say), we write this as
X = X(x1 , . . . , xn ) .
In the context of simplifying circuits, we need to reduce Boolean expressions to simpler ones. `Simple' means that the expression has
fewer connectives, and all the literals involved are distinct. We illustrate this technique now.

ww

.d
w

ge
ar
e

Example : Reduce the following Boolean expressions to a simpler form.
X(x1, x2 ) = (x1 ∧ x2 ) ∧ (x1 ∧ x'2 );
Solution: (a) Here we can write
(x1 ∧ x2 ) ∧ (x1 ∧ x'2 ) = ((x1 ∧ x2 ) ∧ x1 ) ∧ x'2 (Associative law)
= (x1 ∧ x2) ∧ x'2 (Absorption law)
= x1 ∧ (x2 ∧ x'2 ) (Associative law)
= x1 ∧ O (Complementation law)
= O. (Identity law)
Thus, in its simplified form, the expression given in (a) above is O, i.e., a null expression.
b)
Ans :

If p and q are statements, show whether the statement [(~p→q)
is a tautology or not.



(q)] → (p



~q)

Tautology :
A compound proposition that is true for all possible truth values of the simple propositions involved in it is called a tautology.
p
q ~p
~q
~p -q
(p  ~q)
[(~p→q)  (q)] → (p  ~q)
[(~p→q)  (q)]
0
0
1
1
0
0
1
1
0
1
1
0
1
1
0
0
1
0
0
1
1
0
1
1
1
1
0
0
1
1
1
1

Question 4:
a) Make logic circuit for the following Boolean expressions:
i)

(x′.y + z) + (x+y+z)′ +(x+y+z)
X

Y

Z

O

(ii) ( x'+y).(y′+ z).(y+z′+x′)

X

Y

Z

ge
ar
e
O

ww

.d
w

et
k.n
e

b) What is dual of a Boolean expression? Find dual of boolean expression of the
output of the following logic circuit:
Ans:

If p is a proposition involving ~, ∧ and ∨, the dual of p, denoted by pd, is the proposition obtained by replacing each occurrence
of ∧ (and/or ∨) in p by ∨ (and/or ∧, respectively) in pd .

For example, x ∨ (x ∧ y) = x is the dual of x ∧(x ∨ y) = x.
The principle of duality: If s is a theorem about a Boolean algebra, then so is its dual sd .
Corresponding dual expressions of given figures:
Fig(a) :Given expression = [{(A’ + B) + B’}’ . C]’
Dual of expression = [{(A’. B) . B’}’ + C]’
Fig(b) : Given expression = [(A.B)+{(B’+C)}’]’
Dual of expression = [(A+B).{(B’.C)}’]’
c) Set A,B and C are:
A = {1, 2, 3, 4, 5,6,9,19,15}, B = { 1,2,5,22,33,99 } and C { 2, 5,11,19,15},
Find A  B  C and A  B  C
A

 B C

A

Ans :



B C

= {1,2,3,4,5,6,9,19,15,22,33,99} U {2,5,11,15,19}
 {1,2,3,4,5,6,9,11,15,19,22,33,99}

Question 5:
a) Draw a Venn diagram to represent followings:
i)

(A



B)



(C~B)

ww

A

(A  B)

.d
w
B

C
ii)

et
k.n
e

= {1,2,5}U{2,5,11,19,15}
 {1,2,5,11,19,15}



(B  C)

ge
ar
e
U
A

B

C

b) Give geometric representation for following
i)

R x { 3}

Y

ii)

ww

ge
ar
e

3
2
1
-3-2-10123
-1
-2
-3

.d
w

et
k.n
e
X

{-1, -2) x (-3, -3)

Y

3
2
1
-3 -2 -1 0 1 2 3
-1
-2
(-2,-3)
-3

X

(-1,-3)

c) What is counterexample? Explain the use of counterexample with the help of an example.
Ans:
In logic, and especially in its applications to mathematics and philosophy, a counterexample is an exception to a proposed general rule.
For example, consider the proposition all students are lazy. Because this statement makes the claim that a certain property (laziness)
holds for all students, even a single example of a diligent student will prove it false. Thus, any hard-working student is a counterexample
to all students are lazy. More precisely, a counterexample is a specific instance of the falsity of a universal quantification (a for all
statement).
In mathematics, this term is (by a slight abuse) also sometimes used for examples illustrating the necessity of the full hypothesis of a
theorem, by considering a case where a part of the hypothesis is not verified, and where one can show that the conclusion does not
hold.[citation needed]A counterexample may be local or global in an argument.
eg
Suppose that a mathematician is studying geometry and shapes, and she wishes to prove certain theorems about them. She conjectures
that All rectangles are squares. She can either attempt to prove the truth of this statement using deductive reasoning, or if she suspects
that her conjecture is false, she might attempt to find a counterexample. In this case, a counterexample would be a rectangle that is not a
square, like a rectangle with two sides of length 5 and two sides of length 7. However, despite having found rectangles that were not
squares, all the rectangles she did find had four sides. She then makes the new conjecture All Rectangles have four sides. This is weaker
than her original conjecture, since every square has four sides, even though not every four-sided shape is a square.
The previous paragraph explained how a mathematician might weaken her conjecture in the face of counterexamples, but
counterexamples can also be used to show that the assumptions and hypothesis are needed. Suppose that after a while the mathematician
in question settled on the new conjecture All shapes that are rectangles and have four sides of equal length are squares. This conjecture
has two parts to the hypothesis: the shape must be 'a rectangle' and 'have four sides of equal length' and the mathematician would like to
know if she can remove either assumption and still maintain the truth of her conjecture. So she needs to check the truth of the statements:
(1) All shapes that are rectangles are squares and (2) All shapes that have four sides of equal length are squares. A counterexample to
(1) was already given, and a counterexample to (2) is a parallelogram or a diamond. Thus the mathematician sees that both assumptions
were necessary.
Question 6:
a)

What is inclusion-exclusion principle? Also explain one application of inclusion-exclusion principle.

et
k.n
e

ww

.d
w

ge
ar
e
et
k.n
e

ww

.d
w

ge
ar
e

b) Find inverse of the following functions

f(x) =

ii)

x3  5
x3

x3

f(x) =

i)

x3  7
x2  4

x  2

Question 7:
a)

Find how many 4 digit numbers are even? How many 4 digit numbers are composed of odd digits.
Ans
4 digit numbers number means we have to put 0-9 digit at 4 places....ABCD
at the position of A (first place) we can put any digit 1-9 not 0, otherwise it will not a 4 digit number, so by 9 ways
at the position of B (second place) we can put 0-9 i.e by 10 ways...
at the position of C (third place) we can put 0-9 i.e by 10 ways...
at the position of D (fourth place) we can put 0,2,4,6 or 8 i.e by 5 ways...
so, total no. of digit = 9*10*10*5 = 4500
Total no. of four digit even numbers =4500
Ii)
Since we need only those four digit numbers ,whose digits are odd,
This can be in following ways
There can only be 1,3,5,7,9 numbers at each place in following ways
First place= 5ways
Second place = 5 ways
Third place=5 ways
Fourth place=5ways
So total numbers = 5x5x5x5=625
b) How many different 15 persons committees can be formed each containing at least
2 Accountants and at least 3 Managers from a set of 10 Accountants and 12 Managers.
Ans:
3 Accountants and 12 Managers in C(10,3)*C(12,12)=120 WAYS
4 Accountants and 11 Managers in C(10,4)*C(12,11)=2520 WAYS
5 Accountants and 10 Managers in C(10,5)*C(12,10) =16632 ways
6  and 9  in C(10,6)*C(12,9)=46200 ways
7  and 8  in C(10,7)*C(12,8)=59400 ways
8  and 7  in C(10,8)*C(12,7)=35640 ways
9  and 6  in C(10,9)*C(12,6)=9240 ways
10  and 5  in C (10,10)*C(12,5)=792 ways

ww

.d
w

ge
ar
e

therefore different committees can be formed in
(120+2520+16632+46200+59400+35640+9240+792)= 170544 ways
b)

et
k.n
e

What is a function? Explain one to one mapping with an example.
et
k.n
e

Question 8:
a)

What is Demorgan’s Law? Also explain the use of Demorgen’s law with example?

ww

.d
w

ge
ar
e
et
k.n
e

ww

.d
w

ge
ar
e
et
k.n
e

ww

.d
w

ge
ar
e

b) How many ways are there to distribute 15 district object into 5 distinct boxes with
i)
At least two empty box.
15
Ans:
P3= 15!/(15-3)!
15!/12! = 2730
ii)
Ans

c)

No empty box.
c(15,5)=15!/5!(15-5)!
= 21 x 13x 11
= 3003
In a fifteen question true false examination a student must achieve five correct
answers to pass. If student answer randomly what is the probability that student will fail.
Ans:
5

C1 + 5C2 + 5C3 +5C4+ 5C5

so, n(s) =

15

C5

5

so, P(E) = ( C1 + 5C2 + 5C3 +5C4+ 5C5)/(15C5)
= (5+10+10+5+1)/2983
= 0.010

et
k.n
e

ww

.d
w

ge
ar
e

More Related Content

What's hot

Đáp án chính thức môn Hóa - Khối A - Kỳ thi Đại học năm 2010
Đáp án chính thức môn Hóa - Khối A - Kỳ thi Đại học năm 2010Đáp án chính thức môn Hóa - Khối A - Kỳ thi Đại học năm 2010
Đáp án chính thức môn Hóa - Khối A - Kỳ thi Đại học năm 2010dethinet
 
Soal osk matematika smp 2017
Soal osk matematika smp 2017Soal osk matematika smp 2017
Soal osk matematika smp 2017Desty Erni
 
Soal osn-matematika-sma-tingkat-kab-2002-s-d-2011
Soal osn-matematika-sma-tingkat-kab-2002-s-d-2011Soal osn-matematika-sma-tingkat-kab-2002-s-d-2011
Soal osn-matematika-sma-tingkat-kab-2002-s-d-2011YuvitaDewi2
 
49 ejercicios potencias, ecuación exponencial, función exponencial
49 ejercicios potencias, ecuación exponencial, función exponencial49 ejercicios potencias, ecuación exponencial, función exponencial
49 ejercicios potencias, ecuación exponencial, función exponencialMarcelo Calderón
 
17 ecuación de primer grado
17 ecuación de primer grado17 ecuación de primer grado
17 ecuación de primer gradoMarcelo Calderón
 
54 ecuación 2do grado y función cuadrática
54 ecuación 2do grado y función cuadrática54 ecuación 2do grado y función cuadrática
54 ecuación 2do grado y función cuadráticaMarcelo Calderón
 
Soal osn matematika 2019
Soal osn matematika 2019Soal osn matematika 2019
Soal osn matematika 2019MJUNAEDI1961
 
Australian Year 2 Assessment Sample
Australian Year 2 Assessment SampleAustralian Year 2 Assessment Sample
Australian Year 2 Assessment SampleTeejay Maths
 
Contoh salah satu subpembahasan buku JAWARA OLIMPIADE OMITS SMP
Contoh salah satu subpembahasan buku JAWARA OLIMPIADE OMITS SMPContoh salah satu subpembahasan buku JAWARA OLIMPIADE OMITS SMP
Contoh salah satu subpembahasan buku JAWARA OLIMPIADE OMITS SMPMohamad TafrikanDemak
 
20 ejercicios planteamientos
20 ejercicios planteamientos20 ejercicios planteamientos
20 ejercicios planteamientosMarcelo Calderón
 
Soal try out UN Matematika SD Muh. Banjaran Tahun 2012 paket
Soal try out UN Matematika SD Muh. Banjaran Tahun 2012 paketSoal try out UN Matematika SD Muh. Banjaran Tahun 2012 paket
Soal try out UN Matematika SD Muh. Banjaran Tahun 2012 paketarif widyatma
 

What's hot (17)

Đáp án chính thức môn Hóa - Khối A - Kỳ thi Đại học năm 2010
Đáp án chính thức môn Hóa - Khối A - Kỳ thi Đại học năm 2010Đáp án chính thức môn Hóa - Khối A - Kỳ thi Đại học năm 2010
Đáp án chính thức môn Hóa - Khối A - Kỳ thi Đại học năm 2010
 
Soal osk matematika smp 2017
Soal osk matematika smp 2017Soal osk matematika smp 2017
Soal osk matematika smp 2017
 
Soal osn-matematika-sma-tingkat-kab-2002-s-d-2011
Soal osn-matematika-sma-tingkat-kab-2002-s-d-2011Soal osn-matematika-sma-tingkat-kab-2002-s-d-2011
Soal osn-matematika-sma-tingkat-kab-2002-s-d-2011
 
49 ejercicios potencias, ecuación exponencial, función exponencial
49 ejercicios potencias, ecuación exponencial, función exponencial49 ejercicios potencias, ecuación exponencial, función exponencial
49 ejercicios potencias, ecuación exponencial, función exponencial
 
17 ecuación de primer grado
17 ecuación de primer grado17 ecuación de primer grado
17 ecuación de primer grado
 
37 guía acumulativa-
37  guía acumulativa-37  guía acumulativa-
37 guía acumulativa-
 
54 ecuación 2do grado y función cuadrática
54 ecuación 2do grado y función cuadrática54 ecuación 2do grado y función cuadrática
54 ecuación 2do grado y función cuadrática
 
Himpunan
HimpunanHimpunan
Himpunan
 
Soal soal trigonometri
Soal soal trigonometriSoal soal trigonometri
Soal soal trigonometri
 
Soal osn matematika 2019
Soal osn matematika 2019Soal osn matematika 2019
Soal osn matematika 2019
 
56 guía ejercitación-
56  guía ejercitación-56  guía ejercitación-
56 guía ejercitación-
 
Đề Thi HK2 Toán 9 - THCS Đa Phước
Đề Thi HK2 Toán 9 - THCS  Đa PhướcĐề Thi HK2 Toán 9 - THCS  Đa Phước
Đề Thi HK2 Toán 9 - THCS Đa Phước
 
Australian Year 2 Assessment Sample
Australian Year 2 Assessment SampleAustralian Year 2 Assessment Sample
Australian Year 2 Assessment Sample
 
Contoh salah satu subpembahasan buku JAWARA OLIMPIADE OMITS SMP
Contoh salah satu subpembahasan buku JAWARA OLIMPIADE OMITS SMPContoh salah satu subpembahasan buku JAWARA OLIMPIADE OMITS SMP
Contoh salah satu subpembahasan buku JAWARA OLIMPIADE OMITS SMP
 
Dimensi tiga
Dimensi tigaDimensi tiga
Dimensi tiga
 
20 ejercicios planteamientos
20 ejercicios planteamientos20 ejercicios planteamientos
20 ejercicios planteamientos
 
Soal try out UN Matematika SD Muh. Banjaran Tahun 2012 paket
Soal try out UN Matematika SD Muh. Banjaran Tahun 2012 paketSoal try out UN Matematika SD Muh. Banjaran Tahun 2012 paket
Soal try out UN Matematika SD Muh. Banjaran Tahun 2012 paket
 

Viewers also liked

IGNOU Assembly Language Programming
IGNOU Assembly Language ProgrammingIGNOU Assembly Language Programming
IGNOU Assembly Language ProgrammingDr. Loganathan R
 
MCS 012 computer organisation and assembly language programming assignment…
MCS 012 computer organisation and assembly language programming assignment…MCS 012 computer organisation and assembly language programming assignment…
MCS 012 computer organisation and assembly language programming assignment…Dr. Loganathan R
 
Digital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsDigital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsLekashri Subramanian
 
Domestic Workers: Human Rights Abuses and Discrimination in the Workforce
Domestic Workers: Human Rights Abuses and Discrimination in the WorkforceDomestic Workers: Human Rights Abuses and Discrimination in the Workforce
Domestic Workers: Human Rights Abuses and Discrimination in the Workforcembeach2
 
Ignou mca mcs 12 solved assignment 2011
Ignou mca mcs 12 solved assignment 2011Ignou mca mcs 12 solved assignment 2011
Ignou mca mcs 12 solved assignment 2011Subeesh Up
 
Turning Big Data Into Smart Data: A Yashi Presentation
Turning Big Data Into Smart Data: A Yashi PresentationTurning Big Data Into Smart Data: A Yashi Presentation
Turning Big Data Into Smart Data: A Yashi PresentationYashi
 
(Www.entrance exam.net)-ignou mca solved assignment 2011
(Www.entrance exam.net)-ignou mca  solved assignment 2011(Www.entrance exam.net)-ignou mca  solved assignment 2011
(Www.entrance exam.net)-ignou mca solved assignment 2011swatith
 
SAMBIT MOHANTY_B.TECH_FRESHER
SAMBIT MOHANTY_B.TECH_FRESHERSAMBIT MOHANTY_B.TECH_FRESHER
SAMBIT MOHANTY_B.TECH_FRESHERSAMBIT MOHANTY
 

Viewers also liked (20)

Mcs 015 solve assignment
Mcs 015 solve assignmentMcs 015 solve assignment
Mcs 015 solve assignment
 
Mcs 012 soved assignment 2015-16
Mcs 012 soved assignment 2015-16Mcs 012 soved assignment 2015-16
Mcs 012 soved assignment 2015-16
 
IGNOU Assembly Language Programming
IGNOU Assembly Language ProgrammingIGNOU Assembly Language Programming
IGNOU Assembly Language Programming
 
Mcs 011 solved assignment 2015-16
Mcs 011 solved assignment 2015-16Mcs 011 solved assignment 2015-16
Mcs 011 solved assignment 2015-16
 
Principal of duality
Principal of dualityPrincipal of duality
Principal of duality
 
MCS 012 computer organisation and assembly language programming assignment…
MCS 012 computer organisation and assembly language programming assignment…MCS 012 computer organisation and assembly language programming assignment…
MCS 012 computer organisation and assembly language programming assignment…
 
Mcs 17 solved assignment 2015- 16
Mcs 17 solved assignment 2015- 16Mcs 17 solved assignment 2015- 16
Mcs 17 solved assignment 2015- 16
 
Eco 02 question paper
Eco 02 question paperEco 02 question paper
Eco 02 question paper
 
IgnouBCA
IgnouBCAIgnouBCA
IgnouBCA
 
Digital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsDigital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 units
 
Domestic Workers: Human Rights Abuses and Discrimination in the Workforce
Domestic Workers: Human Rights Abuses and Discrimination in the WorkforceDomestic Workers: Human Rights Abuses and Discrimination in the Workforce
Domestic Workers: Human Rights Abuses and Discrimination in the Workforce
 
2012 bcsl-021 solve assihnment
2012 bcsl-021 solve assihnment2012 bcsl-021 solve assihnment
2012 bcsl-021 solve assihnment
 
Ignou mca mcs 12 solved assignment 2011
Ignou mca mcs 12 solved assignment 2011Ignou mca mcs 12 solved assignment 2011
Ignou mca mcs 12 solved assignment 2011
 
Turning Big Data Into Smart Data: A Yashi Presentation
Turning Big Data Into Smart Data: A Yashi PresentationTurning Big Data Into Smart Data: A Yashi Presentation
Turning Big Data Into Smart Data: A Yashi Presentation
 
(Www.entrance exam.net)-ignou mca solved assignment 2011
(Www.entrance exam.net)-ignou mca  solved assignment 2011(Www.entrance exam.net)-ignou mca  solved assignment 2011
(Www.entrance exam.net)-ignou mca solved assignment 2011
 
Sample Resume Format for Fresher
Sample Resume Format for FresherSample Resume Format for Fresher
Sample Resume Format for Fresher
 
SAMBIT MOHANTY_B.TECH_FRESHER
SAMBIT MOHANTY_B.TECH_FRESHERSAMBIT MOHANTY_B.TECH_FRESHER
SAMBIT MOHANTY_B.TECH_FRESHER
 
Mcs 014 solved assignment 2015-16
Mcs 014 solved assignment 2015-16Mcs 014 solved assignment 2015-16
Mcs 014 solved assignment 2015-16
 
Duality concept
Duality conceptDuality concept
Duality concept
 
Chandrasekhar b.tech fresher resume
Chandrasekhar b.tech fresher resumeChandrasekhar b.tech fresher resume
Chandrasekhar b.tech fresher resume
 

Similar to Mcs 013 solve assignment

Imc2020 day1&2 problems&solutions
Imc2020 day1&2 problems&solutionsImc2020 day1&2 problems&solutions
Imc2020 day1&2 problems&solutionsChristos Loizos
 
Algorithmic foundations.docx
Algorithmic foundations.docxAlgorithmic foundations.docx
Algorithmic foundations.docxedwin orege
 
Mid semexam | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
Mid semexam | Theory of Computation | Akash Anand | MTH 401A | IIT KanpurMid semexam | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
Mid semexam | Theory of Computation | Akash Anand | MTH 401A | IIT KanpurVivekananda Samiti
 
Study materialfor class 10 Mathematics
Study materialfor class 10  MathematicsStudy materialfor class 10  Mathematics
Study materialfor class 10 MathematicsMD. G R Ahmed
 
Common Fixed Point Theorems in Uniform Spaces
Common Fixed Point Theorems in Uniform SpacesCommon Fixed Point Theorems in Uniform Spaces
Common Fixed Point Theorems in Uniform SpacesIJLT EMAS
 
17-mathematical-induction.ppt
17-mathematical-induction.ppt17-mathematical-induction.ppt
17-mathematical-induction.pptRishabhNath3
 
17-mathematical-induction.ppt
17-mathematical-induction.ppt17-mathematical-induction.ppt
17-mathematical-induction.pptSintaVeDe
 
Boolean Programs and Quantified Propositional Proof System -
Boolean Programs and Quantified Propositional Proof System - Boolean Programs and Quantified Propositional Proof System -
Boolean Programs and Quantified Propositional Proof System - Michael Soltys
 
On Some Geometrical Properties of Proximal Sets and Existence of Best Proximi...
On Some Geometrical Properties of Proximal Sets and Existence of Best Proximi...On Some Geometrical Properties of Proximal Sets and Existence of Best Proximi...
On Some Geometrical Properties of Proximal Sets and Existence of Best Proximi...BRNSS Publication Hub
 
2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and DimensionCeni Babaoglu, PhD
 

Similar to Mcs 013 solve assignment (20)

Lemh1a1
Lemh1a1Lemh1a1
Lemh1a1
 
Lemh1a1
Lemh1a1Lemh1a1
Lemh1a1
 
Imc2016 day1-solutions
Imc2016 day1-solutionsImc2016 day1-solutions
Imc2016 day1-solutions
 
Math Assignment Help
Math Assignment HelpMath Assignment Help
Math Assignment Help
 
Imc2020 day1&2 problems&solutions
Imc2020 day1&2 problems&solutionsImc2020 day1&2 problems&solutions
Imc2020 day1&2 problems&solutions
 
Algorithmic foundations.docx
Algorithmic foundations.docxAlgorithmic foundations.docx
Algorithmic foundations.docx
 
Mid semexam | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
Mid semexam | Theory of Computation | Akash Anand | MTH 401A | IIT KanpurMid semexam | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
Mid semexam | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
 
Imc2017 day1-solutions
Imc2017 day1-solutionsImc2017 day1-solutions
Imc2017 day1-solutions
 
G03201034038
G03201034038G03201034038
G03201034038
 
Study materialfor class 10 Mathematics
Study materialfor class 10  MathematicsStudy materialfor class 10  Mathematics
Study materialfor class 10 Mathematics
 
Common Fixed Point Theorems in Uniform Spaces
Common Fixed Point Theorems in Uniform SpacesCommon Fixed Point Theorems in Uniform Spaces
Common Fixed Point Theorems in Uniform Spaces
 
17-mathematical-induction.ppt
17-mathematical-induction.ppt17-mathematical-induction.ppt
17-mathematical-induction.ppt
 
17-mathematical-induction.ppt
17-mathematical-induction.ppt17-mathematical-induction.ppt
17-mathematical-induction.ppt
 
Probability theory
Probability theoryProbability theory
Probability theory
 
Boolean Programs and Quantified Propositional Proof System -
Boolean Programs and Quantified Propositional Proof System - Boolean Programs and Quantified Propositional Proof System -
Boolean Programs and Quantified Propositional Proof System -
 
Bc0039
Bc0039Bc0039
Bc0039
 
6e-ch4.ppt
6e-ch4.ppt6e-ch4.ppt
6e-ch4.ppt
 
7_AJMS_246_20.pdf
7_AJMS_246_20.pdf7_AJMS_246_20.pdf
7_AJMS_246_20.pdf
 
On Some Geometrical Properties of Proximal Sets and Existence of Best Proximi...
On Some Geometrical Properties of Proximal Sets and Existence of Best Proximi...On Some Geometrical Properties of Proximal Sets and Existence of Best Proximi...
On Some Geometrical Properties of Proximal Sets and Existence of Best Proximi...
 
2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension
 

More from Indira Gnadhi National Open University (IGNOU) (12)

Mcs 16 solved assignment 2015-16
Mcs 16 solved assignment 2015-16Mcs 16 solved assignment 2015-16
Mcs 16 solved assignment 2015-16
 
BCSL 058 solved assignment
BCSL 058 solved assignmentBCSL 058 solved assignment
BCSL 058 solved assignment
 
BCSL 057 solved assignments
BCSL 057 solved assignmentsBCSL 057 solved assignments
BCSL 057 solved assignments
 
BCSL 056 solved assignment
BCSL 056 solved assignmentBCSL 056 solved assignment
BCSL 056 solved assignment
 
Bcs 055 solved 2014-15
Bcs 055 solved 2014-15Bcs 055 solved 2014-15
Bcs 055 solved 2014-15
 
Bcs 054 solved assignment
Bcs 054 solved assignmentBcs 054 solved assignment
Bcs 054 solved assignment
 
Bcs 053 solved assignment 2014-15
Bcs 053 solved assignment 2014-15Bcs 053 solved assignment 2014-15
Bcs 053 solved assignment 2014-15
 
Bcs 052 solved assignment
Bcs 052 solved assignmentBcs 052 solved assignment
Bcs 052 solved assignment
 
Mcs 021 solve assignment
Mcs 021 solve assignmentMcs 021 solve assignment
Mcs 021 solve assignment
 
Bcsl 033 solve assignment
Bcsl 033 solve assignmentBcsl 033 solve assignment
Bcsl 033 solve assignment
 
Bcsl 031 solve assignment
Bcsl 031 solve assignmentBcsl 031 solve assignment
Bcsl 031 solve assignment
 
Bcsl 022 solved-assignment_2012-13
Bcsl 022 solved-assignment_2012-13Bcsl 022 solved-assignment_2012-13
Bcsl 022 solved-assignment_2012-13
 

Recently uploaded

Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
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
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
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
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
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
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 

Recently uploaded (20)

Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
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
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
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
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
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
 
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
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 

Mcs 013 solve assignment

  • 1. MCS-013 Solved Assignments Ignou 2011 Find me at http://www.facebook.com/yagnesh.shenoy Question 1: a) Make truth table for i) ~p→(q Ans:  ~ r)  ~p  q p q r ~p ~r (q V ~r) (~p ^ q) (q V ~r) ^ (~p ^ q) 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 1 1 1 1 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 1 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0 i) ~p→r  ~q q r ~p ~q ~r (~q ^ ~p) [r V(~q ^ ~p)] 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 1 1 1 1 0 0 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 1 0 0 0 0 0 0 1 1 0 1 0 1 0 1 b) .d w 1 1 1 1 1 1 1 1 ~ r)  ~p  q et k.n e ge ar e [(r V (~q ^ ~p)) V ~r]  0 0 1 1 1 1 1 1  ~p  ~r p ww ~p→(q ~p→r  ~q  ~p  ~r 1 1 1 1 0 0 0 0 What are conditional connectives? Explain use of conditional connectives with an example. Ans: Given any two propositions p and q, we denote the statement ‘If p, then q’ by p → q. We also read this as ‘p implies q’. or ‘p is sufficient for q’, or ‘p only if q’. We also call p the hypothesis and q the conclusion. Further, a statement of the form p → q is called a conditional statement or a conditional proposition. So, for example, in the conditional proposition ‘If m is in Z, then m belongs to Q.’ the hypothesis is ‘m Z’ and the conclusion is ‘m Q’. Mathematically, we can write this statement as m Z → m Q. Let us analyse the statement p → q for its truth value. Do you agree with the truth table we’ve given below (Table 3)? You may like to check it out while keeping an example from your surroundings in mind. Table 3: Truth table for implication p T T F F q T F T F p-q T F T T Eg ‘If Ayesha gets 75% or more in the examination, then she will get an A grade for the course.’. We can write this statement as ‘If p, and q’, where p: Ayesha gets 75% or more in the examination, and
  • 2. q: Ayesha will get an A grade for the course. therefore, P-Q c) Write down suitable mathematical statement that can be represented by the following symbolic properties. i) (  x) (  y) (  z) P ii)  (x) (  y) (  z) P Question 2: a) What is proof? Explain method of direct proof with the help of one example. Ans : A proof of a proposition p is a mathematical argument consisting of a sequence of statements p1 , p2 , · · · , pn from which p logically follows. So, p is the conclusion of this argument. The statement that is proved to be true is called a theorem. Direct Proof et k.n e This form of proof is based entirely on modus ponens. Let us formally spell out the strategy. Definition: A direct proof of p ⇒ q is a logically valid argument that begins with the assumptions that p is true and, in one or more applications of the law of detachment, concludes that q must be true. So, to construct a direct proof of p ⇒ q, we start by assuming that p is true. Then, in one or more steps of the form p ⇒ q1, q1⇒ q2, ……., qn ⇒ q, we conclude that q is true. Consider the following examples ge ar e Example : Give a direct proof of the statement ‘The product of two odd integers is odd’. Solution: Let us clearly analyse what our hypotheses are, and what we have to prove. We start by considering any two odd integers x and y. So our hypothesis is p: x and y are odd. The conclusion we want to reach is q: xy is odd. Let us first prove that p ⇒ q. Since x is odd, x = 2m + 1 for some integer m. Similarly, y = 2n + 1 for some integer n. Then xy = (2m + 1) (2n + 1) = 2(2mn + m + n) +1 Therefore, xy is odd. So we have shown that p ⇒ q. ww .d w Now we can apply modus ponens to p ∧ ( p ⇒ q) to get the required conclusion. b) Show whether Ans: 17 is rational or irrational. Let us try and prove the given statement by contradiction. For this, we begin by assuming that that there exist positive integers a and b such that 17 is rational. This means 17 = a/b, where a and b have no common factors. This implies a = 17 b ⇒ a2 = 17b2 ⇒ 17 | a2 ⇒ 17 | a. Therefore, by definition, a = 17c for some c ∈ Z. Therefore, a2 = 289c2. But a2 = 17b2 also. So 289c2 = 17b2 ⇒ 17c2 = b2 ⇒ 17 | b2 ⇒ 17 | b But now we find that 17 divides both a and b, which contradicts our earlier assumption that a and b have no common factor. Therefore, we conclude that our assumption that 17 is rational is false, i.e, 17 is irrational. Question 3: a) Ans : What is Boolean algebra? Explain how Boolean algebra methods are used in logic circuit design.
  • 3. Definition: A Boolean algebra B is an algebraic structure which consists of a set X (≠ Ø) having two binary operations (denoted by ∨ and ∧), one unary operation (denoted by ' ) and two specially defined elements O and I (say), which satisfy the following five laws for all x, y, z ∈ X. B1. Associative Laws: x ∨ (y ∨ z) = (x ∨ y) ∨ z, x ∧ (y ∧ z) = (x ∧ y) ∧ z B2. Commutative Laws: x ∨ y = y ∨ x, x∧y=y∧x B3. Distributive Laws: x ∨ (y ∧ z) = (x ∨ y) ∧ (x ∨ z), x ∧ (y ∨ z) = (x ∧ y) ∨ (x ∧ z) B4. Identity Laws: x ∨ O = x, x∧I=x B5. Complementation Laws: x ∧ x' = O, x ∨ x'= I. We write this algebraic structure as B = (X, ∨, ∧, ' , O, I), or simply B, if the context makes the meaning of the other terms clear. The two operations ∨ and ∧ are called the join operation and meet operation, respectively. The unary operation ' is called the complementation. Boolean algebra methods to circuit design. While expressing circuits mathematically, we identify each circuit in terms of some Boolean variables. Each of these variables represents either a simple switch or an input to some electronic switch. et k.n e Definition: Let B = (S, ∨, ∧, ', O, I) be a Boolean algebra. A Boolean expression in variables x1, x2 , . . . , xk (say), each taking their values in the set S is defined recursively as follows: i) Each of the variables x1 , x2 , . . . , xk , as well as the elements O and I of the Boolean algebra B are Boolean expressions. ii) If X1 and X2 are previously defined Boolean expressions, then X1 ∧ X2 , X1 ∨ X 2 and X'1 are also Boolean expressions. For instance, x1 ∧ x'3 is a Boolean expression because so are x1 and x'3 , Similarly, because x1 ∧ x2 is a Boolean expression, so is (x1 ∧ x2 ) ∧ (x1 ∧ x'3 ). If X is a Boolean expression in n variables x1 , x2 , . . . , xn (say), we write this as X = X(x1 , . . . , xn ) . In the context of simplifying circuits, we need to reduce Boolean expressions to simpler ones. `Simple' means that the expression has fewer connectives, and all the literals involved are distinct. We illustrate this technique now. ww .d w ge ar e Example : Reduce the following Boolean expressions to a simpler form. X(x1, x2 ) = (x1 ∧ x2 ) ∧ (x1 ∧ x'2 ); Solution: (a) Here we can write (x1 ∧ x2 ) ∧ (x1 ∧ x'2 ) = ((x1 ∧ x2 ) ∧ x1 ) ∧ x'2 (Associative law) = (x1 ∧ x2) ∧ x'2 (Absorption law) = x1 ∧ (x2 ∧ x'2 ) (Associative law) = x1 ∧ O (Complementation law) = O. (Identity law) Thus, in its simplified form, the expression given in (a) above is O, i.e., a null expression. b) Ans : If p and q are statements, show whether the statement [(~p→q) is a tautology or not.  (q)] → (p  ~q) Tautology : A compound proposition that is true for all possible truth values of the simple propositions involved in it is called a tautology. p q ~p ~q ~p -q (p  ~q) [(~p→q)  (q)] → (p  ~q) [(~p→q)  (q)] 0 0 1 1 0 0 1 1 0 1 1 0 1 1 0 0 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 1 Question 4: a) Make logic circuit for the following Boolean expressions: i) (x′.y + z) + (x+y+z)′ +(x+y+z)
  • 4. X Y Z O (ii) ( x'+y).(y′+ z).(y+z′+x′) X Y Z ge ar e O ww .d w et k.n e b) What is dual of a Boolean expression? Find dual of boolean expression of the output of the following logic circuit:
  • 5. Ans: If p is a proposition involving ~, ∧ and ∨, the dual of p, denoted by pd, is the proposition obtained by replacing each occurrence of ∧ (and/or ∨) in p by ∨ (and/or ∧, respectively) in pd . For example, x ∨ (x ∧ y) = x is the dual of x ∧(x ∨ y) = x. The principle of duality: If s is a theorem about a Boolean algebra, then so is its dual sd . Corresponding dual expressions of given figures: Fig(a) :Given expression = [{(A’ + B) + B’}’ . C]’ Dual of expression = [{(A’. B) . B’}’ + C]’ Fig(b) : Given expression = [(A.B)+{(B’+C)}’]’ Dual of expression = [(A+B).{(B’.C)}’]’ c) Set A,B and C are: A = {1, 2, 3, 4, 5,6,9,19,15}, B = { 1,2,5,22,33,99 } and C { 2, 5,11,19,15}, Find A  B  C and A  B  C A  B C A Ans :  B C = {1,2,3,4,5,6,9,19,15,22,33,99} U {2,5,11,15,19}  {1,2,3,4,5,6,9,11,15,19,22,33,99} Question 5: a) Draw a Venn diagram to represent followings: i) (A  B)  (C~B) ww A (A  B) .d w B C ii) et k.n e = {1,2,5}U{2,5,11,19,15}  {1,2,5,11,19,15}  (B  C) ge ar e U
  • 6. A B C b) Give geometric representation for following i) R x { 3} Y ii) ww ge ar e 3 2 1 -3-2-10123 -1 -2 -3 .d w et k.n e X {-1, -2) x (-3, -3) Y 3 2 1 -3 -2 -1 0 1 2 3 -1 -2 (-2,-3) -3 X (-1,-3) c) What is counterexample? Explain the use of counterexample with the help of an example. Ans: In logic, and especially in its applications to mathematics and philosophy, a counterexample is an exception to a proposed general rule. For example, consider the proposition all students are lazy. Because this statement makes the claim that a certain property (laziness) holds for all students, even a single example of a diligent student will prove it false. Thus, any hard-working student is a counterexample to all students are lazy. More precisely, a counterexample is a specific instance of the falsity of a universal quantification (a for all statement). In mathematics, this term is (by a slight abuse) also sometimes used for examples illustrating the necessity of the full hypothesis of a theorem, by considering a case where a part of the hypothesis is not verified, and where one can show that the conclusion does not hold.[citation needed]A counterexample may be local or global in an argument.
  • 7. eg Suppose that a mathematician is studying geometry and shapes, and she wishes to prove certain theorems about them. She conjectures that All rectangles are squares. She can either attempt to prove the truth of this statement using deductive reasoning, or if she suspects that her conjecture is false, she might attempt to find a counterexample. In this case, a counterexample would be a rectangle that is not a square, like a rectangle with two sides of length 5 and two sides of length 7. However, despite having found rectangles that were not squares, all the rectangles she did find had four sides. She then makes the new conjecture All Rectangles have four sides. This is weaker than her original conjecture, since every square has four sides, even though not every four-sided shape is a square. The previous paragraph explained how a mathematician might weaken her conjecture in the face of counterexamples, but counterexamples can also be used to show that the assumptions and hypothesis are needed. Suppose that after a while the mathematician in question settled on the new conjecture All shapes that are rectangles and have four sides of equal length are squares. This conjecture has two parts to the hypothesis: the shape must be 'a rectangle' and 'have four sides of equal length' and the mathematician would like to know if she can remove either assumption and still maintain the truth of her conjecture. So she needs to check the truth of the statements: (1) All shapes that are rectangles are squares and (2) All shapes that have four sides of equal length are squares. A counterexample to (1) was already given, and a counterexample to (2) is a parallelogram or a diamond. Thus the mathematician sees that both assumptions were necessary. Question 6: a) What is inclusion-exclusion principle? Also explain one application of inclusion-exclusion principle. et k.n e ww .d w ge ar e
  • 8. et k.n e ww .d w ge ar e b) Find inverse of the following functions f(x) = ii) x3  5 x3 x3 f(x) = i) x3  7 x2  4 x  2 Question 7: a) Find how many 4 digit numbers are even? How many 4 digit numbers are composed of odd digits.
  • 9. Ans 4 digit numbers number means we have to put 0-9 digit at 4 places....ABCD at the position of A (first place) we can put any digit 1-9 not 0, otherwise it will not a 4 digit number, so by 9 ways at the position of B (second place) we can put 0-9 i.e by 10 ways... at the position of C (third place) we can put 0-9 i.e by 10 ways... at the position of D (fourth place) we can put 0,2,4,6 or 8 i.e by 5 ways... so, total no. of digit = 9*10*10*5 = 4500 Total no. of four digit even numbers =4500 Ii) Since we need only those four digit numbers ,whose digits are odd, This can be in following ways There can only be 1,3,5,7,9 numbers at each place in following ways First place= 5ways Second place = 5 ways Third place=5 ways Fourth place=5ways So total numbers = 5x5x5x5=625 b) How many different 15 persons committees can be formed each containing at least 2 Accountants and at least 3 Managers from a set of 10 Accountants and 12 Managers. Ans: 3 Accountants and 12 Managers in C(10,3)*C(12,12)=120 WAYS 4 Accountants and 11 Managers in C(10,4)*C(12,11)=2520 WAYS 5 Accountants and 10 Managers in C(10,5)*C(12,10) =16632 ways 6 and 9 in C(10,6)*C(12,9)=46200 ways 7 and 8 in C(10,7)*C(12,8)=59400 ways 8 and 7 in C(10,8)*C(12,7)=35640 ways 9 and 6 in C(10,9)*C(12,6)=9240 ways 10 and 5 in C (10,10)*C(12,5)=792 ways ww .d w ge ar e therefore different committees can be formed in (120+2520+16632+46200+59400+35640+9240+792)= 170544 ways b) et k.n e What is a function? Explain one to one mapping with an example.
  • 10. et k.n e Question 8: a) What is Demorgan’s Law? Also explain the use of Demorgen’s law with example? ww .d w ge ar e
  • 12. et k.n e ww .d w ge ar e b) How many ways are there to distribute 15 district object into 5 distinct boxes with i) At least two empty box. 15 Ans: P3= 15!/(15-3)!
  • 13. 15!/12! = 2730 ii) Ans c) No empty box. c(15,5)=15!/5!(15-5)! = 21 x 13x 11 = 3003 In a fifteen question true false examination a student must achieve five correct answers to pass. If student answer randomly what is the probability that student will fail. Ans: 5 C1 + 5C2 + 5C3 +5C4+ 5C5 so, n(s) = 15 C5 5 so, P(E) = ( C1 + 5C2 + 5C3 +5C4+ 5C5)/(15C5) = (5+10+10+5+1)/2983 = 0.010 et k.n e ww .d w ge ar e