Professional Documents
Culture Documents
in
CSE - Regulations 2017
Answer: a
Explanation: Hypothesis is false, thus the
MA8351 DISCRETE whole statement is true.
Answer: c
UNIT I LOGIC AND Explanation: If condition is false so value
decided according to else condition.
PROOFS
5. Let P: I am in Bangalore.; Q: I love
TOPIC 1.1 PROPOSITIONAL cricket.; then q -> p(q implies p) is?
a) If I love cricket then I am in Bangalore
LOGIC b) If I am in Bangalore then I love cricket
c) I am not in Bangalore
1. Which of the following statement is a d) I love cricket
proposition?
a) Get me a glass of milkshake Answer: a
b) God bless you! Explanation: Q is hypothesis and P is
c) What is the time now? conclusion. So the compound statement will
d) The only odd prime number is 2 be if hypothesis then conclusion.
Answer: b Answer: c
Explanation: Compound statement with ‘or’ Explanation: Either hypothesis should be
is true when either of the statement is true. false or both (hypothesis and conclusion)
Here the first part of the statement is true, should be true.
hence the whole is true.
7. The truth value ‘9 is prime then 3 is even’.
3. Which of the following option is true? a) False
a) If the Sun is a planet, elephants will fly b) True
b) 3 +2 = 8 if 5-2 = 7
c) 1 > 3 and 3 is a positive integer Answer: b
d) -2 > 3 or 3 is a negative integer Explanation: The first part of the statement is
∃xP(x), where the domain consists of all real 8. ”Everyone wants to learn cosmology.” This
numbers? argument may be true for which domains?
a) True a) All students in your cosmology class
b) False b) All the cosmology learning students in the
world
Answer: b c) Both of the mentioned
Explanation: Because P(x) is false for every d) None of the mentioned
real number x, the existential quantification
of Q(x), which is ∃xP(x), is false. Answer: c
Explanation: Domain may be limited to your
5. Let R (x) denote the statement “x > 2.” class or may be whole world both are good as
What is the truth value of the quantification it satisfies universal quantifier.
∃xR(x), having domain as real numbers?
a) True 9. Let domain of m includes all students, P
b) False (m) be the statement “m spends more than 2
hours in playing polo”. Express ∀m ¬P (m)
Answer: a quantification in English.
Explanation: Because “x > 2” is sometimes a) A student is there who spends more than 2
true—for instance, when x = 3–the existential hours in playing polo
quantification of R(x), which is ∃xR(x), is b) There is a student who does not spend
true. more than 2 hours in playing polo
c) All students spends more than 2 hours in
6. The statement,” Every comedian is funny” playing polo
where C(x) is “x is a comedian” and F (x) is d) No student spends more than 2 hours in
“x is funny” and the domain consists of all playing polo
people.
a) ∃x(C(x) ∧ F (x)) Answer: d
b) ∀x(C(x) ∧ F (x)) Explanation: There is no student who spends
more than 2 hours in playing polo.
c) ∃x(C(x) → F (x))
d) ∀x(C(x) → F (x)) 10. Determine the truth value of statement ∃n
(4n = 3n) if the domain consists of all
Answer: d
integers.
Explanation: For every person x, if comedian
a) True
then x is funny. b) False
7. The statement, “At least one of your Answer: a
friends is perfect”. Let P (x) be “x is perfect” Explanation: For n=0, 4n=3n hence, it is
and let F (x) be “x is your friend” and let the true.
domain be all people.
a) ∀x (F (x) → P (x))
b) ∀x (F (x) ∧ P (x)) TOPIC 1.4 NESTED
c) ∃x (F (x) ∧ P (x)) QUANTIFIERS
d) ∃x (F (x) → P (x))
1. Let Q(x, y) denote “M + A = 0.” What is
Answer: c the truth value of the quantifications ∃A∀M
Explanation: For some x, x is friend and Q(M, A).
funny.
b) ∃x∃yP (x, y), where P (x, y) is “x has taken 1. Which rule of inference is used in each of
y,” the domain for x consists of all Discrete these arguments, “If it is Wednesday, then the
Maths lectures, and the domain for y consists Smartmart will be crowded. It is Wednesday.
of all pupil in this class Thus, the Smartmart is crowded.”
c) ∀x∀yP(x, y), where P (x, y) is “x has taken a) Modus tollens
y,” the domain for x consists of all pupil in b) Modus ponens
this class, and the domain for y consists of all c) Disjunctive syllogism
Discrete Maths lectures d) Simplification
d) ∃x∀yP(x, y), where P (x, y) is “x has taken
Answer: b
y,” the domain for x consists of all pupil in
Explanation: (M ∧ (M → N)) → N is Modus
this class, and the domain for y consists of all
Discrete Maths lectures ponens.
2. Which of the following can only be used in 6. A proof covering all the possible cases,
disproving the statements? such type of proofs are known as
a) Direct proof ___________
b) Contrapositive proofs a) Direct proof
c) Counter Example b) Proof by Contradiction
d) Mathematical Induction c) Vacuous proof
d) Exhaustive proof
Answer: c
Explanation: Counter examples cannot be Answer: d
used to prove results. Explanation: Definition of exhaustive proof.
3. Let the statement be “If n is not an odd 7. Which of the arguments is not valid in
integer then sum of n with some not odd proving sum of two odd number is not odd.
number will not be odd.”, then if P(n) is “n is a) 3 + 3 = 6, hence true for all
an not an odd integer” and Q(n) is “sum of n b) 2n +1 + 2m +1 = 2(n+m+1) hence true for
with some not odd number will not be odd.” all
A proof by contraposition will be ________ c) All of the mentioned
a) ∀nP ((n) → Q(n)) d) None of the mentioned
b) ∃ nP ((n) → Q(n))
c) ∀n~(P ((n)) → Q(n)) Answer: a
d) ∀n(~Q ((n)) → ~(P(n))) Explanation: Some examples are not valid in
proving results.
Answer: d
8. A proof broken into distinct cases, where
Explanation: Definition of proof by
these cases cover all prospects, such proofs
contraposition.
are known as ___________
4. When to proof P→Q true, we proof P false, a) Direct proof
that type of proof is known as ___________ b) Contrapositive proofs
a) Direct proof
22 + 32 + … + p2 = .
p∗(p+1)∗(2p+1)
prove that (m+1)2+3 also holds for m=k. So, 7. For any positive integer m ______ is
it is proved. divisible by 4.
5. For every natural number k, which of the a) 5m2 + 2
following is true? b) 3m + 1
a) (mn)k = mknk c) m2 + 3
b) m*k = n + 1 d) m3 + 3m
c) (m+n)k = k + 1
Answer: d
d) mkn = mnk
Explanation: The required answer is, m3 +
Answer: a 3m. Now, by induction hypothesis, we have
Explanation: In the first step, for k = 1, to prove for m=k, k3+3k is divisible by 4. So,
(mn)1 = m1n1 = mn, hence it is true. Let us (k + 1)3 + 3 (k + 1) = k3 + 3 k2 + 6 k + 4
assume the statement is true for k = l, Now by = [k3 + 3 k] + [3 k2 + 3 k + 4] = 4M + (12k2
induction assumption, (mn)1 = m1n1 is true. + 12k) – (8k2 + 8k – 4), both the terms are
So, to prove, (mn)l+1 = ml + 1nl+1, we have divisible by 4. Hence (k + 1)3 + 3 (k + 1) is
(mn)l = mlnl and multiplying both sides by also divisible by 4 and hence it is proved for
(mn) ⇒ (mn)1(mn)=(m1n1)(mn) any integer m.
⇒ (mn)l+1 = (mm1)(nn1) ⇒ (mn)l+1 = 8. According to principle of mathematical
(ml+1nl+1). Hence, it is proved. So, (mn)k = induction, if P(k+1) = m(k+1) + 5 is true then
mknk is true for every natural number k. _____ must be true.
a) P(k) = 3m(k)
6. By induction hypothesis, the series 12 + 22 b) P(k) = m(k) + 5
+ 32 + … + p2 can be proved equivalent to c) P(k) = m(k+2) + 5
____________ d) P(k) = m(k)
2
a) p +2
b)
p∗(p+1)∗(2p+1)
Answer: b
6
Explanation: By the principle of
c)
p∗(p+1)
so to prove P(b+1): 12 + 22 + 32 + … + b2 +
a) 64 > 9
(b + 1)2 = + (b + 1)2
b(b+1)(2b+1)
6 b) 16 > 2
By induction assumption it is shown that 12 + c) 27 < 91
d) 54 > 8
Answer: a b) 10
Explanation: Statement By principle of c) 5
mathematical induction, for n=2 the base case d) 12
of the inequation 4n+1 > (n+1)2 should be 64
> 9 and it is true. Answer: b
Explanation: A simple polygon with n sides
10. What is the induction hypothesis can be triangulated into n-2 triangles, where n
assumption for the inequality m ! > 2m where > 2.
m>=4? 4. Let P(n) be the statement that postage of n
a) for m=k, k+1!>2k holds cents can be formed using just 3-cents stamps
b) for m=k, k!>2k holds and 5-cents stamps. Is the statements P(8) and
c) for m=k, k!>3k holds P(10) are Correct?
a) True
d) for m=k, k!>2k+1 holds
b) False
Answer: b
Answer: a
Explanation: By the induction hypothesis,
Explanation: We can form 8 cent of postage
assume that p (k) = k! > 2k is true, for m=k with one 3-cent stamp and one 5-cent stamp.
and we need to prove this by the principle of P(10) is true because we can form it using
mathematical induction. two 5-cent stamps.
Answer:a
Explanation: We can form 27 cent of postage TOPIC 2.3 THE BASICS OF
with nine 3-cent stamp and 20-cent postage COUNTING
can be formed by using two 10-cent stamps.
1. How many even 4 digit whole numbers are
8. Suppose that P(n) is a propositional there?
function. Determine for which positive a) 1358
integers n the statement P(n) must be true if: b) 7250
P(1) is true; for all positive integers n, if P(n) c) 4500
is true then P(n+2) is true. d) 3600
a) P(3)
b) P(2) Answer: c
c) P(4) Explanation: The thousands digit cannot be
d) P(6) zero, so there are 9 choices. There are 10
possibilities for the hundreds digit and 10
Answer: a possibilities for the tens digit. The units digit
Explanation: By induction we can prove that can be 0, 2, 4, 6 or 8, so there are 5 choices.
P(3) is true but we can’t conclude about P(2), By the basic counting principle, the number
p(6) and P(4). of even five digit whole numbers is 9 × 10 ×
10 × 5 = 45,00.
9. Suppose that P(n) is a propositional
function. Determine for which positive 2. In a multiple-choice question paper of 15
integers n the statement P(n) must be true if: questions, the answers can be A, B, C or D.
P(1) and P(2) is true; for all positive integers The number of different ways of answering
n, if P(n) and P(n+1) is true then P(n+2) is the question paper are ________
true.
a) 65536 x 47
a) P(1)
b) P(2) b) 194536 x 45
c) P(4) c) 23650 x 49
d) P(n) d) 11287435
Answer: d Answer: a
Explanation: By induction, we can prove that Explanation: There are 415 = 65536 x 47
P(n) is true. different ways of answering the exam paper
of 15 MCQs.
10. A polygon with 25 sides can be
triangulated into _______ 3. How many words with seven letters are
a) 23 there that start with a vowel and end with an
b) 20 A? Note that they don’t have to be real words
c) 22 and letters can be repeated.
d) 21 a) 45087902
b) 64387659
Answer: a c) 12765800
Explanation: A simple polygon with n sides d) 59406880
Answer: d c) 12000
Explanation: The first letter must be a vowel, d) 10500
so there are 5 choices. The second letter can
be any one of 26, the third letter can be any Answer: d
one of 26, the fourth letter can be any one of Explanation: By the Basic Counting
26 and fifth and sixth letters can be any of 26 Principle, the number of different choices is
choices. The last letter must be an A, so there 10 × 15 × 7 = 10500.
is only 1 choice. By the basic counting
principle, the number of ‘words’ is 5 × 26 × 7. There are two different Geography books,
26 × 26 × 26 × 26 × 1 = 59406880. five different Natural Sciences books, three
different History books and four different
4. Neela has twelve different skirts, ten Mathematics books on a shelf. In how many
different tops, eight different pairs of shoes, different ways can they be arranged if all the
three different necklaces and five different books of the same subjects stand together?
bracelets. In how many ways can Neela dress a) 353450
up? b) 638364
a) 50057 c) 829440
b) 14400 d) 768700
c) 34870
d) 56732 Answer: c
Explanation: There are four groups of books
Answer: b which can be arranged in 4! different ways.
Explanation: By the basic counting principle, Among those books, two are Geography
the number of different ways = 12 × 10 × 8 × books, five are Natural Sciences books, three
3 × 5 = 14400. Note that shoes come in pairs. are History books and four are Mathematics
So she must choose one pair of shoes from books. Therefore, there are 4! × 2! × 5! × 3! ×
ten pairs, not one shoe from twenty. 4! = 829440 ways to arrange the books.
5. How many five-digit numbers can be made 8. The code for a safe is of the form
from the digits 1 to 7 if repetition is allowed? PPPQQQQ where P is any number from 0 to
a) 16807 9 and Q represents the letters of the alphabet.
b) 54629 How many codes are possible for each of the
c) 23467 following cases? Note that the digits and
d) 32354 letters of the alphabet can be repeated.
a) 874261140
Answer: a b) 537856330
Explanation: 75 = 16807 ways of making the c) 549872700
numbers consisting of five digits if repetition d) 456976000
is allowed.
Answer: d
6. For her English literature course, Ruchika Explanation: 103 × 264 = 456976000
has to choose one novel to study from a list of possible codes are formed for the safe with
ten, one poem from a list of fifteen and one the alphanumeric digits.
short story from a list of seven. How many
different choices does Rachel have? 9. Amit must choose a seven-digit PIN
a) 34900 number and each digit can be chosen from 0
b) 26500 to 9. How many different possible PIN
numbers can Amit choose?
c7->r2
TOPIC 2.4 THE PIGEONHOLE
PRINCIPLE c8->r3
c9->r4
1. A drawer contains 12 red and 12 blue
socks, all unmatched. A person takes socks c10->r5
out at random in the dark. How many socks
must he take out to be sure that he has at least
Now, any pick of 5 computers will have a
two blue socks? direct connection to all the 5 routers.
a) 18
b) 35 3. In a group of 267 people how many friends
c) 28 are there who have an identical number of
d) 14 friends in that group?
a) 266
Answer: d
b) 2
Explanation: Given 12 red and 12 blue socks
c) 138
so, in order to take out at least 2 blue socks,
d) 202
first we need to take out 12 shocks (which
might end up red in worst case) and then take Answer: b
out 2 socks (which would be definitely blue). Explanation: Suppose each of the 267
Thus we need to take out total 14 socks. members of the group has at least 1 friend. In
this case, each of the 267 members of the
group will have 1 to 267-1=266 friends. Now, pigeonhole principle = we need to choose 1
consider the numbers from 1 to n-1 as holes more element so that sum will definitely be 7.
and the n members as pigeons. Since there is So Number of elements must be 4 + 1 = 5.
n-1 holes and n pigeons there must exist a
hole which must contain more than one 6. During a month with 30 days, a cricket
pigeon. That means there must exist a number team plays at least one game a day, but no
from 1 to n-1 which would contain more than more than 45 games. There must be a period
1 member. So, in a group of n members there of some number of consecutive days during
must exist at least two persons having equal which the team must play exactly ______
number of friends. A similar case occurs number of games.
when there exist a person having no friends. a) 17
b) 46
4. When four coins are tossed simultaneously, c) 124
in _______ number of the outcomes at most d) 24
two of the coins will turn up as heads.
a) 17 Answer: d
b) 28 Explanation: Let a1 be the number of games
c) 11 played until day 1, and so on, ai be the no
d) 43 games played until i. Consider a sequence
like a1,a2,…a30 where 1≤ai≤45, ∀ai. Add 14
Answer: c to each element of the sequence we get a new
Explanation: The question requires you to sequence a1+14, a2+14, … a30+14 where, 15
find number of the outcomes in which at most ≤ ai+14 ≤ 59, ∀ai. Now we have two
2 coins turn up as heads i.e., 0 coins turn sequences 1. a1, a2, …, a30 and 2. a1+14,
heads or 1 coin turns head or 2 coins turn a2+14, …, a30+14. having 60 elements in
heads. The number of outcomes in which 0 total with each elements taking a value ≤ 59.
coins turn heads is 4C0 = 1 outcome. The So according to pigeon hole principle, there
number of outcomes in which 1 coin turns must be at least two elements taking the same
value ≤59 i.e., ai = aj + 14 for some i and j.
head is 4C1 = 6 outcomes. The number of
Therefore, there exists at least a period such
outcomes in which 2 coins turn heads is, as aj to ai, in which 14 matches are played.
4C = 15 outcomes. Therefore, total number
2
of outcomes = 1 + 4 + 6 = 11 outcomes. 7. In how many ways can 8 different dolls be
packed in 5 identical gift boxes such that no
5. How many numbers must be selected from box is empty if any of the boxes hold all of
the set {1, 2, 3, 4} to guarantee that at least the toys?
one pair of these numbers add up to 7? a) 2351
a) 14 b) 365
b) 5 c) 2740
c) 9 d) 1260
d) 24
Answer: d
Answer: b Explanation: Dolls are different but the
Explanation: With 2 elements pairs which boxes are identical. If none of the boxes is to
give sum as 7 = {(1,6), (2,5), (3,4), (4,3)}. So remain empty, then we can pack the dolls in
choosing 1 element from each group = 4 one of the following ways:
elements (in worst case 4 elements will be Case i. 2, 2, 2, 1, 1
either {1,2,3,4} or {6,5,4,3}). Now using Case ii. 3, 3, 1, 1
Case i: Number of ways of achieving the first persons were present at the party?
option 2, 2, 2, 1, 1. Two dolls out of the 8 can a) 15
be selected in 8C2 ways, another 2 out of the b) 14
c) 16
remaining 6 can be selected in 6C2 ways, d) 17
another 2 out of the remaining 4 can be
selected in 4C2 ways and the last two dolls Answer: b
Explanation: Let the total number of persons
can be selected in 1C1 ways each. However, present at the party be m, Then, [{x *
as the boxes are identical, the two different (x−1)}/2] = 90.
ways of selecting which box holds the first x = 14.
two dolls and which one holds the second set
of two dolls will look the same. Hence, we 10. A bag contains 25 balls such as 10 balls
need to divide the result by 2. Therefore, total are red, 7 are white and 8 are blue. What is
number of ways of achieving the 2, 2, 2, 1, 1 the minimum number of balls that must be
is = (8C2 * 6C2 * 4C2 * 1C1 * 1C1) / 2 = 1260. picked up from the bag blindfolded (without
replacing any of it) to be assured of picking at
8. A group of 20 girls plucked a total of 200 least one ball of each colour?
oranges. How many oranges can be plucked a) 10
one of them? b) 18
a) 24 c) 63
b) 10 d) 35
c) 32
Answer: b
d) 7
Explanation: Consider three buckets red,
Answer: a white and blue and we want the total number
Explanation: Suppose all of them plucked of balls such that each bucket contain at least
the different number of oranges. A girl can one ball. Now consider the state of picking up
pluck at least 0 oranges and the number of a ball without replacement : (normally you
oranges plucks by each student is distinct. So, consider the worst case scenario in these
total number of plucked oranges should be cases) Starting 10 balls all are red and thus
less than 100. But 0+1+2…..+19+20 = goes to bucket name Red. Now again picking
210>200 a contradiction. up the ball gives 7 balls which are of same
Thus there exist two girls who plucked the colour and put all of them in a bucket named
same number of oranges. If thus there exist White. The next pick will definitely be of
two girls who plucked the same number of different colour thus: we picked 10 + 7 + 1 =
oranges. It means each girl of remaining 18 18.
students plucked different number of oranges.
Number of oranges Plucked by 18 students = TOPIC 2.5 PERMUTATIONS
0+1+2+3…+17 = 153 oranges. Number of
oranges plucked by remaining 2 student =
1. How many substrings (of all lengths
200 – 153 = 47. Both students plucked same
inclusive) can be formed from a character
number of oranges. So, Number of oranges
string of length 8? (Assume all characters to
plucked by one of them = 47/2=24.
be distinct)
9. In a get-together party, every person a) 14
present shakes the hand of every other person. b) 21
If there were 90 handshakes in all, how many
c) 54 b) 24310
d) 37 c) 32654
d) 29803
Answer: d
Explanation: Let’s consider the given string Answer: a
is CLEAN, so set of string of length 1 = Explanation: First place 17 zeroes side by
{C,L,E,A,N} ; cardinality of set = 5 set of side _ 0 _ 0 _ 0 … 0 _ and 8 1’s can be placed
string of length 2 = {CL,EE,EA,NN}, set of in any of the (17+1) available gaps hence the
string of length 3 = {CLE,LEE,EAN}, set of number of ways = n+1Ck = 43758.
strings of length 4 = {CLEN,LEAN}, set of
strings of length 5 = {CLEAN} and set of 4. How many words that can be formed with
string of length 0 = {} and we cannot have the letters of the word ‘SWIMMING’ such
any substring of length 6 as given string has that the vowels do not come together?
only 5 length. So total no of substrings are Assume that words are of with or without
possible = 0 length substring + 1 length meaning.
substring + 2 length substrings +3 length a) 430
substrings + 4 length substrings + 5 length b) 623
substrings = 1 + 5 + 4 + 3 + 2 + 1 = 16 means c) 729
for 1 length string to n length substrings it d) 1239
will sum of the n natural no from 1 to n.
so 1+2+3+…+n = so total no Answer: c
n(n+1)
2∗1
= 5×3 = 15. This includes its 6 sides also. (10080 – 5040) = 5040.
So, Diagonals = 15 – 6 = 9. Hence, the
number of diagonals is 9. 5. A number lock contains 6 digits. How
many different zip codes can be made with
3. The number of binary strings of 17 zeros the digits 0–9 if repetition of the digits is
and 8 ones in which no two ones are adjacent allowed upto 3 digits from the beginning and
is ___________ the first digit is not 0?
a) 43758 a) 254307
a) 84 2!
b) 35 b) 6!
2!
c) 194 c) 8!*3!
d) 138 d) 4!
8!
Answer: a Answer: c
Explanation: Selecting any 3 elements from Explanation: Take AOU together and treat it
given 9 elements gives 9C3 = 84 number of like 1 entity and arrange SNFNDRY in 8!
distinct pairs of sequences. Ways. Then, the AOU can be arranged in 3!
ways. So, total arrangements = 8! * 3! =
7. 14 different letters of alphabet are given, 40320 * 6 = 241920.
words with 6 letters are formed from these
given letters. How many number of words are 10. How many ways can 8 prizes be given
there which have at least one letter repeated? away to 7 students, if each student is eligible
a) 892742 for all the prizes?
b) 999988 a) 40325
c) 213216 b) 40320
d) 786730 c) 40520
d) 40720
Answer: b
Explanation: Number of words which have Answer: b
at least one letter replaced = total number of Explanation: Now the first student is eligible
words – total number of words in which no to receive any of the 8 available prizes (so 8
ways), the second student will receive a prize
letter is repeated, => 106 – 12P6 => 1000000 from rest 7 available prizes (so 7 ways), the
− 924 = 999988. third student will receive his prize from the
rest 6 prizes available(so 6 ways) and so on. 3. The number of words of 4 consonants and
So total ways would be 8! = 3 vowels can be made from 15 consonants
8*7*6*5*4*3*2*1 = 40320. Hence, the 7 and 5 vowels, if all the letters are different is
prizes can be distributed in 40320 ways. ________
a) 3! * 12C5
TOPIC 2.6 COMBINATIONS b) 16C4 * 4C4
c) 15! * 4
1. There are 6 equally spaced points A, B, C, d) 15C4 * 5C3 * 7!
D, E and F marked on a circle with radius R.
How many convex heptagons of distinctly Answer: d
different areas can be drawn using these Explanation: There are 4 consonants out of
points as vertices?
a) 7! * 6 15 can be selected in 15C4 ways and 3 vowels
b) 7C5 can be selected in 5C3 ways. Therefore, the
c) 7! total number of groups each containing 4
d) same area
consonants and 3 vowels = 15C4 * 4C3. Each
Answer: d group contains 7 letters which can be
Explanation: Since all the points are equally arranged in 7! ways. Hence, required number
spaced; hence the area of all the convex of words = 15C4 * 5C3 * 7!.
heptagons will be the same.
4. How many ways are there to arrange 7
2. There are 2 twin sisters among a group of chocolate biscuits and 12 cheesecake biscuits
15 persons. In how many ways can the group into a row of 19 biscuits?
be arranged around a circle so that there is a) 52347
exactly one person between the two sisters? b) 50388
a) 15 *12! * 2! c) 87658
b) 15! * 2! d) 24976
c) 14C2
d) 16 * 15! Answer: b
Explanation: Consider the situation as
Answer: a having 19 spots and filling them with 7
Explanation: We know that n objects can be chocolate biscuits and 19 cheesecake biscuits.
(n−1)! Then we just choose 7 spots for the chocolate
arranged around a circle in . If we
2
biscuits and let the other 10 spots have
consider the two sisters and the person in cheesecake biscuits. The number of ways to
between the brothers as a block, then there
will 12 others and this block of three people do this job is 19C7 = 50388.
to be arranged around a circle. The number of
ways of arranging 13 objects around a circle 5. If a, b, c, d and e are five natural numbers,
is in 12! ways. Now the sisters can be then find the number of ordered sets(a, b, c, d,
arranged on either side of the person who is e) possible such that a+b+c+d+e=75.
in between the sisters in 2! ways. The person a) 65C5
who sits in between the two sisters can be any
b) 58C6
of the 15 in the group and can be selected in
15 ways. Therefore, the total number of ways c) 72C7
15 *12! * 2!. d) 74C4
5. Find the value of a4 for the recurrence bn=b2n+c6n. To find b and c, set n=0 and n=1
relation an=2an-1+3, with a0=6. to get a system of two equations with two
a) 320 unknowns: 3=b20+c60=b+c, and
b) 221 4=b21+c61=2b+6c. Solving this system gives
c) 141 c=-1/2 and b=7/2. So the solution to the
d) 65
recurrence relation is, bn=7/2*2n−1/2*6n.
Answer: c
Explanation: When n=1, a1=2a0+3, Now 8. What is the solution to the recurrence
a2=2a1+3. By substitution, we get relation an=5an-1+6an-2?
a2=2(2a0+3)+3. a) 2n2
Regrouping the terms, we get a4=141, where b) 6n
c) (3/2)n
a0=6.
d) n!*3
6. The solution to the recurrence relation Answer: b
an=an-1+2n, with initial term a0=2 are Explanation: Check for the left side of the
_________ equation with all the options into the
a) 4n+7 recurrence relation. Then, we get that 6n is
b) 2(1+n) the required solution to the recurrence
c) 3n2 relation an=5an-1 + 6an-2.
d) 5*(n+1)/2
9. Determine the value of a2 for the
Answer: b recurrence relation an = 17an-1 + 30n with
Explanation: When n=1, a1=a0+2. By a0=3.
substitution we get, a2=a1+2 ⇒ a2=(a0+2)+2 a) 4387
and so on. So the solution to the recurrence b) 5484
relation, subject to the initial condition should c) 238
be an=2+2n=2(1+n). d) 1437
Answer: b Answer: b
Explanation: The characteristic polynomial Explanation: For the sequence 1, 6, 36,
is x2−6x+8. By solving the characteristic 216,… the generating function must be 1
(1−6x
equation, x2−6x+8=0 we get x=2 and x=4, , when basic generating function: 1
1−x
.
these are the characteristic roots. Therefore
we know that the solution to the recurrence 3. What is the generating function for
relation has the form an=a*2n+b*4n, for some generating series 1, 2, 3, 4, 5,… ?
constants a and b. Now, by using the initial a) 2
(1−3x)
(1+x)
(1−x2)
7/2 * 2n – 1/2*3n.
Answer: c
TOPIC 2.8 GENERATING Explanation: Basic generating function is
1
. If we differentiate term by term in the
FUNCTIONS 1−x
2. What is the generating function for the 5. What is the recurrence relation for the
sequence 1, 6, 16, 216,….? sequence 1, 3, 7, 15, 31, 63,…?
(1+6x) a) an = 3an-1−2an+2
a)
b) an = 3an-1−2an-2
3
x
b) 1
(1−6x)
c) an = 3an-1−2an-1
c) 1
(1−4x)
d) an = 3an-1−2an-3
d) 1-6x2
2
+
520
6
–
520
12
= 303.3 =
303(Approximately).
football + 24 people joining basketball – 9 since all the letters must be placed in the
people who will join both = 30 people total. remaining box, and T ⋂ C ⋂ P ⋂ D| = 0.
Hence, PIE implies |N| – |T U C U P U D| =
6. The sum of all integers from 1 to 520 that
49 – 4 x 29 + 4 x 19 – 0 = 260100.
are multiples of 4 or 5?
a) 187 8. A card is drawn randomly from a standard
b) 208 deck of cards. Determine the probability that
c) 421 the card drawn is a queen or a heart.
d) 52 a) 1
Answer: b b) 13
56
13
52
elements in A or B is equal to the sum of
elements in A plus the sum of elements in B Answer: c
minus the sum of elements in A and B. Let A Explanation: Let M be the event that the card
be the set of multiples of 4 and B be the set of is a queen, and let N be the event that the card
multiples of 5, then A ⋂ B is the set of is a heart. Then Since there are 13 different
multiples of 20, and hence ranks of cards in the deck, P(M) = 1
13
and
520
4
+
520
5
–
520
20
= 208. since there are 4 suits in the deck, P(N) = .
1
P(M U N) = + –
1 1 1
=
16
=
4
.
violet) and 4 boxes each of different shapes 4 13 52 52 13
900
c) 437102 b) 43
860
d) 256850 c) 231
546
d) 31
Answer: a 701
900
probability.
Now, to find |N| – |T U C U P U D|. We have
10. From 1, 2, 3, …, 320 one number is
|T|=|C|=|P|=|D|=27 and since the letters can be selected at random. Find the probability that it
placed into one of the two other boxes, and is either a multiple of 7 or a multiple of 3.
|TUC| = |C U P| = |P U D| = |D U T| = 17, a) 72%
b) 42.5% Answer: a
c) 12.8% Explanation: A vertex colouring of a graph
d) 63.8% G = (V’,E’) with m colours is a mapping f:V’
-> {1,…,m} such that f(u)!=f(v) for every
Answer: b (u,v) belongs to E’. Since in worst case the
Explanation: Number of multiples of 7=45 graph can be complete, d+1 colours are
and number of multiples of 3=106 and necessary for graph containing vertices with
number of numbers which are multiples of degree at most ‘d’. So, the required answer is
both 7 and 3 = 15 Thus, P (selecting either a 24.
multiple of 7 or a multiple of 3) =
45
+
106
–
15
=
136
=
2
= 0.425 or 3. Triangle free graphs have the property of
320 320 320 320 5
clique number is __________
42.5%.
a) less than 2
b) equal to 2
c) greater than 3
d) more than 10
UNIT III GRAPHS Answer: d
Explanation: In an undirected triangle-free
TOPIC 3.1 GRAPHS AND graph no three vertices can form a triangle of
GRAPH MODELS edges. It can be described as graphs with
clique number less than 2 and the graphs with
girth greater than 4.
1. In a 7-node directed cyclic graph, the
number of Hamiltonian cycle is to be ______ 4. Berge graph is similar to ______ due to
a) 728 strong perfect graph theorem.
b) 450 a) line graph
c) 360 b) perfect graph
d) 260 c) bar graph
d) triangle free graph
Answer: c
Explanation: A Hamiltonian cycle in a Answer: b
connected graph G is defined as a closed path Explanation: In a perfect graph, the
that traverses every vertex of G exactly once chromatic number of each and every induced
except the starting vertex, at which the path subgraph is equal to the size of the largest
also terminates. In an n-complete graph, there clique of that subgraph. These perfect graphs
are (n-1)!/2 hamiltonian cycles and so the are same as Berge graphs due to strong
answer is 360. perfect graph theorem.
2. If each and every vertex in G has degree at 5. Let D be a simple graph on 10 vertices
most 23 then G can have a vertex colouring such that there is a vertex of degree 1, a
of __________ vertex of degree 2, a vertex of degree 3, a
a) 24 vertex of degree 4, a vertex of degree 5, a
b) 23 vertex of degree 6, a vertex of degree 7, a
c) 176 vertex of degree 8 and a vertex of degree 9.
d) 54 What can be the degree of the last vertex?
a) 4
b) 0
c) 2 c) 17/54
d) 5 d) 17/53
Answer: c Answer: b
Explanation: We know that sum of degrees Explanation: Here we are given a forest with
of all vertices = 2X no of edges. Say number 54 vertices and 17 components. A component
of edges is E. Degree of last vertex is x, is itself a tree and since there are 17
1+2+3+4+5+6+7++8+9+x = 2XE components means that every component has
=>45+x = 2XE a root, therefore we have 17 roots. Each new
Now putting options we get answer 0 or 5 vertex of the forest contributes to a single
But one vertex of degree 9 means it edge to a forest. So for remaining 54-17 = 37
connected to all other vertexes. So, the degree vertices we can have m-n=37 edges. Hence,
must be 5. answer is 37.
6. A ______ is a graph which has the same 9. The number of edges in a regular graph of
number of edges as its complement must have degree 46 and 8 vertices is ____________
number of vertices congruent to 4m or 4m a) 347
modulo 4(for integral values of number of b) 230
edges). c) 184
a) Subgraph d) 186
b) Hamiltonian graph
c) Euler graph Answer: c
d) Self complementary graph Explanation: In a complete graph which is
(n-1) regular (where n is the number of
Answer: d vertices) has edges n*(n-1)/2. In the graph n
Explanation: It is the definition of self vertices are adjacent to n-1 vertices and an
complementary graph. It is a graph that is edge contributes two degree so dividing by 2.
isomorphic to its complement. Hence, in a d regular graph number of edges
will be n*d/2 = 46*8/2 = 184.
7. In a ______ the vertex set and the edge set
are finite sets. 10. An undirected graph G has bit strings of
a) finite graph length 100 in its vertices and there is an edge
b) bipartite graph between vertex u and vertex v if and only if u
c) infinite graph and v differ in exactly one bit position.
d) connected graph Determine the ratio of the chromatic number
of G to the diameter of G?
Answer: b a) 1/2101
Explanation: In graph theory, most common b) 1/50
graphs are considered to be finite otherwise it c) 1/100
is an infinite graph. Now, a finite graph is a d) 1/20
graph in which the vertex set and the edge set
are described as the finite sets. Answer: b
Explanation: For the given condition we can
8. If G is the forest with 54 vertices and 17 simply design a K-Map and mark an edge
connected components, G has _______ total between every two adjacent cells in K-map.
number of edges. Hence, that will give us a Bipartite graph and
a) 38 chromatic number for this = 2. Hence the
b) 37
1. In a 7-node directed cyclic graph, the 4. Berge graph is similar to ______ due to
number of Hamiltonian cycle is to be ______ strong perfect graph theorem.
a) 728 a) line graph
b) 450 b) perfect graph
c) 360 c) bar graph
d) 260 d) triangle free graph
Answer: c Answer: b
Explanation: A Hamiltonian cycle in a Explanation: In a perfect graph, the
connected graph G is defined as a closed path chromatic number of each and every induced
that traverses every vertex of G exactly once subgraph is equal to the size of the largest
except the starting vertex, at which the path clique of that subgraph. These perfect graphs
also terminates. In an n-complete graph, there are same as Berge graphs due to strong
are (n-1)!/2 hamiltonian cycles and so the perfect graph theorem.
answer is 360.
5. Let D be a simple graph on 10 vertices
2. If each and every vertex in G has degree at such that there is a vertex of degree 1, a
most 23 then G can have a vertex colouring vertex of degree 2, a vertex of degree 3, a
of __________ vertex of degree 4, a vertex of degree 5, a
a) 24 vertex of degree 6, a vertex of degree 7, a
b) 23 vertex of degree 8 and a vertex of degree 9.
c) 176 What can be the degree of the last vertex?
d) 54 a) 4
b) 0
Answer: a c) 2
Explanation: A vertex colouring of a graph d) 5
G = (V’,E’) with m colours is a mapping f:V’
-> {1,…,m} such that f(u)!=f(v) for every Answer: c
(u,v) belongs to E’. Since in worst case the Explanation: We know that sum of degrees
graph can be complete, d+1 colours are of all vertices = 2X no of edges. Say number
necessary for graph containing vertices with of edges is E. Degree of last vertex is x,
degree at most ‘d’. So, the required answer is 1+2+3+4+5+6+7++8+9+x = 2XE
24. =>45+x = 2XE
Now putting options we get answer 0 or 5
3. Triangle free graphs have the property of But one vertex of degree 9 means it
clique number is __________ connected to all other vertexes. So, the degree
a) less than 2 must be 5.
b) equal to 2
c) greater than 3 6. A ______ is a graph which has the same
d) more than 10 number of edges as its complement must have
number of vertices congruent to 4m or 4m
still be connected. So, bridge cannot be part 4. Let G be a directed graph whose vertex set
of a cycle. A clique is any complete subgraph is the set of numbers from 1 to 50. There is an
of a graph. edge from a vertex i to a vertex j if and only if
either j = i + 1 or j = 3i. Calculate the
2. Any subset of edges that connects all the minimum number of edges in a path in G
vertices and has minimum total weight, if all from vertex 1 to vertex 50.
the edge weights of an undirected graph are a) 98
positive is called _______ b) 13
a) subgraph c) 6
b) tree d) 34
c) hamiltonian cycle
d) grid Answer: c
Explanation: Edge set consists of edges from
Answer: b i to j using either 1) j = i+1 OR 2) j=3i. The
Explanation: If all the edge weights of an trick to solving this question is to think in a
undirected graph are positive, any subset of reverse way. Instead of finding a path from 1
edges that connects all the vertices and has to 50, try to find a path from 100 to 1. The
minimum total weight is termed as a tree. In edge sequence with the minimum number of
this case, we need to have a minimum edges is 1 – 3 – 9 – 10 – 11 – 33 which
spanning tree need to be exact. consists of 6 edges.
Answer: d Answer: c
Explanation: In any simple undirected graph, Explanation: We know that, sum of degree of
total degree of all vertices is even (since each all the vertices = 2 * number of edges
edge contributes 2 degrees). So number of 2*7 + 5*2 + 6*x = 39*2
vertices having odd degrees must be even, x=9
otherwise, their sum would have been odd, Number of vertices = 7 + 2 + 9 = 18.
making total degree also odd. Now single
vertex n is connected to all these even number 6. ______ is the maximum number of edges
of vertices (which have odd degrees). So, in an acyclic undirected graph with k vertices.
degree of n is also even. Moreover, now a) k-1
degree of all vertices which are connected to b) k2
v is increased by 1, hence earlier vertices c) 2k+3
which had odd degree now have even degree. d) k3+4
So now, all vertices in the graph have even
degree, which is necessary and sufficient Answer: a
condition for euler graph. Explanation: This is possible with spanning
trees since, a spanning tree with k nodes has k
– 1 edges.
a) Karp a) 1
b) Leonard Adleman b) 2
c) Andreas Bjorklund c) 3
d) Martello d) 4
Answer: c Answer: a
Explanation: Andreas Bjorklund came up Explanation: The above graph has only one
with the inclusion-exclusion principle to Hamiltonian path that is from a-b-c-d-e.
reduce the counting of number of
Hamiltonian cycles. 13. How many Hamiltonian paths does the
following graph have?
10. For a graph of degree three, in what time
can a Hamiltonian path be found?
a) O(0.251n)
b) O(0.401n)
c) O(0.167n)
d) O(0.151n)
Answer: a a) 1
Explanation: For a graph of maximum b) 2
degree three, a Hamiltonian path can be found c) 0
in time O(0.251n). d) 3
11. What is the time complexity for finding a Answer: c
Hamiltonian path for a graph having N Explanation: The above graph has no
vertices (using permutation)? Hamiltonian paths. That is, we cannot
a) O(N!) traverse the graph with meeting vertices
b) O(N! * N) exactly once.
c) O(log N)
d) O(N)
Answer: b
Explanation: For a graph having N vertices UNIT IV ALGEBRAIC
traverse the permutations in N! iterations and
it traverses the permutations to see if adjacent STRUCTURES
vertices are connected or not takes N
iterations (i.e.) O(N! * N). TOPIC 4.1 ALGEBRAIC
12. How many Hamiltonian paths does the SYSTEMS
following graph have?
1. Let C and D be two sets then which of the
following statements are true?
i) C U D = D U C
ii) C ∩ D = D ∩ C
Answer: a
Explanation: A singular element can TOPIC 4.4 SUBGROUPS
generate a cyclic group. Every element of a
cyclic group is a power of some specific 1. A trivial subgroup consists of
element which is known as a generator ‘g’. ___________
a) Identity element
8. How many properties can be held by a b) Coset
group? c) Inverse element
a) 2 d) Ring
b) 3
c) 5 Answer: a
d) 4 Explanation: Let G be a group under a binary
operation * and a subset H of G is called a
Answer: c subgroup of G if H forms a group under the
Explanation: A group holds five properties operation *. The trivial subgroup of any
simultaneously – group is the subgroup consisting of only the
i) Closure Identity element.
ii) associative
iii) Commutative 2. Minimum subgroup of a group is called
iv) Identity element _____________
v) Inverse element. a) a commutative subgroup
b) a lattice
9. A cyclic group is always _________ c) a trivial group
a) abelian group d) a monoid
b) monoid
c) semigroup Answer: c
d) subgroup Explanation: The subgroups of any given
group form a complete lattice under inclusion
Answer: a termed as a lattice of subgroups. If o is the
Explanation: A cyclic group is always an Identity element of a group(G), then the
abelian group but every abelian group is not a trivial group(o) is the minimum subgroup of
cyclic group. For instance, the rational that group and G is the maximum subgroup.
numbers under addition is an abelian group
but is not a cyclic one. 3. Let K be a group with 8 elements. Let H be
a subgroup of K and H<K. It is known that
10. {1, i, -i, -1} is __________ the size of H is at least 3. The size of H is
a) semigroup __________
b) subgroup a) 8
c) cyclic group b) 2
d) abelian group c) 3
d) 4
Answer: c
Explanation: The set of complex numbers Answer: d
{1, i, -i, -1} under multiplication operation is Explanation: For any finite group G, the
a cyclic group. Two generators i and -i will order (number of elements) of every subgroup
10. Two groups are isomorphic if and only if 3. Lagrange’s theorem specifies __________
__________ is existed between them. a) the order of semigroup is finite
a) homomorphism b) the order of the subgroup divides the order
b) endomorphism of the finite group
c) isomorphism c) the order of an abelian group is infinite
d) association d) the order of the semigroup is added to the
order of the group
Answer: c
Explanation: Two groups M and K are Answer: b
isomorphic (M ~= K) if and only if there Explanation: Lagrange’s theorem satisfies
exists an isomorphism between them. An that the order of the subgroup divides the
isomorphism f:M -> K between two groups order of the finite group.
M and K is a mapping which satisfies two
4. A function is defined by f(x)=2x and f(x +
conditions: 1) f is a bijection and 2) for every
y) = f(x) + f(y) is called _____________
x,y belongs to M, we have f(x*My) = f(x) *
a) isomorphic
Kf(y).
b) homomorphic
c) cyclic group
TOPIC 4.5 NORMAL SUBGROUP d) heteromorphic
AND COSETS, LAGRANGE‘S
Answer: a
THEOREM Explanation: Let (G,*) and (G’,+) are two
groups. The mapping f:G->G’ is said to be
1. a * H is a set of _____ coset. isomorphism if two conditions are satisfied 1)
a) right f is one-to-one function and onto function and
b) left 2) f satisfies homomorphism.
c) sub
d) semi 5. An isomorphism of a group onto itself is
called ____________
Answer: b a) homomorphism
Explanation: Let (H, *) be the semigroup of b) heteromorphism
the group (G, *). Let a belongs to G. (a * H) c) epimorphism
is the set of a left coset of H in G and (H * a) d) automorphism
be the set of a right coset of H in G.
Answer: d
2. a * H = H * a relation holds if __________ Explanation: An automorphism is defined as
a) H is semigroup of an abelian group an isomorphism of a group onto itself.
Similarly, the homomorphism of a group onto be non-singular (determinant !=0) for the
itself is defined as the endomorphism of the inverse to exist. Hence the set of all non-
group. singular matrices forms a group under
multiplication is a true option.
6. The elements of a vector space form a/an
____________ under vector addition. 9. How many different non-isomorphic
a) abelian group Abelian groups of order 8 are there?
b) commutative group a) 5
c) associative group b) 4
d) semigroup c) 2
d) 3
Answer: a
Explanation: An example of a coset is Answer: c
associated with the theory of vector spaces. Explanation: The number of Abelian groups
The elements (vectors) form an abelian group of order Pm (let, P is prime) is the number of
under the vector addition in a vector space.
partitions of m. Here order is 8 i.e. 23 and so
Subspaces of a vector space are subgroups of
partition of 3 are {1, 1} and {3, 0}. So
this group.
number of different abelian groups are 2.
7. A set of representatives of all the cosets is
10. Consider the set B* of all strings over the
called _________
alphabet set B = {0, 1} with the concatenation
a) transitive operator for strings ________
b) reversal
a) does not form a group
c) equivalent
b) does not have the right identity element
d) transversal
c) forms a non-commutative group
d) forms a group if the empty string is
Answer: d
removed from
Explanation: A coset representative is a
representative in the equivalence class. In all
Answer: a
cosets, a set of the representative is always
Explanation: Identity element for
transversal.
concatenation is an empty string. Now, we
cannot concatenate any string with a given
8. Which of the following statement is true?
a) The set of all rational negative numbers string to get empty string there is no inverse
forms a group under multiplication for string concatenation. Only other 3 group
b) The set of all matrices forms a group under properties such as closure, associative and
multiplication existence of identity are satisfied.
c) The set of all non-singular matrices forms a
group under multiplication TOPIC 4.6 DEFINITIONS AND
d) The set of matrices forms a subgroup under EXAMPLES OF RINGS AND
multiplication
FIELDS
Answer: c
Explanation: Since multiplication of two 1. GCD(a,b) = GCD(b,a mod b)
negative rational numbers gives a positive a) True
number. Hence, closure property is not b) False
satisfied. Singular matrices do not form a
group under multiplication. Matrices have to
Answer: a Answer: d
Explanation: The statement is true. For Explanation: A ring R denoted by {R, + , x}
example, GCD(55,22) = GCD(22,55 mod 22) is a set of elements with two binary
= GCD(22,11) = 11 operations addition and multiplication and
satisfy axioms G-i to R-iii.
Consider the Following properties Properties
G-i) Closure 5. A Ring is said to be commutative if it also
G-ii) Associative satisfies the property
G-iii) Identity Element a) R-vi
G-iv) Inverse Element b) R-v
G-v) Commutative c) R-vii
d) R-iv
Consider the Following properties Properties
R-i) Closure under multiplication Answer: d
R-ii) Associativity of multiplication Explanation: A Ring is said to be
R-iii) Distributive Law commutative if it also satisfies the property
R-iv) Commutativity of multiplication R-iv: Commutativity of multiplication.
R-v) Multiplicative Identity
R-vi) No zero divisors 6. An ‘Integral Domain’ satisfies the
R-vii) Multiplicative Inverse properties
a) G-i to G-iii
2. All groups satisfy properties b) G-i to R-v
a) G-i to G-v c) G-i to R-vi
b) G-i to G-iv d) G-i to R-iii
c) G-i to R-v
d) R-i to R-v Answer: c
Explanation:An ‘Integral Domain’ satisfies
Answer: b the properties G-i to R-vi.
Explanation: Group G denoted by {G,o}, is a
set of elements that satisfy the properties G-i 7. A Field satisfies all the properties above
to G-iv. from G-i to R-vi.
a) True
3. An Abelian Group satisfies the properties b) False
a) G-i to G-v
b) G-i to R-iv Answer: a
c) G-i to R-v Explanation: A Field satisfies all the
d) R-i to R-v properties above from G-i to R-vi and is
denoted by {F, +, x}.
Answer: a
Explanation: An Abelian group is a group 8. In modular arithmetic : (a/b) = b(a^-1)
that satisfies the Commutative property also. a) True
b) False
4. A Ring satisfies the properties
a) R-i to R-v Answer: b
b) G-i to G-iv Explanation: This statement is not true. The
c) G-i to R-v correct version would be : (a/b) = a(b-1).
d) G-i to R-iii
Number of edges in the Hasse diagram of is 3. If the longest chain in a partial order is of
______ length l, then the partial order can be written
a) 6 as _____ disjoint antichains.
b) 5 a) l2
c) 9 b) l+1
d) 4 c) l
Answer: b d) ll
Explanation: Hasse Diagram is:
Answer: c
32 Explanation: If the length of the longest
chain in a partial order is l, then the elements
/ in the POSET can be partitioned into l
disjoint antichains.
16
either (bi, bj) or (bj, bi) in total order. So, this 1. A Poset in which every pair of elements
translates to giving an ordering for n elements has both a least upper bound and a greatest
between x and y, which can be done in n! lower bound is termed as _______
ways. a) sublattice
b) lattice
10. Let (A, ≤) be a partial order with two c) trail
minimal elements a, b and a maximum d) walk
element c. Let P:A –> {True, False} be a
predicate defined on A. Suppose that P(a) = Answer: b
True, P(b) = False and P(a) ⇒ P(b) for all Explanation: A poset in which every pair of
satisfying a ≤ b, where ⇒ stands for logical elements has both a least upper bound and a
greatest lower bound is called a lattice. A
implication. Which of the following
lattice can contain sublattices which are
statements cannot be true?
a) P(x) = True for all x S such that x ≠ b subsets of that lattice.
b) P(x) = False for all x ∈ S such that b ≤ x
and x ≠ c 2. In the poset (Z+, |) (where Z+ is the set of
all positive integers and | is the divides
c) P(x) = False for all x ∈ S such that x ≠ a
relation) are the integers 9 and 351
and x ≠ c
comparable?
d) P(x) = False for all x ∈ S such that a ≤ x
a) comparable
and b ≤ x b) not comparable
c) comparable but not determined
Answer: d
d) determined but not comparable
Explanation: Here, maximum element is c
and so c is of a higher order than any other Answer: a
element in A. Minimal elements are a and b: Explanation: The two integers 9 and 351 are
No other element in A is of lower order than comparable since 9|351 i.e, 9 divides 351. But
either a or b. 5 and 127 are not comparable since 5 | 127 i.e
We are given P(a) = True. So, for all x such 5 does not divide 127.
that a≤x, P(x) must be True. We do have at
least one such x, which is c as it is the 3. If every two elements of a poset are
maximum element. So, P(x) = False for all x comparable then the poset is called ________
∈ S such that a ≤ x and b ≤ x -> cannot be a) sub ordered poset
true. P(x) = True for all x S such that x ≠ b -> b) totally ordered poset
can be True as all elements mapped to TRUE c) sub lattice
doesn’t violate the given implication. P(x) = d) semigroup
False for all x ∈ S such that x ≠ a and x ≠ c ->
can be True if a is related only to c. P(x) = Answer: b
False for all x ∈ S such that b ≤ x and x ≠ c -> Explanation: A poset (P, <=) is known as
can be True as b≤x ensures x≠a and for all totally ordered if every two elements of the
other elements P(x) can be False without poset are comparable. “<=” is called a total
violating the given implication. order and a totally ordered set is also termed
as a chain.
TOPIC 5.2 POSETS, LATTICES 4. ______ and _______ are the two binary
& PROPERTIES operations defined for lattices.
a) Join, meet
b) Addition, subtraction
Answer: d
a) non-lattice poset Explanation: A lattice (L, ∨, ∧) is modular if
b) semilattice for all elements a, b, c of L, the following
c) partial lattice identity holds->modular identity: (a ∧ c) ∨ (b
d) bounded lattice ∧ c) = [(a ∧ c) ∨ b] ∧ c. This condition is
equivalent to the following axiom -> modular
Answer: a law: a ≤ c implies a ∨ (b ∧ c) = (a ∨ b) ∧ c. A
Explanation: The graph is an example of
lattice is modular if and only if it does not 2. Boolean algebra can be used
have a sublattice isomorphic to N5. ____________
a) For designing of the digital computers
9. Every poset that is a complete semilattice b) In building logic symbols
must always be a _______ c) Circuit theory
a) sublattice d) Building algebraic functions
b) complete lattice
c) free lattice Answer: a
d) partial lattice Explanation: For designing digital computers
and building different electronic circuits
Answer: b boolean algebra is accepted widely.
Explanation: A poset is called a complete
lattice if all its subsets have both a join and a 3. What is the definition of Boolean
meet. Every complete lattice is a bounded functions?
lattice. Every poset that is a complete a) An arithmetic function with k degrees such
semilattice must always be a complete lattice. that f:Y–>Yk
b) A special mathematical function with n
10. A free semilattice has the _______ degrees such that f:Yn–>Y
property. c) An algebraic function with n degrees such
a) intersection
that f:Xn–>X
b) commutative and associative
d) A polynomial function with k degrees such
c) identity
d) universal that f:X2–>Xn
Answer: d Answer: b
Explanation: Any set X may be used to Explanation: A Boolean function is a special
generate the free semilattice FX. The free mathematical function with n degrees and
semilattice is defined to consist of all of the where Y = {0,1} is the Boolean domain with
finite subsets of X with the semilattice being a non-negative integer. It helps in
operation given by ordinary set union; the describing the way in which the Boolean
free semilattice has the universal property. output is derived from Boolean inputs.
c) Logic gates a) AC
d) Expressions b) B+C
c) B`
Answer: c d) AB
Explanation: To implement a Boolean
function logic gates are used. Basic logic Answer: d
gates are AND, OR and NOT. Explanation: AB(B+C)
= ABB + ABC [Applying distributive rule]
3. Inversion of single bit input to a single bit = AB + ABC [Applying Idempotent law]
output using _________ = AB (1+C)
a) NOT gate = AB*1 [As, 1+C=1]
b) NOR gate = AB.
c) AND gate
d) NAND gate 7. The set for which the Boolean function is
functionally complete is __________
Answer: a a) {*, %, /}
Explanation: A NOT gate is used to invert a b) {., +, -}
single bit input (say A) to a single bit of c) {^, +, -}
output (~A). d) {%, +, *}
Answer: c Answer: d
Explanation: The sum of minterms that Explanation: (X + Z)(X + XZ’) + XY + Y
represents the function is called the sum-of- [Original Expression]
products expansion or the disjunctive normal = (x + z)X(1 + Z’) + XY + Y [Distributive]
form. A Boolean sum of minterms has the = (X + Z)X + XY + Y [Complement,
value 1 when exactly one of the minterms in Identity]
the sum has the value 1. It has the value 0 for = (X+Z)X + Y(X+1) [ Distributive]
all other combinations of values of the = (X+Z)X + Y [Idempotent]
variables. = XX + XZ + Y [Distributive]
= X + XZ + Y [Identity]
10. a ⊕ b = ________ = X(1+Z) + Y
a) (a+b)(a`+b`) = X + Y [Idempotent].
b) (a+b`)
c) b` 3. Simplify the expression: A’(A + BC) +
d) a` + b` (AC + B’C).
a) (AB’C+BC’)
Answer: a b) (A’B+C’)
Explanation: a ⊕ b c) (A+ BC)
= a`b + ab` d) AC
= a`b+aa` + bb` + ab` [As, a*a` = 0 and b*b`
= 0] Answer: b
= a`(a+b) + b`(a+b) Explanation: Given: A’(A + BC) + (AC +
= (a+b)(a`+b`). B’C)
= A’A + A’BC + AC + B’C
= A’BC + C(A + B’)
TOPIC 5.5 MINIMIZATION OF = C(A’B + A + B’)
BOOLEAN ALGEBRA = C(A + B + B’)
= C(A + 1)
1. Find the simplified expression = AC.
A’BC’+AC’.
a) B 4. What is the simplification value of MN(M
b) A+C + N’) + M(N + N’)?
c) (A+B)C’ a) M
d) B’C b) MN+M’N’
c) (1+M)
Answer: c d) M+N’
Explanation: Given: A’BC’ + AC’
= C’(A’B + A) Answer: b
= C’(A + B). Explanation: Given: MN(M + N’) + M(N +
N’)
2. Evaluate the expression: (X + Z)(X + XZ’) = MN(M+N’) + M.1
+ XY + Y. = MNM + MNN’ + M
a) XY+Z’ = MN + 0 +M
b) Y+XZ’+Y’Z = M(N + 1)
c) X’Z+Y = M.
d) X+Y
5. Simplify the expression XZ’ + (Y + Y’Z) +
XY.
Answer: c Answer: d
Explanation: We have, x+x’y’z+yz Explanation: Given, F(A,B,C) = (A+BC’)
= x+y’z+yz [since, x+x’y’z=x+y’z] (AB’+C)
= x+z(y’+y) = (AAB’ + BC’AB’ + AC + BC’C)
= x + z. = (AB’ + 0 + AC + 0)
= A(B’ + C).