Discrete Mathematics QB
Discrete Mathematics QB
Q.17 Construct the minimum spanning tree (MST) for the given graph using Prim’s
Algorithm
Q.18 Search the following Tree in pre-order, post-order, and in-order
Q.24 How many spanning trees the graph has? Draw all spanning trees of graph
Q25. Find the shortest path using Dijkstra’s Algorithm for the given graph
Q.31 Find the minimal spanning tree for the following weighted connected graph using
Prim's Algorithm
Q.32 Find gcd (102,30) and write in the form 102x+30y for x, y, ∈ Z
Q.33 Prove that Euler's theorem hold true for a = 2 and n = 10.
Q.34 Solve the recurrence relation Fn=5Fn−1−6Fn− where F0=1 and F1=4.
Q35. Determine the preorder, postorder and inorder traversal of the following binary tree
:
Q41 Find the GCD (52,10) using Euclid’s Algorithm
Q42 Give the stepwise construction of minimum spanning tree using Prim’s algorithm for the
following graph. Obtain the total cost of minimum spanning tree.
Q.43 Identify whether the given relation is an equivalent relation where A={1,2,3,4}, relation
R={(1, 1),(1, 2),(2, 1), (2, 2), (3,1),(3, 3),(1, 3),(4, 1), (4, 4)} Also find the equivalent classes.
Q.44 Determine the minimum spanning tree using Kruskal’s algorithm for the following
graph:
Q65. A simple graph G has 24 edges and degree of each vertex is 4. Find the number of
vertices.
Q66 How many edges are there in a graph with 10 vertices of degree six?
Q67 If a graph has 5 vertices, can each vertex have degree 3?
Q68 A graph contains 21 edges, 3 vertices of degree 4 and all other vertices of degree 2.
Find total number of vertices.
Q69. Are the following two graphs isomorphic?
Q70. Prove the statement is true using mathematical induction: n^3 + 2n is divisible by 3
for all n>=1.