MCQ Pyq
MCQ Pyq
com
a) 2+2=4
b) p implies q
c) (x+1)(x-1)=x^2-1
Answer: b) p implies q
a) p xor q
b) p implies q
c) p and (not p)
d) p or (not p)
Answer: d) p or (not p)
4. What is the contrapositive of the statement "If it rains, then I stay inside"?
b) not p or not q
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
c) p and q
d) p or q
8. Which proof strategy involves assuming the negation of the statement being proven and deriving a
contradiction?
a) Direct proof
b) Proof by contraposition
c) Proof by contradiction
d) Proof of equivalence
a) p and q = p or q
b) p implies q = q implies p
c) p xor q = not p
a) There exists
b) For all
c) Implies
d) Or
a) For all
b) There exists
c) Implies
d) Or
13. What is the converse of the statement "If it is raining, then the streets are wet"?
15. Which proof strategy involves showing that the statement being proven is false by finding a specific example that
contradicts it?
a) Direct proof
b) Proof by contraposition
c) Proof by contradiction
d) Proof by counterexample
a) p and not q
c) p and q
d) not p or q
19. Which proof strategy involves showing that if the negation of the statement being proven is true, then a
contradiction arises?
a) Direct proof
b) Proof by contraposition
c) Proof by contradiction
d) Proof of equivalence
a) p and q = q or p
b) p implies q = not p or q
C) A binary operation on a set that is associative, commutative, and has an identity element
D) A relation between two sets that assigns to each element of the first set a set of elements from the second set
Answer: A
A) f(x) = 3x + 2
B) g(x) = x^2 + 1
C) h(n) = h(n-1) + 3
D) i(x) = sin(x)
Answer: C
Answer: A
B) A recurrence relation where all the terms are of the same degree
C) A recurrence relation where the coefficients are constants and the non-homogeneous term is zero
Answer: C
25. Which of the following is an example of a homogeneous linear recurrence relation with constant coefficients?
A) f(n) = n^2 + 2n + 1
C) h(n) = 3^n
D) i(n) = sin(n)
Answer: B
Answer: A
27. Which of the following is not a step in solving a non-homogeneous linear recurrence relation with constant
coefficients using the method of inverse operator?
Answer: A
Answer: B
Answer: C
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
30. Which of the following is the generating function for the Fibonacci sequence?
A) f(x) = 1/(1-x)
B) g(x) = 1/(1-x-x^2)
C) h(x) = 1/(1-2x)
D) i(x) = x/(1-x-x^2)
Answer: B
31. What is the difference between a linear and a nonlinear recurrence relation?
A) A linear recurrence relation involves a linear combination of the previous terms, while a nonlinear recurrence
relation involves a nonlinear combination of the previous terms
B) A linear recurrence relation involves only one previous term, while a nonlinear recurrence relation involves
multiple previous terms
C) A linear recurrence relation has a closed-form expression, while a nonlinear recurrence relation does not
D) A linear recurrence relation is always homogeneous, while a nonlinear recurrence relation can be non-
homogeneous
Answer: A
A) f(n) = 2f(n-1)
C) h(n) = h(n-1)^2 + 1
D) i(n) = n^2 + 1
Answer: C
33. What is the solution of the recurrence relation f(n) = 3f(n-1) + 2 with initial condition f(0) = 1, using the
generating function method?
A) f(n) = 3^n + 1
B) f(n) = 3^n - 1
C) f(n) = 3^n + 2
D) f(n) = 3^n - 2
Answer: D
34. What is the characteristic equation of the recurrence relation f(n) = 4f(n-1) - 4f(n-2) with initial conditions f(0) = 0
and f(1) = 1?
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
A) r^2 + 4r - 4 = 0
B) r^2 - 4r + 4 = 0
C) r^2 + 4r + 4 = 0
D) r^2 - 4r - 4 = 0
Answer: B
A) Counting problems
B) Data analysis
Answer: B
36. Which of the following is an example of a non-homogeneous linear recurrence relation with constant
coefficients?
C) h(n) = h(n-1)^2 + 1
D) i(n) = n^2 + 1
Answer: A
Answer: D
38. What is the method of undetermined coefficients used for in the solution of non-homogeneous linear recurrence
relations?
Answer: B
A) f(n) = f(n-1) + 2
B) g(n) = g(n-1)g(n-2)
D) i(n) = i(n-1)^2 + 1
Answer: B
40. Which of the following is the generating function for the sequence 1, 2, 4, 8, 16, ... ?
A) f(x) = 1/(1-x)
B) g(x) = 1/(1-2x)
C) h(x) = 1/(1-x^2)
D) i(x) = 1/(1-2x^2)
Answer: B
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
42. In how many ways can 5 books be arranged on a shelf if 2 of the books must always be together?
A. 60
B. 120
C. 240
D. 480
Answer: B. 120
43. What is the maximum number of pigeons that can be placed in 4 pigeonholes if each hole can hold at
most 2 pigeons?
A. 4
B. 6
C. 8
D. 10
Answer: C. 8
44. Which principle is used when there are more pigeons than pigeonholes?
A. Principle of Inclusion-Exclusion
B. Pigeonhole Principle
C. Generalized Pigeonhole Principle
D. None of the above
Answer: C. Generalized Pigeonhole Principle
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
45. What is the minimum number of colors needed to color a map with 9 regions so that no two adjacent
regions have the same color?
A. 2
B. 3
C. 4
D. 5
Answer: B. 3
48. What is the composition of relations R = {(1,2), (2,3)} and S = {(2,4), (3,5)}?
A. {(1,4), (2,5)}
B. {(2,4), (2,5)}
C. {(2,2), (2,3), (3,4), (3,5)}
D. {(1,4), (3,5)}
Answer: D. {(1,4), (3,5)}
49. What is the matrix representation of the relation R = {(1,2), (2,3), (3,1)}?
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
A.
010
001
100
B.
100
010
001
C.
001
100
010
D.
110
011
101
Answer: C.
53. What is the Hasse diagram for the partially ordered set {(1,2), (2,3), (3,4)}?
A.
B.
1 --- 2
3 --- 4
C.
1 --- 2 --- 3
D.
1 --- 2 --- 3
Answer: C.
1 --- 2 --- 3
A. {(1,2), (2,3)}
D. {(1,3)}
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
A. {(1,2), (2,3)}
56. Which of the following is an example of a sublattice of the lattice {(0,0), (0,1), (1,0), (1,1)}?
A. {(0,0), (0,1)}
B. {(0,0), (1,0)}
C. {(0,0), (1,1)}
D. {(1,0), (1,1)}
57. Which of the following is a valid Hasse diagram for the lattice {(1,1), (1,2), (1,3), (2,3), (3,3)}?
A.
| |
(2,3) (3,3)
B.
(2,3)
(3,3)
C.
D.
Answer: A.
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
| |
(2,3) (3,3)
A. f(x) = x^2
B. f(x) = 2x + 1
C. f(x) = sin(x)
D. f(x) = |x|
A. f(x) = x^2
B. f(x) = 2x + 1
C. f(x) = sin(x)
D. f(x) = |x|
A. R is always reflexive.
B. R is always transitive.
C. R is always irreflexive.
D. R is always antisymmetric.
UNIT IV GRAPH 1
61. Which of the following is not a special type of graph?
A) Complete graph
B) Cycle graph
C) Bipartite graph
D) Linear graph
A) Complete graph
B) Cycle graph
C) Bipartite graph
D) Wheel graph
A) Null graph
B) Complete graph
C) Cycle graph
D) Regular graph
64. In a complete graph with n vertices, how many edges are there?
A) n
B) n(n-1)/2
C) n(n+1)/2
D) n^2
Answer: B) n(n-1)/2
A) Simple path
B) Closed path
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
C) Eulerian path
D) Hamiltonian path
A) Connected graph
B) Disconnected graph
C) Tree
D) Spanning graph
Answer: C) Tree
A) Simple cycle
B) Directed cycle
C) Eulerian cycle
D) Hamiltonian cycle
68. What is the maximum number of edges in a bipartite graph with n vertices?
A) n-1
B) n
C) n(n-1)/2
D) n^2
Answer: D) n^2
A) Adjacency matrix
B) Incidence matrix
C) Both A and B
D) Neither A nor B
B) They must have the same number of vertices and the same degree sequence.
C) They must have the same number of edges and the same degree sequence.
D) They must have the same degree sequence and the same adjacency matrix.
Answer: B) They must have the same number of vertices and the same degree sequence.
A) Strongly connected
B) Weakly connected
C) Semi-connected
D) Disconnected
Answer: C) Semi-connected
A) Simple path
B) Closed path
C) Eulerian path
D) Hamiltonian path
73. What is the algorithm used to find the shortest path in a weighted graph?
A) Kruskal's algorithm
B) Prim's algorithm
C) Dijkstra's algorithm
D) Floyd-Warshall algorithm
74. What is the maximum number of edges in a simple graph with n vertices?
A) n-1
B) n
C) n(n-1)/2
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
D) n^2
Answer: C) n(n-1)/2
75. What is the minimum number of edges in a connected graph with n vertices?
A) n-1
B) n
C) n(n-1)/2
D) n(n+1)/2
Answer: A) n-1
B) The minimum number of colors needed to color the vertices of the graph such that no adjacent vertices have the
same color.
C) The maximum number of colors needed to color the vertices of the graph.
Answer: B) The minimum number of colors needed to color the vertices of the graph such that no adjacent vertices
have the same color.
D) The difference between the number of vertices and the number of edges in the graph.
Answer: D) The difference between the number of vertices and the number of edges in the graph.
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
Answer: d) They can be drawn on a flat surface without any edges crossing
a) V - E + F = 1
b) V + E = F + 2
c) E - V + F = 2
d) V + E - F = 1
Answer: c) E - V + F = 2
a) A tree graph that includes all the vertices of the original graph
Answer: a) A tree graph that includes all the vertices of the original graph
d) A tree graph that includes all the vertices of the original graph
d) A tree graph that includes all the vertices of the original graph
89. Which of the following is a way to represent mathematical expressions using a tree graph?
a) Infix notation
b) Prefix notation
c) Postfix notation
a) Assigning colors to vertices in a graph such that no two adjacent vertices have the same color
b) Assigning colors to edges in a graph such that no two adjacent edges have the same color
c) Assigning colors to vertices and edges in a graph such that no two adjacent vertices or edges have the same color
d) Assigning colors to vertices in a graph such that every vertex has the same color
Answer: a) Assigning colors to vertices in a graph such that no two adjacent vertices have the same color
a) n
b) n-1
c) 2n
d) 2^(n-1)
Answer: a) n
c) A graph that can be split into two sets of vertices such that there are no edges between vertices in the same set
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
d) A graph that can be split into two sets of vertices such that there are no edges between vertices in different sets
Answer: d) A graph that can be split into two sets of vertices such that there are no edges between vertices in
different sets
b) A way of coloring the vertices of a planar graph using the fewest number of colors possible
Answer: a) A way of drawing a planar graph on a surface without any edge crossings
a) A graph that has the same number of vertices and edges as the original graph
c) A graph that is obtained by replacing each face of the original graph with a vertex and connecting vertices that
correspond to adjacent faces
d) A graph that is obtained by removing all edges from the original graph
Answer: c) A graph that is obtained by replacing each face of the original graph with a vertex and connecting vertices
that correspond to adjacent faces
A) Commutativity
B) Associativity
C) Distributivity
D) Transitivity
Answer: D) Transitivity
A) 0
B) 1
C) 2
D) 3
Answer: D) 3
B) It is an odd number
C) It is a natural number
A) 2
B) 3
C) 5
D) 6
Answer: D) 6
A) 4
B) 6
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
C) 12
D) 18
Answer: C) 12
A) 18
B) 36
C) 54
D) 72
Answer: B) 36
107. What is the result of applying the Euclidean algorithm to 48 and 60?
A) 12
B) 24
C) 36
D) 48
Answer: A) 12
A) It states that every integer can be expressed as a sum of two other integers
C) It states that for any two integers a and b, their greatest common divisor can be expressed as a linear combination
of a and b
D) It states that for any two integers a and b, their least common multiple can be expressed as a linear combination
of a and b
Answer: C) It states that for any two integers a and b, their greatest common divisor can be expressed as a linear
combination of a and b
A) 2
B) 3
C) 7
D) 9
Answer: B) 3
A) It states that for any two integers a and b, their greatest common divisor can be expressed as a linear combination
of a and b
B) It states that for any two integers a and b, their least common multiple can be expressed as a linear combination
of a and b
A) Substitution
B) Transposition
C) Permutation
D) Multiplication
Answer: A) Substitution
A) Encryption
B) Decryption
C) Key generation
D) Digital signatures
Answer: A) Encryption
A) It states that if p is a prime number and a is any integer, then a^p ≡ a (mod p)
B) It states that if p is a prime number and a is any integer not divisible by p, then a^(p-1) ≡ 1 (mod p)
Answer: B) It states that if p is a prime number and a is any integer not divisible by p, then a^(p-1) ≡ 1 (mod p)
A) Commutativity
B) Associativity
C) Distributivity
117. What is the result of applying the Euclidean algorithm to 24 and 36?
A) 6
B) 12
C) 18
D) 24
Answer: A) 6
A) 4
B) 8
C) 16
D) 24
MTH401 OBJECTIVE QUESTION www.GeeksforCampus.com
Answer: B) 8
A) 6
B) 15
C) 30
D) 60
Answer: C) 30