NEW
Font size
Worksheetsdiscrete mathematics
Total questions: 60
Worksheet time: 2hrs 0mins
The number of edges in a complete graph
with ‘n’ vertices is equal to:
n(n-1)
n(n-1)/2
n^2
2n-1
A relation R is from set A to B and a relation S from set B to C. Then is from_____
Set C to A
Set A to C
Does not exist
None of these
What is the identity element In the group G = {2, 4, 6, 8) under multiplication modulo 10?
5
6
9
12
The function f:R+→R+ , f(x)=x3,g:R+→R+,g(x)=x1/3 then (fog)(x)=
x3
1/x
∛x
x
Which two of the following are equivalent for an undirected graph G?
(i) G is a tree
(ii) There is at least one path between any two distinct vertices of G
(iii) G contains no cycles and has (n-1) edges
(iv) G has n edges
(i) and (ii)
(i) and (iii)
(i) and (iv)
(ii) and (iii)
The number of binary operation on set {1,2} is____
8
16
2
4
Which sentence is true?
Set of all matrices forms a group under multiplication
Set of all rational negative numbers forms a group under multiplication
Set of all non-singular matrices forms a group under multiplication
Both (b) and (c)
The function f:R→R, f(x)=5x+7 then function f is
One one and onto
One one but not onto
Onto but not one one
Neither one one nor onto
The complete graph with four vertices has k edges where k is:
3
4
5
6
The number of onto function from set {1,2,3,4}to{3,4,7} is
18
36
64
none
What is an inverse of – i in the multiplicative group if {1, – 1, i , – i} is?
1
-1
i
-i
The function f:R→R,f(x)=(x−1)(x−2)(x−3) then f is
One one but not onto
Onto but not one one
One one and onto
Neither one one nor onto
For a complete graph with N vertices, the total number of spanning trees is given by:
2N-1
N^(N-1)
N^(N-2)
2N+1
If set A contain 4 element and
set B contains 5 elements then AxB contains _____ elements.
45
54
20
9
The monoid is a?
a non-abelian group
groupoid
A group
a commutative group
For any non empty sets A and B if A⊂B then A∩B=
A
B
ϕ
none
Consider the graph given above. The two distinct sets of vertices, which make the graph bipartite are:
(v1, v4, v6);
(v2, v3, v5, v7, v8)
(v1, v7, v8);
(v2, v3, v5, v6)
(v1, v4, v6, v7);
(v2, v3, v5, v8)
(v1, v4, v6, v7, v8);
(v2, v3, v5)
For any non empty sets A and B if A⊂B then A∪B=
A
B
ϕ
none
A non empty set A is termed as an algebraic structure ________
A with respect to binary operation *
B with respect to ternary operation ?
C with respect to binary operation +
D with respect to unary operation –
option A
option B
option C
option D
IfA=∅ and B={1,2,3,4} then A×B=
B
∅
A U B
A∩B
3 A group (M,*) is said to be abelian if ___________
A) (x+y)=(y+x)
B) (x*y)=(y*x)
C) (x+y)=x
D) (y*x)=(x+y)
OPTION A
OPTION B
OPTION C
OPTION D
Which of the following is a contradiction?
((p⋀q)⋀∼(p⋁q)
p⋁(∼p⋀q)
(p⇒q)⇒p
(p⋀q)⋁q
In preorder traversal of a binary tree the second step is
traverse the
right subtree
traverse the
left subtree
traverse
right subtree and visit the root
visit the
root
How many relations are there on a set with 5 elements?
25
52
225
5
What is the minimum height for a binary search tree with 60 nodes?
1
3
4
2
Let R={(1,2),(3,4)} be a relation on the set {1,2,3,4} then
R is reflexive
R is symmetric
R is an equivalence relation
R is Transitive
Consider a complete bipartite graph km,n. For which values of m and n does this, complete graph have a Hamilton circuit ?
m=3, n=2
m=2, n=3
m=n≥2
m=n≥3
In the poset (P(S),⊆) The least element is
ϕ
S
P(S)
not exist
The inorder and preorder traversal of a binary tree are
d b e a f c g and a b d e c f g, respectively. The postorder traversal of the binary tree is:
d e b f g c a
e d b g f c a
e d b f g c a
d e f g b c a
In the poset (Z+,∣)
In the poset which of the following pairs of integers are
coparable?
5,7
1,4
2,5
13,5
19 The set of integers Z with the binary operation "*" defined as a*b =a +b+ 1 for a, b ∈ Z, is a group. The identity element of this group is
0
1
-1
12
Consider the relation R of divisibility on the set of Z of integers. Then the relation R is
Reflexive and anti symmetric
Reflexive but not anti symmetric
anti symmetric but not
reflexive
Neither reflexive nor anti symmetric
Data Structure: Preorder and in order of a tree is given by
Preorder ----- A B D H E C F I G J K
Inorder -------- D H B E A I F C J G K
What will be the postorder?
H D E B I F J K G C A
H D E B F I J K G C A
H D E B I F J K C G A
None
LetX={2,3,6,12,24,48} be ordered by divisibility. Then the number of edges in the Hasse diagram of (X,∣) is
3
4
5
6
A graph G is called a ..... if it is a
connected acyclic graph
Cyclic
graph
Regular
graph
Tree
Not a
graph
Let S = {2,3, 4, 16} be ordered by divisibility. Then the maximal
elements are
3,16
4,16
16,3
4,3
If two cycle graphs Gm and Gn are joined
together with a vertex, the number of spanning trees in the new graph is
______
m+n-1
m-n
m*n
m*n+1
Consider the Poset (A=1,2,3,4,6,9,12,18,36,∣) Then the greatest lower bound and the least upper bound of subset {4,6,9} are
18,2
12,3
9,4
1,36
An undirected graph possesses an eulerian
circuit if and only if it is connected and its vertices are An undirected graph possesses an eulerian circuit if and
only if it is connected and its vertices are
all of
even degree
all of
odd degree
Of any
degree
even in
number
Consider the subset S= {2, 3, 6} of the poset (1,2,3,4,5,6,∣) Then the upper bounds and lower bounds of S are respectively
6,2
6,1
6,3
6 and 1,2
How many edges are there in a complete graph
of order 9?
35
36
45
19
Which of the following expression are equal to p ⇒q ?
q⇒p
∼p⇒∼q
( p⋀(p⋁q))⇒q
q⇒∼p
The number of edges from the root to the node
is called __________ of the tree
Height
Depth
Length
Width
If A and B are two sets and A∩B=A∪B then
A=∅
A=B
B=∅
none
Length of the walk of a graph is
The
number of vertices in walk W
The
number of edges in walk W
Total
number of edges in a graph
Total number
of vertices in a graph
If A and B are two sets, then A∩〖(A∪B)〗c=
ϕ
A`
B
none
What is a full binary tree?
Each node
has exactly zero or two children
Each node
has exactly two children
All the
leaves are at the same level
Each node
has exactly one or two children
A relation R is defined on the set of positive integers as if 2a+b≤7. The relation R is
reflexive
transitive
symmetric
None of these.
Kruskal’s algorithm is used to ______
find minimum
spanning tree
find single
source shortest path
find all
pair shortest path algorithm
traverse
the graph
Which of the following is an ordered collection of objects?
Relation
Function
Set
Proposition
A graph with one vertex and no edges is
Multigraph
digraph
Isolated
graph
Trivial
graph
Two sets are called disjoint if there _____is a empty set.
Union
Difference
Intersection
Compliment
Consider the given graph, What is the weight of the minimum spanning tree using the Kruskal’s algorithm?
24
23
15
19
The compliment of the set S is
(Where U is an Universal set and A is any set)
S - A
U - S
S - U
A - S
Which of the following is true?
Prim’s
algorithm can also be used for disconnected graphs
Kruskal’s
algorithm can also run on the disconnected graphs
Prim’s
algorithm is simpler than Kruskal’s algorithm
In Kruskal’s
sort edges are added to MST in decreasing order of their weights
The domain of 1/√(9−x2) is
(-3,3)
(-3,3]
[-3,3]
None of these
In an undirected graph the number of nodes
with odd degree must be
Zero
Odd
Prime
Even
If A = {1, 2, 3, 4, 5} then the relation R={(4, 5)} in A is
Symmetric and transitive only
Symmetric only
Transitive
only
Not transitive
Consider the given graph.
What is the weight of the minimum spanning tree using the Prim’s algorithm,starting from vertex a?
23
28
27
11
If A ⊂ B then Ac∩ B=
A - B
B - A
ϕ
A U B
