MCS 13 PDF
MCS 13 PDF
MCS 13 PDF
(i)answer:
c) Write down suitable mathematical statement that can be represented by the following
Symbolic properties.
+ 1. )
17
17
c) Explain concept of function with the help of an example? What is relation? Explain following types
of relation with example:
i) Reflexive
ii) Symmetric
iii) Transitive
When one thing depends on another, as for example the area of a circle depends on the radius -- in
the sense that when the radius changes, the area will change -- then we say that the first is a
"function" of the other. The area of a circle is a function of -- it depends on -- the radius.
Mathematically:
A rule that relates two variables, typically x and y, is called a function
If to each value of x the rule assigns one and only one value of y.
When that is the case, we say that y is a function of x.
Thus a "function" must be single valued ("one and only one").
For Example,
=2 +3
Examples:
Question 3
a) A Surveys among the players of cricket club, 20 players are pre batsman, 10 players are pure
bowler, 40 players are all rounder, and 3 players are wicket keeper batsman. Find the
followings:
i) How many players can either bat or bowl?
ii) How many players can bowl?
iii) How many players can bat?
Question 4:
a) Make logic circuit for the following Boolean expressions:
Question 5:
Answer: I & II
B)
Example:
Counting the number of elements in a Union.
How many integers from 1 to 1000 are either multiples of 3 or multiples of 5
Solution
Let us assume that A = set of all integers from 1-1000 that are multiples of 3
Let us assume that B = set of all integers from 1-1000 that are multiples of 5
From this we have A U B = The set of all integers from 1 to 1000 that are multiples
of either 3 or 5 and we also have (A B) = The set of all integers that are both
multiples of 3 and 5, which also is the set of integers that are multiples of 15.
To use the inclusion/exclusion principle to obtain n(A U B) , we
need n(A),n(B) and n(A B)
From 1 to 1000, every third integer is a multiple of 3,each of this multiple can be
represented as 3p, for any integer p from 1 through 333.
From the above we have that n(A) = 333 for integers 1-1000
Similarly for multiples of 5, each multiple of 5 is of the form 5q for some
integer q from 1 through 200.
From this we have n(B) = 200
For n(A B) , we need to determine the number of multiples of 15 from 1
through 1000. Each multiple of 15 is of the form 15r for
some integer r from 1 through 66.
Now we have the values for n(A B), which is 66.
From all the above we can determine n(AUB), using the Inclusion/Exclusion
principle.
n(AUB) = n(A) + n(B) - n(A
= 333 + 200 - 66
= 467
B)
a) What is pigeonhole principle? Explain its application with the help of an example.
Question 7:
a) Find how many 4 digit numbers are odd?
c) How many different 10 professionals committees can be formed each containing at least 2
Project Delivery Managers, at least 2 Technical Architects and 3 Security Experts from list of
10 Project Delivery Managers 12 Technical Architects and 5 Security Experts?
c) Explain concept of permutation with an example. How it is different from combination, explain
with an example?
Question 8:
a) What is Demorgans Law for Boolean algebra? Explain its application with example.
In propositional logic and Boolean algebra, De Morgan's laws are a pair of transformation rules
that are both valid rules of inference. The rules allow the expression of conjunctions and
disjunctions purely in terms of each other via negation.
The rules can be expressed in English as:
The negation of a conjunction is the disjunction of the negations.
The negation of a disjunction is the conjunction of the negations. or informally as:
"not (A and B)" is the same as "(not A) or (not B)"
and also,
"not (A or B)" is the same as "(not A) and (not B)".
The rules can be expressed in formal language with two propositions P and Q as:
and
Where:
programs and digital circuit designs. De Morgan's laws are an example of a more
general concept of mathematical duality.
b) How many words can be formed using letter of STUDENT using each letter at most once:
i. if each letter must be used,
ii. if some or all the letters may be omitted.