Gate Psus: Workbook
Gate Psus: Workbook
PSUs
Workbook 2022
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
CONTENTS
Workbook
1. Propositional Logic ...................................... 4
7. Calculus ..................................................... 53
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this
book may be reproduced or utilised in any form without the written permission.
Discrete and Engineering Mathematics
Description Sheet
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
set of connectives?
(a) {¬} (b) {∨}
Y
(c) {∧, ∨} (d) {∧, ¬}
Q.1 Which of the following is a proposition?
(a) What is your name? Q.7 Which of the following is not a functionally
S
(b) Do your assignments. complete set of connectives?
(c) 1 + 1 = 4 (a) {∧, ¬} (b) {∨, ¬}
(d) What a great day it is! (c) {⇒} (d) {↑}
Q.2 Which of the following is not a proposition?
(a) Delhi is in India A Q.8 Which of the following is a smallest minimal
functionally complete set of connective?
E
(b) London is the capital of France (a) {∧, ¬} (b) {↓}
(c) This sentence is true (c) {∧, ∨} (d) {∨, ¬}
(d) This sentence is false
Q.9 Which of the following is commutative but not
E
www.madeeasypublications.org © Copyright
Workbook 5
Q.13 Which of the following is an equivalent formula Q.21 If a ≡ F and b ⇔ c is a tautology then which of
for p ⇒ (q ⇔ r) which contains neither the the following is equivalent to a ∨ (b ∧ c)
biconditional nor the conditional? (a) a (b) F
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(a) p ∧ (¬ q ∨ r) ∧ (¬ r ∨ q) (c) T (d) b
(b) p ∨ (¬ q ∧ r) ∨ (¬ r ∨ q)
Q.22 If p is false, then p ∧ q ⇒ r is a
(c) ~p ∨ (¬ q ∨ r) ∧ (¬ r ∨ q)
(a) tautology
(d) p ∨ (¬ q ∨ r) ∨ (¬ r ∨ q)
(b) contingency
Q.14 Which of the following is the correct order of (c) contradiction
precedence of the connectives? (in descending (d) true only if q and r are both false
order of precedence)
Q.23 If p ⇒ q is true, then the truth value of which of
(a) ¬, ∨, ∧, ⇒, ⇔ (b) ¬, ∧, ∨, ⇒, ⇔
the following cannot be determined
(c) ∧, ∨, ¬, ⇒, ⇔ (d) ∧, ∨, ¬, ⇔, ⇒
Y
(a) ~p ∨ q (b) ~q ⇒ ~p
Q.15 Which one of the following is the dual of (c) ~p ⇒ ~q (d) ~(p ∧ ~q)
¬(p ∧ q) ∨ (p ∧ ¬ (q ∨ ¬ s))
S
Q.24 If p ⇒ q is true, then the truth value of which of
(a) (p ∨ q) ∧ (p ∨ (q ∧ s))
the following can be determined?
(b) ¬(p ∨ q) ∧ (p ∨ ¬ (q ∧ ¬ s))
(a) p (b) q
(c) (p ∧ q) ∨ (p ∧ (q ∨ ¬ s))
(d) Does not have a dual
true?
that occur in A and A* (a) q ⇒ p is satisfiable
(d) A = ¬A* (b) q ⇒ ~p is unsatisfiable
Q.19 If A(P, Q, R) = ¬P ∧ ¬ (Q ∨ R) what is (c) q ⇒ (p ∨ r) is satisfiable
A* (¬P, ¬Q, ¬R)? (d) q ⇒ (p ∨ r) is a tautology
(a) P ∧ Q ∧ R (b) P ∨ Q ∨ R Q.28 F 1 : p ∨ (p ∧ q)
(c) P ∨ Q ∧ R (d) P ∧ Q ∨ R F 2 : p ∧ (p ∨ q )
Q.20 Which of the following is a tautology? Which of the following is false?
(a) [(p ⇒ q) ∧ (r ⇒ s) ∧ (p ∨ r)] ⇒ (q ∨ s) (a) F1 and F2 are equivalent
(b) [(p ⇒ q) ∨ (q ⇒ p)] ⇔ (p ⇔ q) (b) F1 and F2 are duals of each other
(c) (p ⇒ q) ⇔ (~q ∨ p) (c) F1 and F2 are both tautologies
(d) (p ⇒ q) ∧ p ⇒ ~q (d) F1 and F2 are both contingencies
© Copyright www.madeeasypublications.org
6 Computer Science & IT • Discrete and Engineering Mathematics
Q.29 Which of the following is the inverse of the Q.35 If F1, F2 and F3 are propositional formulae such
statement “If today is Monday, tomorrow is that F1 ∧ F2 → F3 and F1 ∧ F2 → ~F3 are both
Tuesday”? tautologies, then which of the following is true
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(a) If today is Monday, then tomorrow is not (a) Both F1 and F2 are tautologies
Tuesday (b) The conjunction F1 ∧ F2 is not satisfiable
(b) Tomorrow is not Tuesday follows from today (c) Neither is tautologous
is not Monday (d) Neither is satisfiable
(c) Today is Monday is sufficient for tomorrow (e) None of the above
is Tuesday [GATE-1991]
[GATE-1991]
(d) Today is not Monday is necessary for Q.36 The operation which is commutative but not
tomorrow is not Tuesday associative is
Y
Q.30 What is the converse of p = 0 or q = 0, if pq = 0? (a) AND (b) OR
(a) p ≠ 0 ∧ q ≠ 0; if pq ≠ 0 (c) EX-OR (d) NAND
(b) If pq = 0, p = 0 or q = 0 [GA TE-1992]
[GATE-1992]
S
(c) pq = 0, if p = 0 or q = 0 Q.37 Which of the following predicate calculus
(d) pq = 0 sufficient for p = 0 or q = 0 statements is/are valid
Q.31 Which of the following is the negation of
“All triangles are polygons”?
(a) There is some triangle which is a polygon A (a) (∀x) P(x) ∨ (∀x) Q(x) → (∀x) {P (x) ∨ Q(x)}
(b) (∃x) P(x) ∧ (∃x) Q(x) → (∃x) {P (x) ∧ Q(x)}
(c) (∀x) {P(x) ∨ Q(x)} → (∀x) P(x) ∨ (∀x) Q(x)
E
(b) All triangles are not polygons (d) (∃x) {P(x) ∨ Q(x)} → ~(∃x) P(x) ∨ (∃x) Q(x)
(c) All polygons are triangles [GA TE-1992]
[GATE-1992]
(d) There is some triangle which is not a polygon
Q.38 Which of the following is/are tautology
E
www.madeeasypublications.org © Copyright
Workbook 7
Q.41 Which of the following propositions is a (a) ((∀x) [α] ⇒ (∀x)[β]) ⇒ (∀x) [α ⇒ β]
tautology? (b) (∀x) [α] ⇒ (∃x) [α ∧ β]
(a) (p ∨ q ) → p (b) p ∨ (q → p) (c) (∀x) [α ∨ β ] ⇒ (∃x) [α] ⇒ (∀x) [α]
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(c) p ∨ (p → q ) (d) p → (p → q) (d) (∀x) [α ⇒ β ] ⇒ ((∀x) [α] ⇒ (∀x) [β])
[GATE-1997]
[GATE-1997] [GA TE-2003]
[GATE-2003]
Q.42 What is the converse of the following assertion? Q.47 The following resolution rule is used in logic
I stay only if you go programming: Derive clause (P ∨ Q) from
(a) I stay if you go clauses (P ∨ R), (Q ∨ ¬ R)
(b) If I stay then you go
Which of the following statements related to this
(c) If you do not go then I do not stay
rule is FALSE?
(d) If I do not stay then you go
(a) (P ∨ R) ∧ (Q ∨ ¬ R) ⇒ (P ∨ Q) is logically
Y
[GA TE-1998]
[GATE-1998]
valid
Q.43 Let a, b, c, d be propositions. Assume that the (b) (P ∨ Q) ⇒ (P ∨ R)∧ (Q ∨ ¬ R) is logically
equivalences a ↔ (b ∨ ¬ b) and b ↔ c hold.
S
valid
Then the truth value of the formula (a ∧ b) → (c) (P ∨ Q) is satisfiable if and only if (P ∨ R) ∧
((a ∧ c) ∨ d ) is always (Q ∨ ¬ R) is satisfiable
(a) True
(b) False
(c) Same as the truth value of b A (d) (P ∨ Q) ⇒ FALSE if and only if both P and Q
are unsatisfiable
[GA TE-2003]
[GATE-2003]
E
(d) Same as the truth value of d
Q. 48 Let p, q, r and s be four primitive statements.
Q.48
[GATE-2000]
[GATE-2000]
Consider the following arguments:
Q.44 Consider two well-formed formulas in P : [(¬ p ∨ q) ∧ (r → s) ∧ (p ∨ r)] → (¬ s → q)
E
S : [p ∧ (p → r) ∧ (q ∨ ¬r)] → q
Which of the following statements is correct?
Which of the above arguments are valid?
(a) F1 is satisfiable, F2 is valid
(a) P and Q only (b) P and R only
A
[GA TE-2001]
[GATE-2001] Q.49 What is the first order predicate calculus
statement equivalent to the following? Every
Q.45 “If X then Y unless Z” is represented by which
teacher is liked by some student
of the following formulas in propositional logic?
(a) ∀(x) [teacher (x) → ∃(y ) [student (y ) → likes
(“¬” is negative, “∧” is conjunction, and “→” is
( y, x)]]
implication)
(b) ∀(x) [teacher (x) → ∃(y ) [student (y ) ∧ likes
(a) (X ∧ ¬Z) → Y (b) (X ∧ Y) → ¬Z
( y, x)]]
(c) X → (Y ∧ ¬Z) (d) (X → Y) ∧ ¬Z
(c) ∃( y ) ∀(x) [teacher (x) → [student ( y ) ∧ likes
[GA TE-2002]
[GATE-2002]
( y, x)]]
Q.46 Which of the following is a valid first order (d) ∀(x) [teacher (x) ∧ ∃ ( y ) [student ( y ) → likes
formula? (Here α and β are first order formulae ( y, x)]]
with x as their only free variable) [GA TE-2005]
[GATE-2005]
© Copyright www.madeeasypublications.org
8 Computer Science & IT • Discrete and Engineering Mathematics
Q.50 Let P (x) and Q(x) be arbitrary predicates. Which (a) (∀x fsa(x) ⇒ (∃y pda( y) ∧ equivalent (x, y))
of the following statements is always TRUE? (b) ~∀y (∃x fsa(x) ⇒ pda( y) ∧ equivalent (x, y))
(a) (∀x(P(x) ∨ Q( x))) ⇒ ((∀xP( x)) ∨ (∀xQ( x))) (c) ∀x ∃y (fsa(x) ∧ pda( y) ∧ equivalent (x, y))
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(b) (∀x(P ( x) ⇒ Q( x))) ⇒ ((∀xP ( x)) ⇒ (∀xQ( x))) (d) ∀x ∃y (fsa(y) ∧ pda(x) ∧ equivalent (x, y))
[GA TE-2008]
[GATE-2008]
(c) (∀x(P(x) ⇒ (∀xQ(x)))) ⇒ (∀x(P(x) ⇒ Q(x)))
(d) ((∀x(P ( x)) ⇔ (∀xQ( x))) ⇒ (∀x(P ( x) ⇔ Q( x))) Q.54 Which of the following first order formulae is
logically valid? Here α(x) is a first order formula
[IT-2005]
[IT-2005]
with x as a free variable, and β is a first order
Q.51 A logical binary relation , is defined as follows: formula with no free variable.
A B A B (a) [β → (∃x , α ( x ))] → [ ∀x , β → α( x )]
True True True (b) [ ∃x , β → α( x )] → [β → ( ∀x , α( x ))]
Y
True False True (c) [( ∃x , α( x )) → β] → [ ∀x , α( x ) → β]
False True False (d) [( ∀x , α( x )) → β ] → [ ∀x , α( x ) → β ]
False False True
S
[IT-2008]
[IT-2008]
Let ~ be the unary negation (NOT) operator, with Q.55 Which of the following is the negation of
higher precedence, than . Which one of the [(∀ x α → (∃y β → (∀u ∃v γ))]
following is equivalent to A ∧ B?
(a) (~ A B) (b) ~ (A ~ B) A (a) [∃ x α → (∀y β → (∃u ∀v γ))]
(b) [∃x α → (∀y β → (∃u ∀v ¬γ))]
E
(c) ~ (~ A ~ B) (d) ~ (~ A B) (c) [∀x ¬α → (∃y ¬β → (∀u ∃v ¬γ))]
[GATE-2006]
[GATE-2006]
(d) [∀x α ∧ (∃y β ∧ (∃u ∀v ¬γ))]
Q.52 Let Graph (x) be a predicate which denotes that [IT-2008]
[IT-2008]
E
(d) ∀x (Graph(x) ⇒ ¬ Connected (x)) (c) Everyone cannot fool some person all the
[GA TE-2007]
[GATE-2007] time
(d) No one can fool some person at some time
Q.53 Let fsa and pda be two predicates such that
[GA TE-2010]
[GATE-2010]
fsa(x) means x is a finite state automaton, and
pda(y) means, that y is a pushdown automaton. Q.57 What is the correct translation of the following
Let equivalent be another predicate such that statement into mathematical logic?
equivalent (a, b) means a and b are equivalent. “Some real numbers are rational”
Which of the following first order logic statement (a) ∃x (real (x) ∨ rational (x))
represents the following: (b) ∀x (real (x) → rational (x))
(c) ∃x (real (x) ∧ rational (x))
Each finite state automaton has an equivalent
(d) ∃x (rational (x) → real (x))
pushdown automaton.
[GA TE-2012]
[GATE-2012]
www.madeeasypublications.org © Copyright
Workbook 9
Q.58 What is the logical translation of the following (c) ∃d (~Rainy (d ) → Cold (d ))
statements? (d) ∃d (Rainy (d )∧ ~ Cold (d ))
“None of my friends are perfect” [GA TE-2014 (Set-3)]
[GATE-2014
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(a) ∃x (F (x) ∧ ¬P (x)) (b) ∃x (¬F (x) ∧ P (x))
(c) ∃x (¬F (x) ∧ ¬ P (x)) (d) ¬∃x (F (x) ∧ P (x)) Q.63 The binary operator ≠ is defined by the following
[GA TE-2013]
[GATE-2013] truth table.
p q p ≠q
Q.59 Consider the statement:
0 0 0
“ Not all that glitters is gold”
0 1 1
Predicate glitters(x) is true if x glitters and 1 0 1
predicate gold(x) is true if x is gold. Which one 1 1 0
of the following logical formulae represents the
Which one of the following is true about the
Y
above statement?
binary operator ≠ ?
(a) ∀x : glitters( x) ⇒ ¬gold( x) (a) Both commutative and associative
(b) ∀x : gold( x) ⇒ glitters( x) (b) Commutative but not associative
S
(c) ∃x : gold( x) ∧ ¬glitters( x) (c) Not commutative but associative
(d) ∃x : glitters( x) ∧ ¬gold( x) (d) Neither commutative nor associative
[GA TE-2014 (Set-1)]
[GATE-2014
kind
Q.61 Consider the following statements: (b) If a person is not known to be corrupt, he is
P : Good mobile phones are not cheap not kind
A
Q : Cheap mobile phones are not good (c) If a person is kind, he is not known to be
L : P implies Q corrupt
M : Q implies P (d) If a person is not kind, he is not known to be
M
N : P is equivalent to Q corrupt
Which one of the following about L, M and N is [GA TE-2015 (Set-2)]
[GATE-2015
CORRECT
CORRECT?
(a) Only L is TRUE Q.65 Which one of the following well formed formulae
(b) Only M is TRUE is a tautology?
(c) Only N is TRUE (a) ∀x ∃y R ( x, y ) ↔ ∃y ∀x R ( x, y )
(d) L, M and N are TRUE (b) (∀x [∃y R ( x, y ) → S ( x, y )]) → ∀x ∃y S ( x, y )
[GATE-2014 (Set-3)]
[GATE-2014 (c) [∀x ∃y (P(x, y ) → R(x , y ))]
Q.62 The CORRECT formula for the sentence, “not ↔ [∀x ∃y (¬P(x, y ) ∨ R(x, y ))]
all rainy days are cold” is (d) ∀x ∀y P ( x, y ) → ∀x ∀y P (y , x)
(a) ∀d (Rainy (d )∧~Cold (d ))
[GATE-2015 (Set-2)]
[GATE-2015
(b) ∀d (~Rainy (d ) → Cold (d ))
© Copyright www.madeeasypublications.org
10 Computer Science & IT • Discrete and Engineering Mathematics
Q.66 Which one of the following well-formed formulae Q.71 Consider the first order predicate formula ϕ:
in predicate calculus is NOT valid? ∀x[(∀z z⏐x ⇒ ((z = x) ∨ (z = 1))) ⇒ ∃w (w > x)
(a) (∀x p( x) ⇒ ∀x q( x)) ⇒ (∃x ¬ p( x) ∨ ∀x q( x)) ∧ (∀z z⏐w ⇒ ((w = z ) ∨ (z = 1)))]
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(b) (∃x p( x) ∨ ∃x q ( x)) ⇒ ∃x(p( x) ∨ q( x)) Here ‘a⏐b’ denotes that ‘a divides b’, where a
(c) ∃x (p( x) ∧ q ( x)) ⇒ (∃x p( x) ∧ ∃x q ( x)) and b are integers. Consider the following sets:
(d) ∀x (p( x) ∨ q( x)) ⇒ (∀x p( x) ∨ ∀x q ( x)) S 1 : {1, 2, 3, ..., 100}
[GA TE-2016 (Set-2)]
[GATE-2016 S2 : Set of all positive integers
Q.67 Consider the first-order logic sentence S3 : Set of all integers
F : ∀x(∃yR ( x, y )) . Assuming non-empty logical Which of the above sets satisfy ϕ?
domains, which of the sentences below are (a) S1 and S3 (b) S2 and S3
implied by F ? (c) S1, S2 and S3 (d) S1 and S2
Y
I. ∃y (∃x R ( x, y )) II. ∃y(∀x R ( x, y )) [GATE-2019]
[GATE-2019]
III. ∀y (∃x R ( x, y )) IV.. ¬∃x(∀y ¬ R ( x, y ))
IV
Q.72 Which one of the following is true for the following
S
(a) IV only (b) I and IV only
propositional logic formula?
(c) II only (d) II and III only
(P ⇒ Q) ⇒ [(R ∨ P) ⇒ (R ∨ Q)]
[GATE-2017 (Set-1)]
[GATE-2017
Q.69 Let p, q, r denote the statements “It is raining”, (b) If it is a clear day then humidity is normal
“It is cold”, and “It is pleasant”, respectively. and on a given day it is clear therefore
Then the statement “It is not raining and it is humidity is normal
A
pleasant, and it is not pleasant only if it is (c) If it is a clear day then humidity is normal
raining and it is cold” is represented by and given that humidity is not normal on a
(a) (¬ p ∧ r ) ∧ (¬ r → (p ∧ q)) particular day therefore it is not a clear day
M
www.madeeasypublications.org © Copyright
Workbook 11
Q.75 Any set of Boolean operators that is sufficient (c) ∀x ∃y ∀z (B(x, y ) ∧ ((z ≠ y ) → ¬ B (x, z)))
to represent all Boolean expressions is said to (d) None of the above
be complete. Which of the following is not [JNU]
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
complete?
(a) {AND, NOT} (b) {NOT, OR} Q.79 Identify the false statement:
(c) {AND, OR} (d) {NAND} (a) Let Q (x, y ) denote “x + y = 0”. The truth
[JNU] value of the quantification ∃y ∀x Q (x, y ) is
Q.76 Consider the following WFFs true
1. ∀x Purple (x) ∧ Mushroom (x) → (b) The statements ¬∃x ∀y P (x, y ) and ∀x ∃y
Poisonous (x) ¬ P (x, y ) have the same truth value
2. ∀x Purple (x) → (Mushroom (x) → (c) ¬ (P ∨ (¬ P ∧ Q )) and ¬ P ∧ ¬ Q are
Poisonous (x)) logically equivalent
Y
3. ∀x Mushroom (x) → (Purple (x) → (d) ∀x ∀y P(x, y ) ⇒ ∃x ∀y P(x, y )
Poisonous (x)) [JNU]
S
Which of the following statements is false?
(a) 1 and 3 are equivalent
(b) 2 and 3 are equivalent
(c) 1, 2 and 3 are not equivalent
(d) 1 and 2 are equivalent
A T1. The proposition [(p ∧ q) → (p ∨ q )] ∨ ~ p ∨ q is
E
[JNU] (a) a tautology
Q.77 Consider the following WFFs (Well Formed (b) satisfiable but not tautology
Formulas) (c) a contradiction
1. ∀x Purple (x) ∧ Mushroom (x) ⇒ (d) None of the above
E
© Copyright www.madeeasypublications.org
12 Computer Science & IT • Discrete and Engineering Mathematics
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(c) ∀x ((F ( x) ∨ P ( x) ) → ∃y M ( x, y ) )
(c) ~(∃x) (∀y) [P(x, y) ∨ Q(x, y)] ≡ (∀x) (∃y)
(d) ∀x ∃y ((F ( x) ∨ P ( x) ) → M ( x, y ) ) [~P(x, y ) ∧ ~Q (x, y)]
[Ans: (b)]
(d) None of these
T4. Identify the contrapositive for the following [Ans: (d)]
statement. “If a real number is greater than 2,
then its square is greater than 4.” T9. The predicate statement
(a) ∀x ∈ R, if x > 4 then x < 2
2 ¬∀z [P(z) → (¬ Q(z) → P (z))] is _______
(b) ∀x∈ R, if x2 ≤ 4 then x ≤ 2 (a) Satisfiable (b) Tautology
(c) Contradiction (d) None of the above
Y
(c) ∀x∈ R, if x ≤ 2 then x2 ≤ 4
[Ans: (c)]
(d) None of these
[Ans: (b)] T10. Which of the following statement is not correct?
S
(a) Every valid propositional formula is
T5. Find the predicate logic for the following
statement. There are atmost two apples. satisfiable
(a) ∀x ∀y ((Apple ( x) ∧ Apple (y )) → (x = y ∨ y = x))
(b) ∃x ∃y (Apple ( x) ∧ Apple (y ) ∧ x ≠
y ∧ ∀z (Apple (z ) → (z = x ∨ z = y ))) A (b) Every satisfiable is not tautology
(c) Every contradiction is not satisfiable
(d) None of the above
E
(c) ∀x ∀y ∀z ((Apple ( x) ∧ Apple (y ) ∧ Apple (z )) → [Ans: (b)]
(x = y ∨ x = z ∨ y = z )) T11. Match the following Lists:
(d) None of these
List-I
[Ans: (c)]
E
MADE EASY is not closed today. 1. ∀x ∀y ∀z ((Apple (x) ∧ Apple (y) ∧ Apple
Infer ence: It will not rain today.
Inference: (z)) → (x = y ∨ x = z ∨ y = z))
∀x ∀ y ((Apple (x) ∧ Apple ( y )) →
M
www.madeeasypublications.org © Copyright
Workbook 13
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
Find the equivalent predicate logic for the above T16. Consider the following statements:
statement. P1 : ∃x ∃y (x ≠ y ∧ ∀z (Apple (z) ↔ ((z = x)
(a) ∀x∈N[x≠7∧Prime (x)→(¬Divisible by 7 (x))] ∨ (z = y)))
Y
T13. Match the following Lists: Which of the predicate logic statements represent
List-I the following statement.
A. Everybody loves Mahesh “there are exactly two apples”.
S
B. Everybody loves somebody (a) P1 and P2 only (b) P1 and P3 only
C. There is somebody whom everybody loves (c) P2 and P3 only (d) P1, P2 and P3
D. There is somebody whom no one loves
1.
List-II
∀x Loves (x, Mahesh) A [Ans: (d)]
A B C D S (x) : x > 9
(a) 1 2 3 4 Which of the following proposition gives the
D
valid?
(a) ∀x P (x) → ∀x[ P (x) ∨ Q (x)] T18. Let p, q, r, s represent the following propositions.
(b) ∃x ∃ y P (x, y ) → ∃ y ∃x P (x, y ) p : x ∈ {8, 9, 10, 11, 12}
(c) ∃x [R(x) ∨ S(x)] → ∃x R(x) ∨ ∃x S(x) q : x is a composite number
(d) All of these r : x is a perfect square
[Ans: (d)] s : x is a prime number
T15. Consider the following formula: The integer x ≥ 2 which satisfies
¬ (¬ p ∨ q) ∨ (r → ¬ s) ¬ ((p ⇒ q) ∧ (¬ r ∨ ¬s)) is ________.
Which of the following is equivalent to the above [GATE-2016, Ans: (11)]
[GATE-2016,
CNF formula?
(a) (p ∧ ¬ r ∨ ¬ s) ∧ (¬ q ∨ ¬ r ∧ ¬ s)
(b) (p ∨ ¬ r ∨ ¬ s) ∧ (¬ q ∨ ¬ r ∨ ¬ s)
© Copyright www.madeeasypublications.org
2 Combinatorics &
Recurrence Relations
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
questions, which are divided in to two groups,
each containing 6 questions. He is not permitted
Y
to attempt more than 5 questions from either
Q.1 In how many ways can seven girls be seated at group. In how many different ways can he choose
a round table so that two particular girls are the 7 questions?
S
separated? (a) 180 (b) 210
(a) 120 (b) 260 (c) 600 (d) 780
Q.2
(c) 320
(e) 560
(d) 480
(e) 6
Q.3 How many odd number having four digits and
with no repeated digits can be formed from Q.8 A lock contains three rings, each ring containing
{1, 2, 3, 4, 5, 6, 7, 8, 9}? four letters. If the lock opens in only one
A
www.madeeasypublications.org © Copyright
Workbook 15
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
Q.11 If the sum of first n terms of an A.P. is 2n2 + 3n, Q.17 The number of binary strings of n zeroes and k
then n th term is ones that no two ones are adjacent is
(a) n (b) n + 1 (a) n – 1Ck (b) nCk
(c) 2n + 1 (d) 3n + 1 n
(c) Ck + 1 (d) None of these
(e) 4n + 1 [GA TE-1999]
[GATE-1999]
Q.12 In a football championship, 153 matches were Q.18 Two girls have picked 10 lilies, 15 sunflowers
played. Every two teams played one match with and 14 daffodils. What is the number of ways
each other. The number of teams participating they can divide the flowers amongst
Y
in the championship is themselves?
(a) 15 (b) 16 (a) 1638 (b) 2100
(c) 17 (d) 18 (c) 2640 (d) None of these
S
(e) 19 [GA TE-1999]
[GATE-1999]
Q.13 A bag contains 10 white balls and 15 black balls. Q.19 The minimum number of cards to be dealt from
Two balls are drawn in succession. The probability
that one of them is black and the other is white
is A an arbitrarily shuffled deck of 52 cards to
guarantee that three cards are from some same
suit is
E
2 4 (a) 3 (b) 8
(a) (b)
3 5 (c) 9 (d) 12
1 1 [GATE-2000]
[GATE-2000]
(c) (d)
3
E
18 people who speak English, 15 people who (a) 2k (b) (3k + 1 – 1)/2
log
(c) 3 2 k (d) 2log3k
speak Hindi and 22 people who speak Kannada.
9 persons speak both English and Hindi, [GA TE-2002]
[GATE-2002]
11 persons speak both Hindi and Kannada
Q.22 Let A be a sequence of 8 distinct integers sorted
whereas 13 persons speak both Kannada and
in ascending order. How many distinct pairs of
English. How many people speak all three
sequences, B and C are there such that (i) each
languages?
is sorted in ascending order, (ii) B has 5 and C
(a) 9 (b) 8
has 3 elements, and (iii) the result of merging B
(c) 7 (d) 6
and C gives A?
[GATE-1998]
[GATE-1998]
(a) 2 (b) 30
Q.16 The number of binary relations on a set with n (c) 56 (d) 256
elements is [GA TE-2003]
[GATE-2003]
© Copyright www.madeeasypublications.org
16 Computer Science & IT • Discrete and Engineering Mathematics
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
accompanied by her husband. The number of (a) i (b) i + 1
different gatherings possible at the party is (c) 2i (d) 2i
⎛ 2n ⎞ n [GATE-2005]
[GATE-2005]
(a) ⎜ ⎟ * 2 (b) 3n
⎝n ⎠ Common Data for Q. 29 & Q.
Q.29 Q.3030
(2n)! ⎛ 2n ⎞ Suppose that a robot is placed on the Cartesian plane.
(c) (d) ⎜ ⎟
2n ⎝n ⎠ At each step it is allowed to move either one unit up or
one unit right, i.e., if it is at (i, j ) then it can move to
[GATE-2003]
[GATE-2003]
either (i + 1, j ) or (i, j + 1).
Q.24 Mala has a colouring book in which each English
Y
Q.29 How many distinct paths are there for the robot
letter is drawn two times. She wants to paint
to reach the point (10, 10) starting from the initial
each of these 52 prints with one of k colours,
position (0, 0)?
such that the colour-pairs used to colour any
S
⎛ 20 ⎞
two letters are different. Both prints of a letter can (a) ⎜ ⎟ (b) 220
also be coloured with the same colour. What is the ⎝ 10 ⎠
(c) 210 (d) None of these
minimum value of k that satisfies this requirement?
(a) 9
(c) 7
(b) 8
(d) 6 A [GA TE-2007]
[GATE-2007]
[GA TE-2007]
[GATE-2007]
(c) 120 (d) 3125
[IT -2004]
[IT-2004] Q.31 The exponent of 11 in the prime factorization of
A
300! is
Q.26 Let n = p2q, where p and q are distinct prime
(a) 27 (b) 28
numbers. How many numbers m satisfy (c) 29 (d) 30
1 ≤ m ≤ n and gcd (m, n) = 1? Note that gcd (m, n)
M
[IT-2008]
[IT-2008]
is the greatest common divisor of m and n.
(a) p(q – 1) (b) pq Q.32 In how many ways can b blue balls and r red
2
(c) (p –1)(q – 1) (d) p(p – 1)(q – 1) balls be distributed in n distinct boxes?
[IT-2005]
[IT-2005] (n + b − 1)!(n + r − 1)!
(a)
(n − 1)! b !(n − 1)! r !
Q.27 What is the minimum number of ordered pairs
(n + (b + r ) − 1)!
of non-negative numbers that should be chosen (b)
(n − 1)!(n − 1)! (b + r )!
to ensure that there are two pairs (a, b) and (c, d ) in
the chosen set such that a ≡ c mod 3 and b ≡ d n!
(c)
mod 5 b! r !
(a) 4 (b) 6 (n + b + r ) − 1)!
(d)
(c) 16 (d) 24 n ! (b + r − 1)
[GA TE-2005]
[GATE-2005] [GATE-2008]
[GATE-2008]
www.madeeasypublications.org © Copyright
Workbook 17
Q.33 Let an be the number of n-bit strings that do (a) A only (b) B only
NOT contain two consecutive 1’s. Which one of (c) A and B (d) Neither
the following is the recurrence relation for an? [JNU]
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(a) an = an – 1 + 2an – 2
(b) an = an – 1 + an – 2 Q.39 The following finite automaton recognizes a set
(c) an = 2an – 1 + an – 2 of strings of length 6. What is the total number
(d) an = 2an – 1 + 2an – 2 of strings in the set?
[GATE-2016 (Set-1)]
[GATE-2016
Q.34 Which one of the following is a closed form x y z
expression for the generating function of the c c c c
sequence {an}, where an = 2n + 3 for all n = 0,
1, 2, .....? x y z
Y
3 3x b b b b
(a) (b)
(1 − x ) 2
(1 − x )2
x y z
S
2−x 3−x
(c) (d) a a a a
(1 − x )2 (1 − x )2
[GA
(b) 16
z
E
formed? (c) 32 (d) None of these
(a) 196 (b) 210 [JNU]
(c) 236 (d) 300
Q.40 Consider the following recurrence relation
[JNU]
E
n (2n + 1)
2 [JNU]
(c) n 2 (n + 1)2 (d)
6 Q.41 The maximum number of distinct subwords of
[JNU]
the word AXIOMATIZABLE is
M
Q.37 The number of ways, the numbers 1 to 15 are (a) 183 (b) 111
assigned to 25 squares of 5 by 5 grid having (c) 92 (d) 88
10 squares empty, is [JNU]
(a) 25! (b) 15!
Q.42 Suppose the population of a colony of ants
25! 25! doubles every six months successively. If a
(c) (d)
15! 10! colony is established with an initial population
[JNU] of 37 ants, how many ants will the colony have
after 5 years?
(2n)! (2n)! (a) 9475 (b) 21439
Q.38 Let A = , n ≥ 1, B = , n ≥ 1 which (c) 37888 (d) None of these
2
(n!) 2! (2!)n n!
[JNU]
of these is always an integer?
© Copyright www.madeeasypublications.org
18 Computer Science & IT • Discrete and Engineering Mathematics
Q.43 The number of positive integral solutions of Q.51 Find the largest integer value of x satisfying the
x + y + z + t = 20 is inequality 10Cx – 1 < 2(10Cx ).
(a) 19C2 (b) 19C3 Q.52 A group consists of 4 women and 7 men. In
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(c) 18C3 (d) 18C2 how many ways can a team of 5 members be
[JNU] selected when the team has atleast 3 women?
Q.44 Let A be a finite non-empty set with cardinality Q.53 Find the number of seven digit integers with sum
n. The number of subsets S ⊆ A having odd of the digits equal to 11 and formed by using
cardinality is the digits 1, 2 and 3 only.
(a) n (b) 2n /2
Q.54 Find the number of odd integers between 1000
(c) 2n – 1 (d) None of these and 9999 have distinct digits.
[JNU]
Y
Q.55 Find the number of ways 4 fruits can be chosen
Q.45 How many routes are there from the lower-left out of 8 fruits so as to exclude the largest fruit.
corner of an 8 × 8 square-grid to the upper-right
Q.56 A pennant is a sequence of numbers, each
S
corner if we are restricted to travelling only to
number being 1 or 2. An n-pennant is a sequence
the right or upwards?
of numbers with sum equal to n. For example,
(a) 64 (b) 12870
(c) 12800 (d) 512
[JNU]
A (1,1,2) is a 4-pennants. The set of all possible
1-pennant is {(1)}, the set of all possible
2-pennants is {(2), (1,1)} and the set of all
E
Q.46 How many bit strings of length eight either start 3-pennants is {(2,1), (1,1,1), (1,2)}. Note that the
pennant (1,2) is not the same as the pennant
with a 1 bit or end with the two bits 00?
(2,1). The number of 10-pennants is ________.
(a) 128 (b) 160
[GATE-2014 (Set-1)]
[GATE-2014
(c) 174 (d) None of these
E
[GATE-2015 (Set-1)]
[GATE-2015
[JNU]
Q.59 Let an represent the number of bit strings of
length n containing two consecutive 1s. What
M
www.madeeasypublications.org © Copyright
Workbook 19
Q.62 Consider the recurrence relation a1 = 8, an = T5. How many solutions are there of x + y + z = 17
6n2 + 2n + an – 1. Let a99 = K × 104. The value of in positive integers?
K is _________. (a) 120 (b) 171
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
[GA TE-2016 (Set-1)]
[GATE-2016 (c) 180 (d) 221
Q.63 If the ordinary generating function of a [Ans: (a)]
1+ z
sequence {an }n∞=0 is , then a3 – a0 is T6. A set of mn objects can be partitioned into ‘m’
3
(1 − z ) sets of size ‘n ’ in _________ different ways.
equal to _________. m! (mn)!
[GATE-2017]
[GATE-2017] (a) (b)
(n !)m (n !)m m !
(mn)!
(c) (d) None of these
Y
(n !)m
[Ans: (b)]
T1. The number of ways of arranging the letters
S
T7. Solve the following recurrence relation.
GGGGGAAATTTECCS in a row when no two T’s T (n) = 3 T (n – 1) + 2n, n > 0 and T (0) = 1
are together is
(a) 3n + 1 – 2n + 1 (b) 3n – 2n
(a)
12!
5!3!2!
15!
× 13 P3
13!
(b)
12!
15!
×
P3
5!3!2! 3!
13
A (c) 3n + 1 – 2n (d) 3n + 1 + 2n
[Ans: (a)]
E
(c) − (d) − 3! T8. There are 65 questions and each question can
5!3!2! 5!3!2! 5!3!3!2!
[Ans: (b)] be answered with any one of four choices. Find
the number of ways, in which they can be
n ⎛n⎞
∑ ⎜k ⎟ answered.
E
© Copyright www.madeeasypublications.org
3 Set Theory & Algebra
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(e) None of the above
[GA TE-1993]
[GATE-1993]
Y
Q.1 Let A be a finite set of size n. The number of Q.5 Some group (G, ο) is known to be abelian. Then,
which one of the following is true for G?
S
elements in the power set A × A is
(a) 22
n
(b) 2n
2 (a) g = g –1 for every g ∈ G
(c) (2n)
2
(d) (22)
n (b) g = g 2 for every g ∈ G
(c) (g οh)2 = g 2 οh2 for every g, h ∈ G
(e) None of the above
[GA TE-1993]
[GATE-1993]
A (d) G is of finite order
[GA TE-1994]
[GATE-1994]
E
Q.2 The less-than relation, <, on reals is
(a) a partial ordering since it is asymmetric and Q.6 Let R be a symmetric and transitive relation on
reflexive a set A. Then
(b) a partial ordering since it is antisymmetric (a) R is reflexive and hence an equivalence
relation
E
and reflexive
(c) not a partial ordering because it is not (b) R is reflexive and hence a partial order
asymmetric and not reflexive (c) R is reflexive and hence not an equivalence
D
[GATE-1993]
[GATE-1993] Q.7 The number of elements in the power set P(S)
Q.3 Let A and B be sets with cardinalities m and n of the set S = {(φ), 1, (2, 3)} is
M
www.madeeasypublications.org © Copyright
Workbook 21
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(b) The set {1, 2 ..., p – 1} forms a group under
Q.10 Suppose X and Y are sets and ⏐X⏐ and ⏐Y⏐
are their respective cardinalities. It is given that multiplication mod p where p is a prime
there are exactly 97 functions from X to Y. From number
this one can conclude that (c) The set of all strings over a finite alphabet
(a) ⏐X⏐ = 1, ⏐Y⏐ = 97 forms a group under concatenation
(b) ⏐X⏐ = 97, ⏐Y⏐ = 1 (d) A subset s ≠ φ of G is a subgroup of the
(c) ⏐X⏐ = 97, ⏐Y⏐ = 97 group <G, *> if and only if, for any pair of
(d) None of the above elements a, b ∈ s, a * b–1 ∈ s
[GA TE-1996]
[GATE-1996]
Y
[GA TE-1996]
[GATE-1996]
Q.11 Which of the following statements is false? Q.15 Let ∗ be defined as x ∗ y = x + y. Let z = x ∗ y.
(a) The set of rational numbers is an Abelian Value of z ∗ x is
S
group under addition (a) x + y (b) x
(b) The set of integers is an Abelian group under
(c) 0 (d) 1
addition
(c) The set of rational numbers form an Abelian
group under multiplication
A [GATE-1997]
[GATE-1997]
(c) f –1 (x, y ) = ⎜ , ⎟ a
⎝ 2 2 ⎠
(d) f –1 (x, y ) = [2(x – y), 2(x + y)] b c
[GATE-1996]
[GATE-1996]
g
Q.13 Let R be a non-empty relation on a collection of
sets defined by A R B if and only if A ∩ B = φ.
e d
Then, (pick the true statement)
(a) R is reflexive and transitive f
(b) R is symmetric and not transitive
(a) 2 (b) 3
(c) R is an equivalence relation
(c) 0 (d) 1
(d) R is not reflexive and not symmetric
[GATE-1997]
[GATE-1997]
[GATE-1996]
[GATE-1996]
© Copyright www.madeeasypublications.org
22 Computer Science & IT • Discrete and Engineering Mathematics
Q.18 The number of equivalence relations of the set elements a, b ∈ L let the least upper bound lub
{1, 2, 3, 4} is (a, b) and the greatest lower bound glb (a, b)
(a) 15 (b) 16 exist. Which of the following is/are true?
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(c) 24 (d) 4 (a) L is a poset
[GA TE-1997]
[GATE-1997] (b) L is a Boolean algebra
(c) L is a lattice
Q.19 A partial order ≤ is defined on the set S = {x, a1,
(d) None of the above
a2, ... an, y} as x ≤ ai for all i and ai ≤ y for all i, [GA TE-1999]
[GATE-1999]
where n ≥ 1. The number of total orders on the
set S which contain the partial order ≤ is Q.24 A relation R is defined on the set of integers as
(a) n! (b) n + 2 x Ry iff (x + y ) is even. Which of the following
(c) n (d) 1 statements is true?
Y
[GA TE-1997]
[GATE-1997] (a) R is not an equivalence relation
(b) R is an equivalence relation having
Q.20 Suppose A is a finite set with n elements. The 1 equivalence class
S
number of elements in thelargest equivalence (c) R is an equivalence relation having
relation of A is 2 equivalence classes
(a) n (b) n2 (d) R is an equivalence relation having
(c) 1 (d) n + 1
[GA TE-1998]
[GATE-1998]
A 3 equivalence classes
[GA TE-2000]
[GATE-2000]
E
Q.21 Let R1 and R2 be two equivalence relations on a Q.25 Let P(S) denotes the power set of set S. Which
set. Consider the following assertions: of the following is always true?
1. R1 ∪ R2 is an equivalence relation (a) P(P(S)) = P(S) (b) P(S) ∩ P(P(S)) = {φ}
(c) P(S) ∩ S = P(S) (d) S ∉ P(S)
2. R2 ∩ R2 is an equivalence relation
E
[GA TE-2000]
[GATE-2000]
Which of the following is correct?
(a) Both assertions are true Q.26 Consider the following relations:
D
(b) Assertion 1 is true but Assertion 2 is not R1 (a, b) iff (a + b) is even over the set of
true integers
(c) Assertion 2 is true but Assertion 1 is not R2 (a, b) iff (a + b) is odd over the set of integers
A
[GATE-1998]
[GATE-1998] R4 (a, b) iff ⏐a – b⏐ ≤ 2 over the set of natural
Q.22 The binary relation R = {(1, 1), (2, 1), (2, 2), numbers
(2, 3), (2, 4), (3, 1), (3, 2), (3, 3), (3, 4)} on the Which of the following statements is corrects?
set A = {1, 2, 3, 4} is (a) R1 and R2 are equivalent relations, R3 and
(a) reflexive, symmetric and transitive R4 are not
(b) neither reflexive, nor irreflexive but transitive (b) R1 and R3 are equivalent relations, R2 and
(c) irreflexive, symmetric and transitive R4 are not
(d) irreflexive and antisymmetric (c) R1 and R4 are equivalent relations, R2 and
[GA TE-1998]
[GATE-1998] R3 are not
(d) R1, R 2 , R3 and R4 are all equivalence
Q.23 Let L be a set with a relation R which is transitive, relations
anti-symmetric and reflexive and for any two [GA TE-2001]
[GATE-2001]
www.madeeasypublications.org © Copyright
Workbook 23
Q.27 Consider the following statements: (c) {(x, y )⏐y < x and x, y ∈ {0, 1, 2, ...}}
S1 : There exist infinite sets A, B, C such that (d) {(x, y )⏐y ≤ x and x, y ∈ {0, 1, 2, ...}}
A ∩ (B ∪ C) is finite. [GA TE-2004]
[GATE-2004]
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
S2 : There exist two irrational numbers x and y
Q.32 In a class of 200 students, 125 students have
such that (x + y ) is rational.
taken Programming Language course,
Which of the following is true about S1 and S2?
85 students have taken Data Structures course,
(a) Only S1 is correct
65 students have taken Computer Organization
(b) Only S2 is correct
course; 50 students have taken both
(c) Both S1 and S2 are correct
Programming Language and Data Structures,
(d) None of S1 and S2 is correct
35 students have taken both Data Structures
[GA TE-2001]
[GATE-2001]
and Computer Organization; 30 students have
Q.28 Let f : A → B be a function, and let E and F be
Y
taken both Programming Language and
subsets of A. Consider the following statements Computer Organization, 15 students have taken
about images. all the three courses. How many students have
S
S1 : f (E ∪ F) = f (E) ∪ f (F) not taken any of the three courses?
S2 : f (E ∩ F) = f (E) ∩ f (E) (a) 15 (b) 20
Which of the following is true about S1 and S2? (c) 25 (d) 30
(a) Only S1 is correct
(b) Only S2 is correct
A [IT-2004]
[IT-2004]
(a) The set of all rational negative numbers (ii) An element x in B is related to an element y
forms a group under multiplication in C (under R2) if x + y is even but not
(b) The set of all non-singular matrices forms a
D
divisible by 3.
group under multiplication Which is the composite relation R2R1 from A
(c) The set of all matrices form a group under to C?
A
multiplication (a) {(1, 2), (1, 4), (3, 3), (5, 4), (7, 3)}
(d) Both (b) and (c) are true (b) {(1, 2), (1, 3), (3, 2), (5, 2), (7, 3)}
[GA TE-2002]
[GATE-2002] (c) {(1, 2), (3, 2), (3, 4), (5, 4), (7, 2)}
M
Q.30 The binary relation S = φ (empty set) on set (d) {(3, 2), (3, 4), (5, 1), (5, 3), (7, 1)}
A = {1, 2, 3} is [IT-2004]
[IT-2004]
(a) Neither reflexive nor symmetric Q.34 The inclusion of which of the following sets into
(b) Symmetric and reflexive S = {{1, 2}, {1,2,3}, {1, 3, 5}, {1, 2, 4}, {1, 2, 3, 4,
(c) Transitive and reflexive 5}} is necessary and sufficient to make S a
(d) Transitive and symmetric
complete lattice under the partial order defined
[GA TE-2002]
[GATE-2002]
by set containment?
Q.31 Consider the binary relation: (a) {1}
S = {(x, y )⏐y = x + 1 and x, y ∈ {0, 1, 2, ...}} (b) {1}, {2, 3}
The reflexive transitive closure of S is (c) {1}, {1, 3}
(a) {(x, y )⏐y > x and x, y ∈ {0, 1, 2, ...}} (d) {1}, {1, 3}, {1, 2, 3, 4}, {1, 2, 3, 5}
(b) {(x, y )⏐y ≥ x and x, y ∈ {0, 1, 2, ...}} [GA TE-2004]
[GATE-2004]
© Copyright www.madeeasypublications.org
24 Computer Science & IT • Discrete and Engineering Mathematics
Q.35 Let A, B and C be non-empty sets and let (c) 3 does not have an inverse
X = (A – B) – C and Y = (A – C) – (B – C) (d) 8 does not have an inverse
Which one of the following is TRUE? [GATE-2006]
[GATE-2006]
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(a) X = Y (b) X ⊂ Y
(c) Y ⊂ X (d) None of these Q.41 A relation R is defined on ordered pairs of
[GA TE-2005]
[GATE-2005] integers as follows: (x , y)R(u, v) if x < u and y > v.
Then R is
Q.36 Let f : B → C and g : A → B be two functions (a) Neither a Partial Order nor an Equivalence
and let h = f ο g. Given that h is an onto function. Relation
Which one of the following is TRUE? (b) A Partial Order but not a Total Order
(a) f and g should both be onto functions
(c) A Total Order
(b) f should be onto but g need not be onto
(d) An Equivalence Relation
(c) g should be onto but f not be onto
Y
[GA TE-2006]
[GATE-2006]
(d) Both f and g need not be onto
[GA TE-2005]
[GATE-2005] Q.42 Let S = {1, 2, 3,..., m }, m > 3. Let X 1 ,
X2, ..., Xn be subsets of S each of size 3. Define
S
Q.37 Let A be a set with n elements. Let C be a
a function f from S to the set of natural numbers
collection of distinct subsets of A such that for
any two subsets S1 and S2 in C, either S1 ⊂ S2 or as, f (i) is the number of sets Xj that contains
the element i. That is f (i) = ⎪{ j |i ∈ X j}⎪.
S2 ⊂ S1. What is the maximum cardinality of C?
(a) n
(c) 2n – 1 +1
(b) n +1
(d) n! A Then
m
Σ f (i) is
i =1
E
[IT-2005]
[IT-2005] (a) 3m (b) 3n
(c) 2m + 1 (d) 2n + 1
Q.38 For the set N of natural numbers and a binary
[GATE-2006]
[GATE-2006]
operation f : N × N → N, an element z ∈ N is
E
called an identity for f, if f (a, z ) = a = f (z, a), Q.43 Consider the set S = {a, b, c, d}. Consider the
for all a ∈ N. Which of the following binary following 4 partitions π1, π2, π3, π4, on
operations have a identity?
S : π1 = {abcd}, π2 {ab,cd}, π3 = {abc, d},
D
I. f (x, y ) = x + y – 3
II. f (x, y ) = max(x, y ) π4 = {a,b,c,d}
III. f (x, y ) = x y
Let ≺ be the partial order on the set of
A
www.madeeasypublications.org © Copyright
Workbook 25
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(a) Qc ∪ Rc (b) P ∪ Qc ∪ Rc (a) (b)
g(x) x
(c) Pc ∪ Qc ∪ Rc (d) U
[GA TE-2008]
[GATE-2008] g(x) x
(c) (d)
h(x) (1 − x)2
Q.45 How many onto (or surjective) functions are there
[GATE-2015 (Set-1)]
[GATE-2015
from an n-element (n ≥ 2) set to a 2-element
set? Q.49 For a set A, the power set of A is denoted by
(a) 2n (b) 2n – 1 2A. If A = {5, {6}, {7}}, which of the following
(c) 2n – 2 (d) 2(2n – 2) options are True?
Y
[GA TE-2012]
[GATE-2012] 1. ∅ ∈ 2A
Q.46 Let X and Y be finite sets and f : X → Y be a 2. ∅ ⊆ 2A
function. Which one of the following statements 3. {5,{6}} ∈ 2A
S
is TRUE? 4. {5,{6}} ⊆ 2A
(a) 1 and 3 only (b) 2 and 3 only
(a) For any subsets A and B of X,
f (A ∪ B) = f (A) + f (B)
(b) For any subsets A and B of X, A (c) 1, 2 and 3 only (d) 1, 2 and 4 only
[GATE-2015 (Set-1)]
[GATE-2015
E
f (A ∩ B) = f (A) ∩ f (B) Q.50 Suppose U is the power set of the set S = {1,
2, 3, 4, 5, 6}. For any T ∈ U, let ⏐T ⏐ denote
(c) For any subsets A and B of X,
the number of elements in T and T ′ denote the
f (A ∩ B) = min{ f (A) , f (B) } complement of T. For any T, R ∈ U, let T \ R
E
(d) For any subsets S and T of Y, be the set of all elements in T which are not
f −1(S ∩ T ) = f −1(S) ∩ f −1(T ) in R. Which one of the following is true?
D
[GATE-2014 (Set-3)]
[GATE-2014 (a) ∀X ∈ U (| X | = | X ′ |)
(b) ∃X ∈ U ∃Y ∈ U (| X | = 5,| Y | = 5
Q.47 Consider the set of all functions f : {0,1, ...,
and X ∩ Y = ∅)
A
(d) ∀X ∈ U ∀Y ∈ U (X \ Y = Y ′ \ X ′)
P : For each such function it must be the case
[GATE-2015 (Set-3)]
[GATE-2015
that for every i , f (i) = i .
Q : For each such function it must be the case Q.51 Let R be a relation on the set of ordered pairs
that for some i , f (i) = i. of positive integers such that ((p, q), (r, s)) ∈
R : Each such function must be onto. R if and only if p – s = q – r. Which one of the
Which one of the following is CORRECT? following is true about R?
(a) P, Q and R are true (a) Both reflexive and symmetric
(b) Only Q and R are true (b) Reflexive but not symmetric
(c) Only P and Q are true (c) Not reflexive but symmetric
(d) Only R is true (d) Neither reflexive nor symmetric
[GATE-2014
[GA TE-2014 (Set-3)] [GATE-2015
[GA TE-2015 (Set-3)]
© Copyright www.madeeasypublications.org
26 Computer Science & IT • Discrete and Engineering Mathematics
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
a t
P : R is reflexive Q : R is transitive
Which one of the following statements is TRUE?
(a) Both P and Q are true n d
(b) P is true and Q are false (a) s ≺ t ≺ a ≺ n ≺ d (b) s ≺ a ≺ n ≺ t ≺ d
(c) P is false and Q are true (c) n ≺ a ≺ d ≺ t ≺ s (d) n ≺ d ≺ a ≺ t ≺ s
(a) Both P and Q are false [JNU]
[GATE-2016 (Set-2)]
[GATE-2016
Q.57 Let AG denote the adjacency matrix of a graph
Q.53 Let N be the set of natural numbers. Consider G. Let AGk + 1 = AGk ⋅ AG, where ‘⋅’ is matrix
Y
the following sets: multiplication operator. For the following graph
P. Set of Rational numbers (positive and G and the following statement with blanks,
negative). select the correct option to correspond the
S
Q. Set of functions from {0, 1} to N. blanks:
R. Set of functions from N to {0, 1}. 1 2 3
S. Set of finite subsets of N.
Which of the sets above are countable?
(a) Q and S only (b) P and S only
A 6 5 4
E
(c) P and R only (d) P, Q and S only
Statement: The (3, 5)th element in AG 2 is
[GATE-2018]
[GATE-2018]
________, which denotes the number of paths
Q.54 Let G be an arbitrary group. Consider the of length ________.
E
R 2 : ∀a, b ∈ G,a R2 b if and only if a = b –1 Q.58 Let A = {1, 2, 3, 4, 5, 6}. Given that set A is a
Which of the above is/are equivalence relation/ group with respect to multiplication mod 7. Is A
relations?
A
www.madeeasypublications.org © Copyright
Workbook 27
1 1 1 1 1 (a) {(1), (2, 3), (4), (5)} and {(1, 2, 3), (4, 5)}
Q.60 The sum + + + + (b) {(1, 2, 3), (4, 5)} and {(1, 2), (3), (4, 5)}
1! 9! 3! 7! 5! 5! 7! 3! 9!1!
(c) {(1, 2), (3, 4), (5)} and {(1, 2), (3, 4), (5)}
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
2a (d) {(1, 2, 3, 4, 5)} and {(1), (2), (3), (4), (5)}
can be written in the form where a and b are
b! [JNU]
positive integers. The ordered pair (a, b) is
Q.64 A ‘chain’ is a
(a) (10, 9) (b) (9, 10)
(a) Totally ordered set
(c) (7, 9) (d) (9, 7)
(b) Partially ordered set
[JNU]
(c) Well-ordered set
Q.61 Let A be adjacency matrix of a graph G. Then (d) None of the above
aK (i, j ), the (i, j )th entry in matrix AK gives [JNU]
Y
number of paths of length K from vi to vj .
Q.65 From the following two diagrams 1 and 2,
⎡0 0 0 1⎤ determine
⎢1 0 1 1⎥⎥
S
If A = ⎢ what will be the value of
⎢1 0 0 1⎥
⎢ ⎥
⎣⎢0 0 1 0 ⎦⎥
A3 ?
⎡0
⎢1
0 1 0⎤
0 1 2 ⎥⎥
⎡1
⎢1
0 0 1⎤
0 2 2 ⎥⎥
A 1 2
E
(a) ⎢ (b) ⎢
⎢0 0 1 1⎥ ⎢1 0 1 1⎥
⎢ ⎥ ⎢ ⎥ (a) Both 1 and 2 are lattice
⎢⎣ 1 0 0 1⎥⎦ ⎢⎣0 0 1 1⎥⎦ (b) 1 is poset and 2 is lattice
(c) 1 is lattice and 2 is poset
E
⎡1 0 1 0⎤ ⎡1 0 0 1⎤
⎢1 ⎢1 0 0 2 ⎥⎥
0 0 2 ⎥⎥
(d) Both 1 and 2 are poset not lattice
(c) ⎢ (d) ⎢ [JNU]
⎢1 0 1 1⎥ ⎢1 0 1 1⎥
D
⎢ ⎥ ⎢ ⎥
⎢⎣0 0 1 0 ⎥⎦ ⎣⎢0 0 1 1⎦⎥
⎡a b ⎤
[JNU] Q.66 The set of 2 into 2 matrices of the form ⎢ ⎥
⎣0 0 ⎦
A
Q.62 If R be an equivalence relation on the set with the operation multiplication of matrices is a
A = {6, 7, 8, 9, 10} defined by R = {(6, 6), (7, 7), (a) group
(8, 8), (9, 9), (10, 10), (6, 7), (7, 6), (8, 9), (9, 8),
M
© Copyright www.madeeasypublications.org
28 Computer Science & IT • Discrete and Engineering Mathematics
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(a) {(1,1), (1,3), (1,5)} (b) {(1,3), (1,5), (3,5)}
Q.74 Let S denote the set of all functions
(c) {(1,3), (3,5), (5,7)} (d) {(1,3), (3,5)}
f : {0, 1}4 → {0, 1} . Denote by N the number of
[JNU]
functions from S to the set {0, 1}. The value of
Q.69 Let A be a set and S be any subset of A consider log2 log2N is __________.
the function Cs : A → {0, 1} as defined below: [GA TE-2014 (Set-1)]
[GATE-2014
⎧0 if x ∈ S
Cs ( x) = ⎨ Q.75 Let G be a group with 15 elements. Let L be a
⎩ 1 if x ∉ S subgroup of G. It is known that L ≠ G and that
If A = {a, b, c, d } and S = {a, b, d}, when find Cs the size of L is at least 4. The size of L is
Y
(a) Cs = {(a, 1), (b, 1), (c, 0), (d, 1)} ________.
(b) Cs = {(a, 1), (b, 0), (c, 1), (d, 0)} [GA TE-2014 (Set-3)]
[GATE-2014
S
(c) Cs = {(a, 0), (b, 0), (c, 1), (d, 0)} Q.76 The number of onto functions (surjective
(d) Cs = {(a, 0), (b, 1), (c, 0), (d, 1)} functions) from set X = {1, 2, 3, 4} to set
[JNU] Y = {a, b, c} is ________.
A [GATE-2015 (Set-2)]
[GATE-2015
d e
[GATE-2018]
[GATE-2018]
b c
a
Find the number of upper bounds of the subset
{a, c, d, f }?
T1. The function f is mapped from natural numbers
Q.72 Let G be a finite group. If A and B are subgroups to integer numbers and f (x) = x2 – 2x + 3.
of G with orders 4 and 5 respectively then Consider N = {0, 1, 2, 3, . . .} and Z = {1 ... , –2,
⎪A ∩ B⎪ = _________. –1, 0, 1, 2, ...}. What is the function f ?
Q.73 Assume g is an element of the group G . (a) Injective function (b) Surjective function
Consider the following conditions of g with e as (c) Bijective function (d) None of these
identity element. [Ans: (d)]
www.madeeasypublications.org © Copyright
Workbook 29
T2. Which of the following set is uncountable. T8. Consider a relation R = {(x, y )⎪x, y are positive
(a) Set of all natural numbers integers ≤ 4 and (x + y ) ≤ 5}. Which of the
(b) Set of all integers following is true?
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(c) Set of all positive rational numbers (a) R is reflexive, symmetric and transitive
(d) Set of all real numbers in the interval [0, 1] (b) R is symmetric and transitive
[Ans: (d)] (c) R is antisymmetric and transitive
T3. Let R be a relation over the set of integers, (d) R is symmetric
and (x, y ) ∈ R if and only if |x – y | ≤ 2. Then R is [Ans: (d)]
__________.
T9. Let X = {{}, {a}}. The power set of X is _______.
(a) Reflexive and transitive relation
(a) {{}, {a}}
(b) Reflexive and symmetric relation
Y
(b) {{}, {a}, {{}}, {{}, a}}
(c) Symmetric and transitive relation
(d) Equivalence relation (c) {{}, {{a}}, {{}, a}}
[Ans: (b)] (d) {{}, {{a}}, {{}}, {{}, {a}}}
S
[Ans: (d)]
T4. Let f (x) = (5x + 1)2. Then f –1 (x) = _______.
T10. Find the countable set from the following
(a)
1
x−
1
5
(b)
5 x +1
2
2 A (a) Subset of natural numbers
(b) ×
(c) Set of positive rational numbers
E
(c) ( x − 1) (d) x+
5 5 (d) All of these
[Ans: (c)] [Ans: (d)]
T5. The set of real numbers denoted by R and * is T11. Identify the correct statement from the following
E
(a) R (b) R \ {0} (b) Associative property not holds for addition
(c) R \ {1} (d) R \ {–1} of matrices
(c) Commutative property not holds for
A
[Ans: (d)]
multiplication of matrices
T6. Consider three finite sets A, B and C.
(d) None of the above
Let S1 = ((A ∩ B) – (B ∩ C)) – C and
M
T7. Range of f (x) = 3 + 5 sinx is _______. Let R = {i⎪∃ j : f ( j ) = i} be the set of distinct
(a) [–1, 5] (b) [2, 8] values that f takes. The maximum possible size
(c) [–2, 8] (d) [1, 5] of R is ________.
[Ans: (c)] [GA TE-2016, Ans: (2)]
[GATE-2016,
© Copyright www.madeeasypublications.org
30 Computer Science & IT • Discrete and Engineering Mathematics
T13. Which of the following lattices are complete T15. Identify the correct statement.
lattices? (a) Every distributive lattice is complemented
lattice.
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(b) Every complemented lattice is distributive
(a) (b) lattice.
(c) Every complemented lattice is bounded.
(d) Both (b) and (c)
[Ans: (c)]
T16. A binary relation R on N × N is defined as
(c) (d) All of these
follows: (a, b) R (c, d) if a ≤ c or b ≤ d. Consider
the following propositions
[Ans: (d)] P : R is reflexive
Y
Q : R is transitive
T14. Let A, B and C be three sets. Then (A – B) – C
Which one of the following statements is TRUE
TRUE?
= ______.
S
(a) Both P and Q are true
(a) (A – B) – (B – C) (b) (B – C) – (A – C)
(b) P is true and Q is false
(c) (A – B) – (A – C) (d) (A – C) – (B – C)
(c) P is false and Q is true
[Ans: (d)]
www.madeeasypublications.org © Copyright
4 Graph Theory
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
must necessarily lie between.
(a) k and n (b) k – 1 and k + 1
Y
(c) k – 1 and n – 1 (d) k + 1 and n – k
Q.1 Which of the following graphs is/are planar? [GATE-2003]
[GATE-2003]
S
Q.5 How many perfect matchings are there in a
complete graph of 6 vertices?
A (a) 15
(c) 30
(b) 24
(d) 60
[GATE-2003]
[GATE-2003]
E
G1 G2 G3
Q.6 A Graph G = (V, E ) satisfies ⏐E⏐ ≤ 3 ⏐V⏐ – 6.
(a) G1 only (b) G1 and G2
(c) G2 only (d) G2 and G3 The min-degree of G is defined as min {degree
v ∈V
[GA TE-1988]
[GATE-1988]
E
(c) It does not contain subgraphs isomorphic colour the following graph, such that no two
to K5 or K3, 3 adjacent vertices are assigned the same colour,
(d) It does not contain subgraph homeomorphic is
M
to K5 or K3, 3
[GATE-1990]
[GATE-1990]
© Copyright www.madeeasypublications.org
32 Computer Science & IT • Discrete and Engineering Mathematics
Q.9 What is the number of vertices in an undirected (a) Any k -regular graph where k is an
connected graph with 27 edges, 6 vertices of even number
degree 2, 3 vertices of degree 4 and remaining (b) A complete graph on 90 vertices
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
of degree 3? (c) The complement of a cycle on 25 vertices
(a) 10 (b) 11 (d) None of the above
[GA TE-2007]
[GATE-2007]
(c) 18 (d) 19
[IT 2004]
[IT-2004] Q.15 What is the size of the smallest MIS (Maximal
Independent Set) of a chain of nine nodes?
Q.10 Let G be a simple connected planar graph with
(a) 5 (b) 4
13 vertices and 19 edges. Then, the number of
(c) 3 (d) 2
faces in the planar embedding of the graph is
[IT-2008]
[IT-2008]
(a) 0 (b) 8
Y
(c) 9 (d) 13 Q.16 What is the chromatic number of the following
[GA TE-2005]
[GATE-2005] graph?
Q.11 Which one of the following graphs is
S
NOT planner?
A (a) 2
(c) 4
(b) 3
(d) 5
E
[IT-2008]
[IT-2008]
[GATE-2005]
[GATE-2005]
(a) Regular (b) Complete
Q.12 If all the edge weights of an undirected graph (c) Hamiltonian (d) Euler
are positive, then any subset of edges that [IT-2008]
[IT-2008]
A
www.madeeasypublications.org © Copyright
Workbook 33
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
1
in G. If S and T are two different trees with ξ(S) between a pair of vertices is . What is the
2
= ξ(T ), then
expected numbers of unordered cycles of length
(a) ⏐S⏐= 2⏐T⏐ (b) ⏐S⏐ = ⏐T⏐ – 1
three?
(c) ⏐S⏐ = ⏐T⏐ (d) ⏐S⏐ = ⏐T⏐ + 1
[GATE-2010]
[GATE-2010] 1
(a) (b) 1
Q.21 The degree sequence of a simple graph is the
Q.21 8
sequence of the degrees of the nodes in the (c) 7 (d) 8
graph in decreasing order. Which of the following [GATE-2013]
[GATE-2013]
sequences can not be the degree sequence of
Y
Q.26 If G is a forest with n-vertices and k connected
any graph?
components, how many edges does G have?
I. 7, 6, 5, 4, 4, 3, 2, 1 II. 6, 6, 6, 6, 3, 3, 2, 2
⎢n ⎥ ⎡n ⎤
S
III. 7, 6, 6, 4, 4, 3, 2, 2 IV
IV.. 8, 7, 7, 6, 4, 2, 1, 1
(a) ⎢ ⎥ (b) ⎢ ⎥
(a) I and II (b) III and IV ⎣k ⎦ ⎢k ⎥
(c) IV only (d) II and IV (c) n – k (d) n – k + 1
[GA
(c) 5 (d) 6 +2
faces is at least
[GA TE-2012]
[GATE-2012] 2
(b) In any planar embedding, the number of
Q.23 Which of the following graphs is isomorphic to
D
n
faces is less than +2
2
(c) There is a planar embedding in which the
A
n
number of faces is less than +2
2
(a) (b) (d) There is a planar embedding in which the
M
n
number of faces is at most
δ +1
(c) (d) [GATE-2014 (Set-3)]
[GATE-2014
© Copyright www.madeeasypublications.org
34 Computer Science & IT • Discrete and Engineering Mathematics
Q.29 Let G be an undirected complete graph, on Q.35 Euler’s formula v – e + r = 2 is used to test
n vertices, where n > 2. Then, the number of (a) an Euler path in the graph
different Hamiltonian cycles in G is equal to (b) a Hamiltonian path in a graph
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(a) n ! (b) (n – 1)! (c) planarity of a graph
(d) none of the above
(n − 1)!
(c) 1 (d) [JNU]
2
Q.36 If dmax is the maximum degree of the vertices in
[2019 : 1 Mark]
a graph G, Chromatic number C of G is defined as
Q.30 The diameter and chromatic number of the star (a) C = 1 + dmax (b) C < 1 + dmax
graph (K1, n, n ≥ 2) is (c) C > 1 + dmax (d) C ≤ 1 + dmax
(a) 1, 2 (b) 2, 2 [JNU]
(c) 3, 2 (d) 2, n
Y
Q.37 How many chromatic partition(s) the given graph
Q.31 Which one of the following statements is false? has?
(a) A spanning tree is a tree that contains all
S
v3
edges of a graph
(b) The degree of a vertex in a simple graph is
v1
the number of vertices adjacent to it
(c) A loop is a special case of cycle in which a
single are begins and ends with same node
A v4
v5
v2
E
(d) The adjacency matrix of a directed graph
(a) Three (b) Two
with no cycles must have all diagonal
(c) One (d) Zero
elements as 0’s
[JNU]
[JNU]
E
Q.33 In a directed graph, if there is a directed path Which of the statements is true?
from any node u to v or vice versa, for any pair (a) Only 1 and 2 are true
of nodes of the graph, the graph is (b) Only 2 and 3 are true
(a) weakly connected (c) Only 3 and 1 are true
(b) unilaterally connected (d) All statements are true
(c) strongly connected [JNU]
(d) disconnected
[JNU] Q.39 A simple graph with n vertices ( n ≥ 3) is
Hamiltonian if the sum of degrees of every pair
Q.34 What type of graph STAR is? of non-adjacent vertices is at least
(a) Multigraph (b) Bipartite
(a) n (b) n2/3
(c) Tripartite (d) Multipartite
(c) n (d) None of these
[JNU]
[JNU]
www.madeeasypublications.org © Copyright
Workbook 35
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
graph split the plane?
(a) 12 (b) 10
R N K 1
(c) 11 (d) 8
[JNU]
Q.45 Find the matching number for the following graph
Q.41 For the graph G shown in the figure:
G A T E
Y
2 0 1 4
Identify the correct answer. G is a
S
(a) bipartite and regular but not a Hamiltonian
Common Data Q.46 & Q.47:
graph
(b) regular and Hamiltonian but not a bipartite Consider the graph below:
graph
(c) Hamiltonian and bipartite but not a regular
A b c
E
graph
g
(d) regular, bipartite and Hamiltonian graph G: a d
[JNU]
© Copyright www.madeeasypublications.org
36 Computer Science & IT • Discrete and Engineering Mathematics
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
Q.51 The maximum number of edges in a bipartite
graph on 12 vertices is _______.
[GATE-2014 (Set-2)]
[GATE-2014 T1. Let G be a disconnected simple graph with n
Q.52 A cycle on n vertices is isomorphic to its vertices. Find the maximum number of edges
are possible in G.
complement. The value of n is________.
[GATE-2014 (Set-2)]
[GATE-2014 (n − 1)
(a) (b) (n – 1)
2
Q.53 Let G be a connected planar graph with
10 vertices. If the number of edges on each n(n − 1) (n − 1)(n − 2)
Y
(c) (d)
face is three, then the number of edges in G is 2 2
________. [Ans: (d)]
[GATE-2015 (Set-1)]
[GATE-2015
S
T2. Let G be a planar graph such that every face is
Q.54 Consider a binary tree T that has 200 leaf bordered by exactly 3 edges. Which of the
nodes. Then, the number of nodes in T that following can never be the value for χ(G)? [where
have exactly two children are ________.
[GATE-2015 (Set-3)]
[GATE-2015 A χ(G) is chromatic number of G]
(a) 2 (b) 3
E
(c) 4 (d) None of these
Q.55 The minimum number of colours that is sufficient [Ans: (a)]
to vertex-colour any planar graph is ________.
T3. Consider the following graphs:
[GATE-2016 (Set-2)]
[GATE-2016
E
a e
www.madeeasypublications.org © Copyright
Workbook 37
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
V(G) is the set of vertices of G. Such that two numbers f b
[Ans: (d)]
6 2 f b
Y
G3 : G4 :
each component Ck has mk vertices, then what
5 3 e c
is the maximum value of mk in the graph G?
(a) n (b) 2n
S
4 d
(c) 3n (d) None of these
Which of the above graphs are isomorphic?
[Ans: (b)]
(a) G1 and G2 (b) G3 and G4
T6. Find the number of perfect matchings in a cycle
graph with 2n vertices is ________.
A (c) G1 and G3 (d) G2 and G4
[Ans: (a)]
E
(a) 0 (b) 2
T9. Let G be a planar graph such that every face is
n bordered by exactly three edges. What are the
(c) n (d)
2 possible values for chromatic number of G?
E
vertex V]. 2
S2: If every vertex in G has even degree then S2 : A simple graph G (with n-vertices and
G is eulerian. k-components) is a forest if and only if G
Which of the above statements are correct? has (n – k) edges.
(a) Only S1 (b) Only S2 Find which of the above statements are correct
(c) Both S1 and S2 (d) Neither S1 nor S2
(a) S1 only (b) S2 only
[Ans: (c)]
(c) Both S1 and S2 (d) Neither S1 nor S2
[Ans: (c)]
© Copyright www.madeeasypublications.org
5 Probability & Statistics
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
where G1, G2 and G3 denote the events that the
Y
target is hit by the first, second and third guns
respectively. If P(G1) = 0.5, P(G2) = 0.6 and
Q.1 A multiple choice test consists of three P(G3) = 0.8 and G1, G2 and G3 are independent
S
problems. For each problem, there are five of each other. The probability that at least two
choices, one of which is correct. One student hits to be registered is
comes totally unprepared and decides to answer (a) 0.50 (b) 0.55
by sheer guessing. What is the probability that
he will answer at least one problem correctly?
4 61 A (c) 0.60
(e) 0.70
(d) 0.65
E
(a) (b) 3 1 1
5 125 Q.5 If P(A′) = , P(B′) = and P(A ∩ B) =
48 12 8 2 4
(c) (d)
125 125
⎛ B′ ⎞
then the value of P ⎜ ⎟ is
E
1 ⎝ A′ ⎠
(e)
125
(a) 0 (b) 1
D
is a multiple of 3 or 5? 1
(e)
1 1 5
(a) (b)
20 10
M
www.madeeasypublications.org © Copyright
Workbook 39
Q.7 The manufacturing process of an article consists Q.12 A bin in a hardware store, contains 125 bolts
of two parts A and B. The probabilities of defect and 200 nuts. One-fifth of the bolts and three-
in parts A and B are 8% and 12% respectively. fourth of the nuts are defective. One item is
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
What is the probability that the assembled picked randomly from the bin. What is the
product will not have any defect? (Assume that probability that the item is either a defective
A and B are independent.) item or it is a nut?
(a) 80.9% (b) 76.5% (a) 92.3% (b) 84.6%
(c) 74.02% (d) 70.25% (c) 69.2% (d) 53.8%
(e) 68.57% (e) 38.5%
Q.8 If P(A ∪ B) = 0.6 and P(A ∩ B) = 0.25 then the Q.13 The average deviation of all items in the data
value of P(A) + P(B) is from zero is equal to the
Y
(a) 0.60 (b) 1.93 (a) Arithmetic mean (b) Median
(c) 0.10 (d) 1.15 (c) Mode (d) Standard deviation
(e) 2.32 (e) Variance
S
Q.9 When five coins are tossed, Heads and tails Q.14 A negatively skewed distribution curve tails off
show up on the coins. Find the probability of towards the lower end and for such a curve
showing exactly two heads on the coins.
(a)
1
2
(b)
2
5 A (a) A.M > Median > Mode
(b) A.M < Median < Mode
(c) A.M = Median = Mode
E
(d) A.M = Median < Mode
3 5
(c) (d) (e) A.M > Median = Mode
8 16
7 Q.15 What is the variance of first n natural numbers?
(e)
E
20 (n 2 + 1) (n − 1)
(a) (b)
Q.10 If the occurrence of some events are dependent 12 12
(n 2 − 1) (n 2 − 1)
D
(d) Marginal probability of event A A boy arrives to see the match (not before the
(e) Relative frequency of occurrence of event A match starts). What is the probability that he
will miss the only goal of the match, which takes
Q.11 If events B and C are dependent on event A place at the 21st minute of the match?
and P(A and B) = 0.30, P(A and C) = 0.20, and (a) 0.126 (b) 0.935
the dependent events B and C are mutually (c) 0.736 (d) 0.825
exclusive and collectively exhaustive, then (e) 0.901
⎛ C⎞ Q.17 The mean of squares of first 23 natural numbers
P⎜ ⎟ is equal to
⎝A⎠ is
(a) 0.20 (b) 0.40 (a) 4324 (b) 188
(c) 0.50 (d) 0.60 (c) 1128 (d) 104
(e) 0.80 (e) 3424
© Copyright www.madeeasypublications.org
40 Computer Science & IT • Discrete and Engineering Mathematics
Q.18 A die is loaded so that probability of getting joint probabilities of the events that may result
face x is proportional to x. The probability of an from these two experiments are given below:
odd number occurring when the die is rolled A B C
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
would be D 0.12 0.075 0.12
1 2 E 0.28 0.225 0.18
(a) (b)
21 7 Which of the following statements are correct?
3 4 1. P(A) = 0.30 2. P(B) = 0.40
(c) (d) 3. P(C) = 0.30 4. P(D) = 0.685
7 7
5 5. P(E) = 0.685 6. P(D⏐C) = 0.25
(e) 7. P(E⏐B) = 0.75 8. P(D⏐A) = 0.30
7
9. D is independent of the events A, B and C
Q.19 A, B and C are mutually exclusive and respectively.
Y
collectively exhaustive events, resulting from an 10. E is dependent on the events A, B and C
experiment. B is twice as likely as A and C is respectively.
2.5 times as likely as B. Which of the following (a) 1, 4 and 6 above
S
is correct? (b) 4, 6, 7 and 10 above
(a) P(A) = 3%, P(B) = 6% and P(C) = 15% (c) 2, 3, 4, 6 and 9 above
(b) P(A) = 5%, P(B) = 10% and P(C) = 25%
(c) P(A) = 8%, P(B) = 16% and P(C) = 40%
(d) P(A) = 10%, P(B) = 20% and P(C) = 50%
A (d) 3, 5, 7, 8 and 10 above
(e) 1, 2, 4, 6 and 9 above
www.madeeasypublications.org © Copyright
Workbook 41
Q.25 If A is an event, the conditional probability of A Q.29 If A and B are any two events, the probability
given A is equal to that exactly one of them occurs is given by
(a) 0 (b) 0.4 (a) P(A) + P(B) – 2P(AB)
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(c) 0.5 (d) 0.8 (b) P(A) + P(B) – P(AB)
(e) 1 (c) P(A) + P(B) − 2P(AB)
Q.26 Because a new medical procedure has been (d) P(A) + P(B) − P(AB)
shown to be effective in early detection of an (e) P(AB)
illness, a medical screening of the population
Q.30 Which of the following statements are FALSE?
is proposed. The probability that the test
(a) For Poisson distribution, the mean in twice
correctly identifies someone with the illness as
the variance
positive is 0.99, and the probability that the test
(b) In queuing theory, if arrivals occurs
Y
correctly identifies some one without the illness
according to Poisson distribution, then the
as negative is 0.95. The incidence of illness in
inter-arrival time is exponentially distributed
the general population is 0.0001. You take the
S
(c) If the time between successive arrivals is
test, and the result is positive. What is the exponential, then the time between the
probability that you have the illness? (Round occurrences of every third arrival is also
off your answer upto the third decimal)
(a) 0.002
(c) 0.995
(b) 0.005
(d) 0.998 A exponential
(d) None of these
[GA TE-1988]
[GATE-1988]
E
(e) 0.949
Q.31 Let A and B be any two arbitrary events, then,
Q.27 Two dice are thrown together. What is the which one of the following is true?
probability that the sum of the numbers on the (a) P(A ∩ B) = P(A) P(B)
E
[GATE-1994]
[GATE-1994]
5 7
(c) (d)
12 15 Q.32 The probability that a number selected at random
A
© Copyright www.madeeasypublications.org
42 Computer Science & IT • Discrete and Engineering Mathematics
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(a) × (b) ×
52 52 52 52 (c) Events E1 and E2 are not independent
4 3 4 4 ⎡E ⎤ 4
(c) × (d) × (d) Pr ⎢ 1 ⎥ =
52 51 52 51
[GA TE-1996]
[GATE-1996] ⎣ E2 ⎦ 5
[GATE-1999]
[GATE-1999]
Q.35 The probability that it will rain today is 0.5. The
probability that it will rain tomorrow is 0.6. The Q.39 E1 and E2 are events in a probability space
probability that it will rain either today or satisfying the following constraints
tomorrow is 0.7. What is the probability that it Pr(E1) = Pr (E2)
Pr(E1 ∪ E2) = 1
Y
will rain today and tomorrow?
(a) 0.3 (b) 0.25 E1 and E2 are independent
(c) 0.35 (d) 0.4 The value of Pr(E1), the probability of the event
S
[GA TE-1997]
[GATE-1997] E1, is
Q.36 A die is rolled three times. The probability that 1
exactly one odd number turns up among the (a) 0 (b)
three outcomes is
(a)
1
(b)
3
A (c)
1
2
(d) 1
4
E
6 8 [GATE-2000]
[GATE-2000]
1 1
(c) (d) Q.40 Seven (distinct) car accidents occurred in a
8 2
week. What is the probability that they all
[GATE-1998]
[GATE-1998]
E
is true?
(a) There is a sample point at which X has the 1 7
(c) (d)
value 5 27 27
A
www.madeeasypublications.org © Copyright
Workbook 43
(a) 0.8571 (b) 0.8152 Q.47 Suppose the random variate X has the
(c) 0.1848 (d) 0.1439 probability distribution given below:
[JNU]
x −2 −1 0 1 2
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
Q.43 A coin is biased so that the probability of heads P(X = x) 0.25 0.20 0.15 0.35 0.05
2 Let Y = 2 X 2 + 6. The expected value E (Y ) is
is . What is the probability that exactly four
3 (a) 9.5 (b) 6
(c) 15.5 (d) 18
heads come up when the coin is flipped seven
[JNU]
times, assuming that the flips are independent?
Q.48 A discrete random variate X has pmf P (X = i) =
560 521
(a) (b) C
2281 2187 , i = 1, 2, 3, .... . Find C
i2
Y
509
(c) (d) None of these 1
2013 (a) (b) 0
2
[JNU]
S
6
(c) π2 (d)
Q.44 An electronic gadget has 5 components of which π2
two are of type-1 and the other three are of [JNU]
type-2. Unless all the components are functional
the gadget will not be operative. During some
interval, the probability of failure of each of the A Q.49 A student takes a multiple-choice examination,
where each question has 5 possible answers.
E
components of type-1 is 0.04 and the probability He attempts a question correctly if he knows
of failure of each of the components of type-2 is the answer, otherwise he guesses at random.
0.03. What is the corresponding probability of Suppose he knows answer to 70% of the
failure of the gadget? questions, what is the probability that on a question
E
(a) 15.88% (b) 16.75% chosen at random, the student gets correct answer?
(c) 0.432% (d) 0.956% (a) 0.20 (b) 0.76
[JNU] (c) 0.70 (d) None of the above
D
[JNU]
Q.45 Three pens are randomly drawn without
replacement from a pack of 50 pens of which Q.50 In four tests taken by 450 students, marks are
A
four are defective. The probability that none of found to be normally distributed with mean and
the pens is defective, first one is defective while variance as given below:
the other two are not, and third one is defective
M
© Copyright www.madeeasypublications.org
44 Computer Science & IT • Discrete and Engineering Mathematics
Q.51 Suppose the average number of telephone calls Q.54 A die is loaded in such a way that each odd
arriving at the switchboard of an organization is number is twice as likely to occur as each even
30 calls per hour. Determine the probability that number. If E is the event that a number greater
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
no calls will arrive at a 3-minute period than or equal to 4 occurs on a single toss of the
(a) e–1.5 (b) e –0.05 die, then P(E ) is
k
−1.5(1.5)k 1 ∞
e−1.5(1.5) 4 2
(c) e (d) ∑ (a)
9
(b)
3
k! k =3 k!
1 1
[JNU] (c) (d)
2 3
Q.52 A machine contains a component A that is vital [JNU]
for its operation. The reliability of the component
Q.55 A random variate has the following distribution:
Y
A is 80%. To improve the reliability of the
machine, a similar component is used in parallel
x 0 1 2 3 4 5 6 7
for the system S as shown in the following figure.
S
2 2 2
p( x) 0 k 2k 2k 3k k 2k 7k + k
A
The value of k is
B
A (a) –1
(c) 0.1
(b) 0
(d) –0.1
[JNU]
E
The machine works if one of these two
Q.56 A point P is chosen at random on a line AB of
components functions. What is the reliability of
length 2l. The probability
the system S?
(a) 98% (b) 96% ⎡ l2 ⎤
E
1 1
Q.53 For answering a question in a multiple choice (a) (b)
2 2
test a student either knows the answer, or
⎛ 1 ⎞ 1
A
www.madeeasypublications.org © Copyright
Workbook 45
Q.58 Three identical dice are rolled. The probability Q.63 Suppose there are n number of CPUs on a
that the same number will appear on each of common bus. The probability that any CPU tries
them is to use the bus in a given cycle is p. What is the
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
1 1 chance that the bus is idle?
(a) (b)
6 36 pn
1 3 (a) (b) pn (1 – p)n
(c) (d) (1 − p)n
18 28
(c) pn (d) (1 – p)n
[JNU]
[JNU]
Q.59 If M and N are any two events, which of the Q.64 For any discrete random variable X, with
following is not the probability that exactly one probability mass function P(X = j ) = pj , pj ≥ 0,
of them occurs N
j ∈ {0...N}, and ∑ pj = 1, define the polynomial
Y
(a) P(M) + P(N) – 2P(M ∩ N)
j =0
(b) P(M) +P(N) – P(M ∩ N)
N
(c) P(MC) + P(NC) – 2P(MC ∩ NC)
function gX (z) = ∑ pj z j . For a certain discrete
S
(d) P(M ∩ NC) + P(MC ∩ N) j =0
[JNU]
random variable Y, there exists a scalar β ∈ [0, 1]
Q.60 A room has three lamp sockets. From a
collection of 12 light bulbs of which 7 are no
good, a person selects 3 at random and put
A such that gY (z) = (1 – β + βz)N. The expectation
of Y is
(a) N β (1 – β)
E
them in sockets. What is the probability that he (b) N β
will have light?
(c) N (1 – β)
37 5 (d) Not expressible in terms of N and β alone
(a) (b)
44 12 [GA TE-2017]
[GATE-2017]
E
41
(c) (d) None of these
48
[JNU]
D
where i is the number appearing on the first die the results of a game where discs are thrown
and j is the number appearing on the second into two circles A and B
die U
M
29 23 A B
(a) (b)
12 17
35 31
(c) (d)
6 8
[JNU]
Q.62 Let A and B be any two events with p (A) = 0.3, What is the value of P(A) ? [Assume P is
p (B) = 0.8. Which of the following is true probability]. Please enter the value in x ⋅ y format
regarding p (A ∪ B) and p (A ∩ B)?
(a) 0.8 ≤ p(A ∪ B) ≤ 1 and 0.1 ≤ p(A ∩ B) ≤ 0.3 Q.66 5 Students are selected without replacement
(b) 0.7 ≤ p(A ∪ B) ≤ 1 and 0.1 ≤ p(A ∩ B) ≤ 0.3 from a class of 3 boys and 5 girls. The
(c) 0.8 ≤ p(A ∪ B) ≤ 1 and 0.1 ≤ p(A ∩ B) ≤ 0.2 probability of choosing at least 3 girls is ______.
(d) 0.2 ≤ p(A ∪ B) ≤ 1 and 0.7 ≤ p(A ∩ B) ≤ 0.8 [Please enter the value in x⋅yz format]
© Copyright www.madeeasypublications.org
46 Computer Science & IT • Discrete and Engineering Mathematics
Q.67 A simple graph G has only 5 vertices and by Q.72 Let X be a Gaussian random variable with mean
the deletion of every vertex Vi from G the 0 and variance σ2. Let Y = max (X, 0) where
subgraph Gi is obtained by removal of all max (a, b) is the maximum of a and b. The
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
adjacent edges of Vi of G. Suppose the following median of Y is ________.
graphs are obtained as subgraphs G1, G2, G3, [GA TE-2017]
[GATE-2017]
G4 and G5 by deletion of vertices V1, V2, V3, V4
and V5 respectively, how many edges are
present in the given graph G ?
Y
appear on the even numbered tosses?
1− P 1− P
(a) (b)
2 2 −P
S
1− P 1
G3 : G4 : (c) (d)
P(1− P)
3 −P
A T2.
[Ans: (b)]
[Ans: (c)]
three tosses?
T3. Assume that connected simple graph ‘G’ has n
Q.69 A fair six sided die is thrown twice. If the sum
vertices (n ≥ 3) and e edges. Which of the
A
www.madeeasypublications.org © Copyright
Workbook 47
T5. Match the following Lists: T7. Let X be an exponential random variable with
List-I rate parameter λ. Then find variance of X.
⎛n ⎞
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
A. ⎜ ⎟ ⋅ P x (1 − P )n − x 1 1
(a) (b)
⎝ x⎠ λ λ2
e −λ ⋅ λ x
B. 2 2
x! (c) (d)
λ λ2
C. λ ⋅ e–λx
[Ans: (b)]
1
D. T8. E[X] = 1 and Var[X] = 2, which one of the
b −a
following is not correct?
List-II (a) E[6 X] = 6 (b) Var[6 X] = 72
Y
1. Discrete distribution (c) E[1 – X] = 0 (d) Var[1 – X] = 3
2. Continuous distribution [Ans: (d)]
Codes:
Find the value of λ such that function f (x) is valid
S
T9.
A B C D
probability density function.
(a) 1 2 1 2
f (x) = λ(x – 1) (2 – x) for 1 ≤ x ≤ 2
(b) 2 1 2 1
(c) 1 1
(d) 2 2
2
1
2
1
[Ans: (c)] A = 0 otherwise
handicapped person in a randomly chosen group HEADS) or (HEADS, TAILS), then output N and
of 500 people? Use poisson approximation to stop.
D
compute the probability. Step 4. If the outcomes are (TAILS, TAILS), then
(a) 3e–4 (b) 2e –3 go to Step 1.
(c) 4e –3 (d) 3e–2 The probability that the output of the experiment
A
© Copyright www.madeeasypublications.org
6 Linear Algebra
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
⎡ 0 0 −3 ⎤
Q.5 The rank of matrix ⎢9 3 5 ⎥ is
Y
⎢ ⎥
⎢⎣3 1 1 ⎥⎦
Q.1 A square matrix is singular whenever
(a) 0 (b) 1
S
(a) the rows are linearly independent
(b) the columns are linearly independent (c) 2 (d) 3
(c) the rows are linearly dependent [GATE-1994]
[GATE-1994]
(d) None of the above
[GATE-1987]
[GATE-1987]
A Q.6 If A is an orthogonal a matrix, which of the
following statements about A, is false?
(a) A = A–1
E
Q.2 The eigen vector(s) of the matrix
(b) A At = I
⎛0 0 α ⎞ (c) At = A –1
⎜ ⎟ , α ≠ 0 is (are)
⎜0 0 0 ⎟ (d) The eigen values of A have magnitude 1
⎜0 0 0 ⎟
⎝ ⎠
E
[GATE-1993]
[GATE-1993] ⎡1 a a2 an ⎤
⎢ ⎥
⎢1 a a2 an ⎥
⎢ ⎥
A
⎛1 0 0 1⎞ ⎢⋅ ⋅ ⋅ ⋅ ⎥
⎜ ⎟ ⎢⋅ ⋅ ⋅ ⋅ ⎥
0 −1 0 −1⎟
Q.3 If A = ⎜ the matrix A4, calculated ⎢ ⎥
⎜0 0 i i ⎟ ⎢⋅ ⋅ ⋅ ⋅ ⎥
M
⎜ ⎟ ⎢ ⎥
⎝0 0 0 −i ⎠ ⎣1 a a2 an ⎦
Q.4 Let A and B real symmetric matrices of size Q.8 Let A be the set of all non singular matrices
n × n. Then which one of the following is true? over real number and let ∗ be the matrix
(a) AA t = I (b) A = A –1 multiplication operation. Then
(c) AB = BA (d) (AB)t = BA (a) A is closed under ∗ but <A, ∗> is not a
[GATE-1994]
[GATE-1994] semi-group
www.madeeasypublications.org © Copyright
Workbook 49
(b) <A, ∗> is a semi-group but not a monoid (a) row is the same as its second row
(c) <A, ∗> is a monoid but not a group (b) row is the same as the second row of A
(d) <A, ∗> is a group but not an Abelian group (c) column is the same as the second column
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
[GA TE-1995]
[GATE-1995] of A
(d) row is all zero
Q.9 Let A x = b be a system of linear equations where
[GA TE-1997]
[GATE-1997]
A is an m × n matrix and b is a m × 1 column
matrix and X is a n × 1 column vector of unknowns. Q.13 Consider the following set of equations
Which of the following is false? x + 2y = 5
(a) The system has a solution if and only if, 4x + 8 y = 12
both A and the augmented matrix [A b ] have 3x + 6 y + 3z = 15
the same rank This set
Y
(b) If m < n and b is the zero vector, then the (a) has unique solution
system has infinitely many solutions (b) has no solutions
(c) If m = n and b is non-zero vector, then the (c) has finite number of solutions
S
system has a unique solution (d) has infinite number of solutions
(d) The system will have only a trivial solution [GATE-1998]
[GATE-1998]
when m = n, b is the zero vector and rank
(A) = n
[GA TE-1996]
[GATE-1996]
A ⎡1 4 8
⎢0 0 3
Q.14 The rank of the matrix given is ⎢
7⎤
0 ⎥⎥
E
⎢4 2 3 1⎥
⎡cos θ − sin θ ⎤ ⎡a 0 ⎤ ⎢ ⎥
Q.10 The matrices ⎢ ⎥ and ⎢ ⎥ ⎣⎢3 12 24 2 ⎦⎥
⎣ sin θ cos θ ⎦ ⎣0 b ⎦
commute under multiplication (a) 3 (b) 1
E
Δ = 1 b ca
⎡ 6 −8 1 1⎤ 1 c ab
⎢0 2 4 6 ⎥⎥
Q.11 The determinant of the matrix ⎢
M
© Copyright www.madeeasypublications.org
50 Computer Science & IT • Discrete and Engineering Mathematics
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
S2 : The sum of two n × n non-singular matrices [JNU]
may be singular. Q.22 For large n, how many arithmetic operations
Which of the following statements is correct? does the Gauss-Jordan elimination require?
(a) S1 and S2 are both true n3
(b) S1 is true and S2 is false (a) n3 (b)
(c) S1 is false and S2 is true 6
n3
3
(d) S1 and S2 are both false n
[GA TE-2001]
[GATE-2001] (c) (d)
3 2
Y
[JNU]
⎡ 1 1⎤
Q.18 The rank of the matrix ⎢ ⎥ is Q.23 Total number of divisions and multiplications
⎣0 0 ⎦
required for solving a system of 5 equations
S
(a) 4 (b) 2
using Gauss Elimination Method is
(c) 1 (d) 0
(a) 113 (b) 208
[GATE-2002]
[GATE-2002]
⎢⎣ 1 2 4 ⎥⎦
of the eigenvalues of inverse of that matrix
(a) The rank of AT is 4 (c) Similar matrices have the same eigenvalues
D
(b) The rank of the matrix A is 3 (d) The matrix and its transpose have the same
(c) The number of linearly independent row eigenvalues
vectors is 2 [JNU]
A
www.madeeasypublications.org © Copyright
Workbook 51
Q.26 Let A be n × n real valued square symmetric Q.31 Consider the following system of equations.
x+y = 2
n n
matrix of rank 2 with ∑∑ Ai2j = 50 . Consider x + py = 2
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
i =1 j =1 Where p is constant. Find the value of ‘p ’ such
that the system has more than two solutions.
the following statements.
I. One eigenvalue must be in [–5, 5]
II. The eigenvalue with the largest magnitude
must be strictly greater than 5.
Which of the above statements about T1. The system of linear equations
eigenvalues of A is/are necessarily CORRECT? x + y + z = 2, 2x + y – z = 3, 3x + 2y + Kz = 4
(a) Both I and II (b) I only
has unique solution if _______
Y
(c) II only (d) Neither I nor II
(a) K ≠ 0 (b) K ≤ 0
[GA TE-2017]
[GATE-2017]
(c) K ≥ 0 (d) K = 0
[Ans: (a)]
S
1
T2. A matrix P3 × 3 has three eigen values –1, , 3.
⎡ 1 1 1⎤ [Ans: (a)]
A = ⎢⎢0 1 2⎥⎥ T3. Find the value of K for which the following matrix
D
⎢⎣ 5 x 6⎥⎦ A is singular.
For which value of x is the matrix A not invertible? ⎡1 2 K ⎤
A = ⎢⎢3 −1 1 ⎥⎥
A
© Copyright www.madeeasypublications.org
52 Computer Science & IT • Discrete and Engineering Mathematics
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
⎢0 0 −1⎥⎦
⎣ (c) Both (a) and (b) (d) Neither (a) nor (b)
[Ans: (a)] [Ans: (c)]
Y
(b) det (B) = 1 (c) b (d) 1 – b
(c) trace of A + B is 4 [Ans: (c)]
(d) all of these
S
T11. If we take n-tuples of the form (a1, a2, ...., an),
[Ans: (d)]
maximum how many of these n-tuples can be
T6. Which of the following is a scalar matrix? linearly independent.
⎡0 1 2⎤
(a) ⎢ 1 0 3⎥
⎢ ⎥
⎢⎣2 3 0⎥⎦
⎡0 0 0⎤
⎢
(b) ⎢ 1 0 1⎥
⎥
⎣⎢0 1 0⎥⎦
A (a) n – 1
(c)
n
(b) n
(d) 2n
E
2
⎡ 1 0 0⎤ ⎡0 1 1⎤ [Ans: (b)]
⎢ ⎥ ⎢ ⎥
(c) ⎢0 1 0⎥ (d) ⎢ 1 0 1⎥ T12. Consider the following factorization of a matrix A.
⎣⎢0 0 1⎥⎦ ⎣⎢ 1 1 0⎥⎦
E
A = LU,
[Ans: (c)]
⎡ 1 0 0⎤ ⎡a b c ⎤
where L = ⎢4 1 0 ⎥ , U = ⎢⎢0 d e ⎥⎥
⎢ ⎥
T7. Find an eigen vector corresponding to largest
D
⎡1⎤ ⎡ 1⎤
(a) ⎢1⎥ (b) ⎢2⎥ If i = 1 then ai j = j otherwise ai j = 3 + a(i – 1)j.
⎢⎥ ⎢ ⎥
⎢⎣1⎥⎦ ⎢⎣ 1⎥⎦ Find the matrix U.
⎡ 1⎤ ⎡1 2 3 ⎤ ⎡ 1 2 −6⎤
⎡2⎤ ⎢2 ⎥ (a) ⎢0 −1 −2⎥ (b) ⎢0 −3 3 ⎥
⎢ ⎥ ⎢ ⎥ ⎢ ⎥
(c) ⎢⎢ 1⎥⎥ (d) ⎢ 1 ⎥ ⎢⎣0 0 0 ⎥⎦ ⎢⎣0 0 0 ⎥⎦
⎢⎣ 1⎥⎦ ⎢0 ⎥
⎣ ⎦
⎡1 2 3 ⎤ ⎡ 1 2 −6⎤
[Ans: (a)]
(c) ⎢0 −3 −6⎥ (d) ⎢0 −1 −6⎥
T8. Identity matrix is _________. ⎢ ⎥ ⎢ ⎥
⎢⎣0 0 0 ⎥⎦ ⎢⎣0 0 0 ⎥⎦
(a) Scalar matrix (b) Diagonal matrix
(c) Both (a) and (b) (d) Neither (a) nor (b) [Ans: (c)]
[Ans: (c)]
www.madeeasypublications.org © Copyright
7 Calculus
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
3x + 1 + 4
Q.5 Which of the value of lim ?
x→∞ 3x + 2 + 4
Y
(a) 0 (b) 1
x −2
Q.1 What is the value of lim ?
x−4
S
x→4 1 1
(c) (d)
(a) 0 (b) ∞ 3 4
1 (e) ∞
(c) 1
(e)
1
(d)
2
f ( x) − f (2)
E
4 lim is equal to
x→2 x−2
(3x2 + 5) (a) 9 (b) 5
Q.2 What is the value of lim ?
x→∞ 5x + 3 (c) 2 (d) 1
E
(e) 0
monotonically increasing in [2, 3]
1 (c) monotonically decreasing in every interval
Q.3 Find the value of ∫ x log x d x (d) monotonically increasing in every interval
M
(a) log x + c (b) log(log x) + c Q.8 The maximum value of 2x3 – 15x2 + 36x + 10 is
1 (a) 37 (b) 38
(c) log(log(log x)) + c (d) +c (c) 49 (d) 60
log x
(e) x + c Q.9 f (x) = (x – 1) (x – 2) (x – 3) has maximum value
when x is equal to
28 2
Q.4 f (t ) = 112 t − t − 600 , then f (t ) is maximum 1 1
15 (a) 2 − (b) 2 +
3 3
at t =?
(a) 0 (b) 15 2 2
(c) 30 (d) 112 (c) 1 + (d) 1 −
3 3
(e) 600
© Copyright www.madeeasypublications.org
54 Computer Science & IT • Discrete and Engineering Mathematics
π /4 1
Q.10 If f (n) = ∫0 tann x d x then f (3) + f (1) equals Q.15 ∫ sin2 d x is equal to
x + sin 2 x
1
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(a) 1 (b) 1 tan x 1 ⎛ tan x + 2 ⎞
2 log log ⎜
(a) (b) ⎟
3
2 tan x + 2 2 ⎝ tan x ⎠
(c) 2 (d)
2 1 cot x 1 ⎛ cot x + 2 ⎞
(c) log (d) log ⎜ ⎟
Q.11 The Langrange’s mean value theorem is applicable 2 cot x + 2 2 ⎝ cot x ⎠
[JNU]
1
to f (x) = sin in the interval.
x dy
(a) [–3, 3] (b) [–2, 5] Q.16 If x sin y = y sin x, then is equal to
dx
(c) [2, 3] (d) [–1, 4]
Y
x2 cos x log x − y sin y
(a)
Q.12 What is the maximum value of the function x2 cos x log x − x sin x
f (x) = 2x 2 – 2x + 6 in the interval [0, 2]?
y 2 cos y log y − x sin x
S
(a) 6 (b) 10 (b)
(c) 12 (d) 5.5 y 2 cos y log y − y sin y
[GA TE-1997]
[GATE-1997] xy cos x cos y − y sin y
(d)
xy cos x cos y − x sin x
xy cos x log y − y sin y
E
(a) continuous and differentiable xy log x cos y − x sin x
(b) continuous and not differentiable [JNU]
(c) differentiable but not continuous
Q.17 Consider the function f (x) = x3 – 3x + 2. Assume
(d) neither continuous nor differentiable
E
x→9
(d) None of the above
2. If f (x) has derivative at the point x0 ; then [JNU]
the function F (x) = f (x) g (x) will not be
M
www.madeeasypublications.org © Copyright
Workbook 55
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(c) (d)
(d) Both 1 and 2 are false 2 2
[JNU] [JNU]
Y
b a
piece of metal sheet, 12 cm by 18 cm, by cutting
(c) 0 (d) ∞ out equal squares from each corner and folding
[JNU] up the sides. Then the side of the cut-out
S
squares, such that the open box is of largest
⎪⎧ x sin x(log x2 ); x ≠ 0 volume, is equal to
Q.20 If f (x) = ⎨
⎪⎩ 0 ; x=0
, then
(c) 5 –
5 cm
7 cm
(b) 7 –
(d) 5 +
5 cm
7 cm
E
x=0 [JNU]
(b) f (x) is continuous but differentiable at x = 0 ⎛πx⎞ ⎛ 1⎞
(c) f (x) is continuous and not differentiable at
Q.26 If f (x) = R sin⎜ ⎟ + S, f ′ ⎜ 2 ⎟ = 2 and
⎝ 2 ⎠ ⎝ ⎠
x=0
E
1
(d) f (x) is discontinuous and not differentiable 2R
at x = 0
∫ f (x)d x = π
, then the constants R and S are,
0
D
[JNU] respectively
2 16 2
⎛ sin(3x)(2x − 1) ⎞ (a) and (b) and 0
π π π
A
Q.21 lim ⎜ ⎟ =
x →0 ⎜ x2 ⎟
⎝ ⎠
4 4 16
(c) and 0 (d) and
(a) 3 log2 (b) 2 log3 π π π
M
⎧⎪ x2 + 3a ; x ≤ 1
Q.22 For f (x) = ⎨ , what are the values
⎪⎩bx + 2; x > 1
of a and b for f (x) to be derivable at x ∈ R ? Q.27 What is the Cauchy’s mean value for the
(a) a = 1, b = 2 (b) a = 2, b = 1 functions e x and e–x between (0, 1)? [Please
(c) a = 1, b = 1 (d) a = 2, b = 2 enter the value in x ⋅ y format]
[JNU]
x2
Q.23 If x and y are real and + x2 y2 = 1, find the Q.28 Let f (x) = x ⋅ ∫ y 2 + 3 ⋅ dy . Find f (1)
maximum value of (x + y)2 1
© Copyright www.madeeasypublications.org
56 Computer Science & IT • Discrete and Engineering Mathematics
8
(a) (b) 4
3
10
© Copyright: Subject matter to MADE EASY Publications, New Delhi. No part of this book may be reproduced or utilised in any form without the written permission.
(c) (d) None of these
3
T1. Consider the following statements:
[Ans: (c)]
Assertion (A): The function f (x) = x – [x], x ∈ Z
is discontinuous at x = 1 T6. Find the x values for which the following function
is increasing.
Reason (R): lim f ( x) ≠ lim f ( x)
x →1− x →1+ x
f (x) =
Choose the correct option. x +4
2
(a) Both A and R are true and R is the correct (a) x < 2 (b) x > 2
explanation of A (c) x < –2 and x > 2 (d) x > –2 and x < 2
Y
(b) Both A and R are true and R is not the [Ans: (d)]
correct explanation of A
(c) A is true but R is false T7. Consider the function f (x) = x + ln x and f is
S
(d) Both A and R are false differentiable on (1, e) and f (x) is continuous
[Ans: (d)] on [1, e]. Determine the c value using mean
⎛ 1⎞
(a) ⎜ 1 + ⎟
n +1
→ e as n → ∞ A value theorem. [By computing f ′(c) =
f (b) − f (a)
b −a
]
E
⎝ n⎠ (a) e (b) e – 1
n2 e e −1
⎛ 1⎞ (c) (d)
(b) ⎜ 1 + ⎟ → e as n → ∞ e −1 e
⎝ n⎠
[Ans: (b)]
E
n
⎛ 1 ⎞
(c) ⎜ 1 + ⎟ → e as n → ∞ T8. Let z = x siny – y sin x. The total differential
⎝ n2 ⎠
dz = ________.
D
www.madeeasypublications.org © Copyright