Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

For any graph say G, Cayley graph is ______________(a) canonial(b) not canonical(c) isomorphic(d) homomorphicI have been asked this question in class test.My enquiry is from Graph’s Matrices in portion Graphs of Discrete Mathematics

Answer»

The correct answer is (B) not canonical

The explanation is: A DIFFERENT Cayley GRAPH will be given for each choice of a generating set. Hence, the Cayley graph is not canonical.

2.

In Modern particle physics there must exist ______________(a) group theory(b) graph theory(c) lattice structure(d) invariant semigroupThis question was addressed to me during an online interview.Enquiry is from Graph’s Matrices in chapter Graphs of Discrete Mathematics

Answer»

The CORRECT answer is (a) group theory

The BEST explanation: Modern PARTICLE physics EXISTS with group theory. Group theory can predict the existence of many elementary particles. Depending on different symmetries, the structure and behaviour of molecules and crystals can be defined.

3.

In basic ring theory, any ring R1 may be embedded in its own ________(a) semilattice(b) endomorphism ring(c) homomorphic ring(d) subgroupI had been asked this question in class test.My query is from Graph’s Matrices topic in division Graphs of Discrete Mathematics

Answer»

Right ANSWER is (b) endomorphism ring

To elaborate: We know that in basic ring theory, any ring R with its IDENTITY can be embedded in its own endomorphism ring and this is ONE of the most important characterization of rings. The endomorphism ring can contain a copy of its ring.

4.

A Latin square graph is a representation of a _______(a) quasi group(b) homomorphic group(c) semigroup(d) subgroupThe question was posed to me in a national level competition.My question comes from Graph’s Matrices topic in chapter Graphs of Discrete Mathematics

Answer»

Correct CHOICE is (a) quasi group

For explanation: We know that any group is a REPRESENTATION of a GRAPH. Now, a Quasi Group can be represented by a LATIN Square matrix or by a Latin Square graph.

5.

There exists _______ between group homology and group cohomology of a finite group.(a) homomorphism(b) isomorphism(c) automorphism(d) semilattice structureThis question was addressed to me by my school principal while I was bunking the class.My question is based upon Graph’s Matrices topic in division Graphs of Discrete Mathematics

Answer»

Right ANSWER is (a) homomorphism

Easy explanation: We know that there exists an isomorphism between group homology and group COHOMOLOGY of finite group. Let S’ denote the set of all integers, and let G’ be a finite cyclic Group and for EVERY S then G’-MODULE N, we have S’S’n(G’, A) is isomorphic to S’n+1(G’, A).

6.

If any group is a manifold what is the dimension of that group?(a) same as manifold(b) same as vector space(c) infinite(d) finiteThis question was posed to me during a job interview.I want to ask this question from Graph’s Matrices topic in portion Graphs of Discrete Mathematics

Answer»

The correct option is (a) same as MANIFOLD

Easy explanation: If a GROUP is a (topological) manifold, then the dimension of a group will be the dimension of this manifold.A linear representation F of a group G1 on a VECTOR SPACE V’ has the dimension of V’.

7.

Which of the following can be embedded in an algebraically closed group?(a) infinite group(b) stargraph(c) a countable group(d) a semilatticeI had been asked this question during an online exam.The above asked question is from Graph’s Matrices topic in section Graphs of Discrete Mathematics

Answer»

Correct ANSWER is (C) a COUNTABLE group

The explanation: We know that any countable group can always be EMBEDDED in an ALGEBRAICALLY closed group.

8.

Which of the following is the set of m×m invertible matrices?(a) a permutation group of degree m^2(b) a general linear group of degree m(c) a sublattice group of degree m(d) a isomorphic graph of m nodesThis question was addressed to me at a job interview.My doubt is from Graph’s Matrices in division Graphs of Discrete Mathematics

Answer»
9.

In invariant algebra, some generators of group G1 that goes either into itself or zero under ______ with any other element of the algebra.(a) commutation(b) permutation(c) combination(d) latticeThe question was posed to me in homework.The query is from Graph’s Matrices topic in chapter Graphs of Discrete Mathematics

Answer»

Correct ANSWER is (a) commutation

The best explanation: Some generators of group G1 in group theory which goes EITHER into itself or zero under commutation with any other ELEMENT of the WHOLE algebra is called invariant subalgebra.

10.

A direct product of a group G possess which of the following characteristics?(a) a multiplication of subgroups of G(b) a factorization via subgroups of G(c) a superset of subgroups of G(d) a maximal power set of subgroupsI have been asked this question in an interview for internship.My question comes from Graph’s Matrices in portion Graphs of Discrete Mathematics

Answer»

Right option is (B) a factorization via subgroups of G

Explanation: A DIRECT product of a GROUP G is a factorization via subgroups of G when the intersection is nontrivial, say X and Y, such that G = XY, X intersect Y = 1, and [X, Y]=1 and X, Y are normal in G.

11.

A non-planar graph can have ____________(a) complete graph(b) subgraph(c) line graph(d) bar graphThis question was addressed to me during an interview.I want to ask this question from Planarity, Degree and Coloring of Graph in chapter Graphs of Discrete Mathematics

Answer»

The CORRECT choice is (b) subgraph

The BEST explanation: A non-planar graph can have removed EDGES and vertices so that it CONTAINS subgraphs. However, non-planar graphs cannot be DRAWN in a plane and so no edge of the graph can cross it.

12.

What is the number of edges of the greatest planar subgraph of K3,2 where m,n≤3?(a) 18(b) 6(c) 128(d) 702I have been asked this question in an internship interview.This interesting question is from Planarity, Degree and Coloring of Graph in division Graphs of Discrete Mathematics

Answer»

The CORRECT OPTION is (b) 6

To explain: The plane graph with an edge at most 6+2(m−3) is the GREATEST PLANAR graph. So, in this CASE the number of edges is 6.

13.

Suppose G be a connected planar graph of order n≥5 and size m. If the length of the smallest cycle in G is 5, then which of the following is true?(a) (m+n)^4>=mn(b) m≤5/3(n−2)(c) (m^2+n)/3(d) n>=(6/5)(n+1)The question was posed to me in my homework.This question is from Planarity, Degree and Coloring of Graph in section Graphs of Discrete Mathematics

Answer»

Correct CHOICE is (b) m≤5/3(n−2)

The best explanation: Because G is connected and planar, Euler’s theorem is BOUND to be involved. Let f denote the number of faces so that n−m+f=2. Because the length of the SMALLEST cycle in G is 5, every FACE has at least 5 edges adjacent to it. This means 2m≥5f because every edge is adjacent to two faces. Plugging this in yields 2=n−m+f≤n−m+2/5m=n−3/5m, and HENCE m≤5/3(n−2).

14.

For a connected planar simple graph G=(V, E) with e=|E|=16 and v=|V|=9, then find the number of regions that are created when drawing a planar representation of the graph?(a) 321(b) 9(c) 1024(d) 596I have been asked this question during an internship interview.My question is taken from Planarity, Degree and Coloring of Graph in section Graphs of Discrete Mathematics

Answer»

The CORRECT choice is (b) 9

The BEST explanation: Note that K3,3 and K5 are the “smallest” non-planar GRAPHS because in that every non-planar graph contains them. ACCORDING to Kuratowski’s THEOREM, a graph is defined as non-planar if and only if it contains a subgraph homomorphic to K3,3 or K5.

15.

Determine the density of a planar graph with 34 edges and 13 nodes.(a) 22/21(b) 12/23(c) 328(d) 576I have been asked this question in a national level competition.This question is from Planarity, Degree and Coloring of Graph in portion Graphs of Discrete Mathematics

Answer»

The correct answer is (a) 22/21

The explanation: The density of a planar graph or network is described as the ratio of the number of EDGES(E) to the number of POSSIBLE edges in a network with(N) nodes. So,D = E − N + 1/ 2 N − 5. Hence, the required answer is: D=(34-13+1)/(2*13-5) = 22/21. A completely sparse planar graph has density 0 and a completely DENSE planar graph has degree 1.

16.

If the number of vertices of a chromatic polynomial PG is 56, what is the degree of PG?(a) 344(b) 73(c) 265(d) 56This question was posed to me by my school principal while I was bunking the class.This intriguing question comes from Planarity, Degree and Coloring of Graph in section Graphs of Discrete Mathematics

Answer»

The correct answer is (d) 56

The explanation is: The CHROMATIC POLYNOMIAL PG of a graph G is a polynomial in which every natural number k returns the number PG(k) of k-colorings of G. Since, the DEGREE of PG is EQUAL to the number of VERTICES of G, the required answer is 56.

17.

If Cn is the nth cyclic graph, where n>3 and n is odd. Determine the value of X(Cn).(a) 32572(b) 16631(c) 3(d) 310I got this question in an international level competition.Enquiry is from Planarity, Degree and Coloring of Graph in section Graphs of Discrete Mathematics

Answer»

The correct answer is (c) 3

The explanation: Here n is odd and X(Cn)! = 2. Since there are two adjacent edges in Cn. Now, a graph coloring for Cn exists where VERTICES are COLORED red and blue alternatively and another edge is with a different colour SAY orange, then the value of X(Cn) becomes 3.

18.

Let G(V, E) be a directed graph where every edge has weight as either 1, 2 or 5, what is the algorithm used for the shortest path from a given source vertex to a given destination vertex to get the time complexity of O(V+E)?(a) BFS(b) DFS(c) Binary search(d) Radix sortI got this question in an interview.My doubt stems from Different Path in a Graph in section Graphs of Discrete Mathematics

Answer»

Right choice is (a) BFS

Best explanation: In BFS due to the least number of edges between TWO vertices and so if all the edges in a GRAPH are of same weight, then to find the shortest path BFS can be used for efficiency. So we have to split all edges of weight 5 into two edges of weight 2 each and one EDGE of weight 1. In the worst CASE, all edges are of weight 1. To split all edges, O(E) operations can be done and so the TIME complexity becomes which is equal to O(V+E).

19.

If a graph G is k-colorable and k

Answer»

Correct choice is (a) n-colorable

The EXPLANATION is: The chromatic number of a graph is the MINIMAL number of COLORS for which a graph coloring is possible. A graph G is termed as K-colorable if there EXISTS a graph coloring on G with k colors. If a graph is k-colorable, then it is n-colorable for any n>k.

20.

The chromatic number of a graph is the property of ____________(a) graph coloring(b) graph ordering(c) group ordering(d) group coloringThis question was posed to me during an interview.My query is from Planarity, Degree and Coloring of Graph in section Graphs of Discrete Mathematics

Answer»

The correct CHOICE is (b) graph ordering

The explanation: A graph coloring is an assignment of labels to the vertices of a graph such that no two adjacent vertices SHARE the same labels is called the COLORS of the graph. Now, the chromatic number of any graph is the minimal number of colors for which such an assignment is POSSIBLE.

21.

In a directed weighted graph, if the weight of every edge is decreased by 10 units, does any change occur to the shortest path in the modified graph?(a) 209(b) 65(c) 57(d) 43This question was addressed to me in an interview.My question is based upon Different Path in a Graph topic in section Graphs of Discrete Mathematics

Answer»
22.

The sum of an n-node graph and its complement graph produces a graph called _______(a) complete graph(b) bipartite graph(c) star graph(d) path-complement graphThe question was posed to me at a job interview.The doubt is from Different Path in a Graph in section Graphs of Discrete Mathematics

Answer»

Right answer is (a) complete graph

The best I can EXPLAIN: Suppose, the complement G’ of a graph G is known as edge-complement graph which consists of with the same vertex SET but whose edge set CONTAINS the edges not present in G. The graph sum G+G’ on an n-node graph G is called the complete graph SAY, KN.

23.

Determine the edge count of a path complement graph with 14 vertices.(a) 502(b) 345(c) 78(d) 69This question was posed to me in an online quiz.I need to ask this question from Different Path in a Graph in section Graphs of Discrete Mathematics

Answer»

The correct answer is (c) 78

Explanation: LET, an n-path COMPLEMENT graph Pn’ is the graph complement of the path graph Pn. Since Pn is self-complementary, P4’is isomorphic to P4. Now, Pn’ has an EDGE COUNT = ^1⁄2(n-2)(n-1). So, the required edge count is=78.

24.

A ______ in a graph G is a circuit which consists of every vertex (except first/last vertex) of G exactly once.(a) Euler path(b) Hamiltonian path(c) Planar graph(d) Path complement graphThe question was asked in homework.Question is from Different Path in a Graph in section Graphs of Discrete Mathematics

Answer»

Right option is (b) Hamiltonian path

For explanation: The Eulerian path in a graph say, G is a walk from one vertex to ANOTHER, that can pass through all VERTICES of G as well as traverses exactly once every edge of G. Therefore, an Eulerian path can not be a CIRCUIT. A Hamiltonian path is a walk that contains every vertex of the graph exactly once. Hence, a Hamiltonian path is not a circuit.

25.

Let a graph can be denoted as ncfkedn a kind of ____________(a) cycle graph(b) line graph(c) hamiltonian graph(d) path graphThis question was addressed to me during an interview.I would like to ask this question from Different Path in a Graph topic in chapter Graphs of Discrete Mathematics

Answer»

Right choice is (a) cycle GRAPH

For explanation I would SAY: In the graph ncfkedn, no edges are repeated in the WALK, which makes it a TRAIL and then start and end vertex n is same MAKING it a cycle graph.

26.

A trail in a graph can be described as ______________(a) a walk without repeated edges(b) a cycle with repeated edges(c) a walk with repeated edges(d) a line graph with one or more verticesI had been asked this question in my homework.My question comes from Different Path in a Graph topic in chapter Graphs of Discrete Mathematics

Answer»

Right OPTION is (a) a walk without REPEATED EDGES

The explanation: SUPPOSE in a graph G a trail could be defined as a walk with no repeated edges. Suppose a walk can be defined as efgh. There are no repeated edges so this walk is a trail.

27.

A walk has Closed property if ____________(a) v0=vk(b) v0>=vk(c) v < 0(d) vk > 1The question was asked in an interview for internship.The question is from Different Path in a Graph in portion Graphs of Discrete Mathematics

Answer»

Right answer is (a) v0=vk

Explanation: A walk in a graph is said to be CLOSED if the STARTING vertex is the same as the ENDING vertex, that is v0=vk, it is described as Open otherwise.

28.

The _______ of a graph G consists of all vertices and edges of G.(a) edge graph(b) line graph(c) path complement graph(d) eulerian circuitThe question was asked in my homework.Enquiry is from Different Path in a Graph in section Graphs of Discrete Mathematics

Answer»

Right CHOICE is (d) eulerian circuit

The best EXPLANATION: we know that he Eulerian circuit in a graph G is a circuit that includes all vertices and edges of G. A graph that can have Eulerian circuit, ALSO can have a Eulerian graph.

29.

Which algorithm efficiently calculates the single source shortest paths in a Directed Acyclic Graph?(a) topological sort(b) hash table(c) binary search(d) radix sortThe question was asked in class test.Query is from Different Path in a Graph in section Graphs of Discrete Mathematics

Answer» RIGHT option is (a) topological sort

The best I can explain: For Directed Acyclic GRAPH, single source SHORTEST DISTANCES can be calculated in O(V+E) time. For that purpose Topological Sorting can be used. Topological Sorting of any graph represents a linear ordering of the graph.
30.

What is the grade of aplanar graph consisting of 8 vertices and 15 edges?(a) 30(b) 15(c) 45(d) 106The question was posed to me in an interview for job.This interesting question is from Isomorphism in Graphs in division Graphs of Discrete Mathematics

Answer»
31.

A _______ is a graph with no homomorphism to any proper subgraph.(a) poset(b) core(c) walk(d) trailThis question was posed to me in exam.My question comes from Isomorphism in Graphs topic in chapter Graphs of Discrete Mathematics

Answer» RIGHT CHOICE is (b) core

The best explanation: A core can be defined as a graph that does not retract to any proper subgraph. Every graph G is HOMOMORPHICALLY equivalent to a UNIQUE core CALLED the core of G.
32.

An isomorphism of graphs G and H is a bijection f the vertex sets of G and H. Such that any two vertices u and v of G are adjacent in G if and only if ____________(a) f(u) and f(v) are contained in G but not contained in H(b) f(u) and f(v) are adjacent in H(c) f(u * v) = f(u) + f(v)(d) f(u) = f(u)^2 + f(v)^2This question was addressed to me at a job interview.My enquiry is from Isomorphism in Graphs in section Graphs of Discrete Mathematics

Answer»

The CORRECT choice is (b) f(u) and f(V) are adjacent in H

To elaborate: Two graphs G and H are said to be isomorphic to each other if there exist a one to one CORRESPONDENCE, say f between the vertex sets V(G) and V(H) and aone to one correspondence g between the edge sets E(G) and E(H)with the following conditions:-

(i) for EVERY vertex u in G, there exists a vertex u’ in H such that u’=f(u) and vice versa.

(II) for every edge uv in G, g(uv)=f(u)*f(v)=u’v’ is H.

33.

A graph is ______ if and only if it does not contain a subgraph homeomorphic to k5 or k3,3.(a) bipartite graph(b) planar graph(c) line graph(d) euler subgraphThe question was asked in quiz.My query is from Isomorphism in Graphs in division Graphs of Discrete Mathematics

Answer»

The correct OPTION is (b) planar GRAPH

To EXPLAIN I WOULD say: A graph is known as planar graph if and only if it does not CONTAIN a subgraph homeomorphic to k5 or k3,3.

34.

A complete n-node graph Kn is planar if and only if _____________(a) n ≥ 6(b) n^2 = n + 1(c) n ≤ 4(d) n + 3This question was posed to me in my homework.I would like to ask this question from Isomorphism in Graphs in section Graphs of Discrete Mathematics

Answer»

The CORRECT choice is (c) n ≤ 4

Easy explanation: Any graph with 4 or LESS vertices is planar, any graph with 8 or less edges is planar and a complete n-node graph Kn is planar if and only if n ≤ 4.

35.

A graph G has the degree of each vertex is ≥ 3 say,deg(V) ≥ 3 ∀ V ∈ G such that 3|V| ≤ 2|E| and 3|R| ≤ 2|E|, then the graph is said to be ________ (R denotes region in the graph)(a) Planner graph(b) Polyhedral graph(c) Homomorphic graph(d) Isomorphic graphThe question was asked at a job interview.This interesting question is from Isomorphism in Graphs topic in chapter Graphs of Discrete Mathematics

Answer»

The correct choice is (b) Polyhedral graph

The best I can EXPLAIN: A simple CONNECTED planar graph is called a polyhedral graph if the degree of each vertex is(V) ≥ 3 such that DEG(V) ≥ 3 ∀ V ∈ G and two conditions must SATISFY i) 3|V| ≤ 2|E| and ii) 3|R| ≤ 2|E|.

36.

How many perfect matchings are there in a complete graph of 10 vertices?(a) 60(b) 945(c) 756(d) 127I got this question in homework.This intriguing question originated from Isomorphism in Graphs in division Graphs of Discrete Mathematics

Answer»

The correct OPTION is (b) 945

For EXPLANATION: Perfect matching is a set of edges such that each vertex APPEARS only once and all vertices appear at least once (exactly ONE appearance). So for n vertices perfect matching will have n/2 edges and there won’t be any perfect matching if n is odd. For n=10, we can choose the first edge in ^10C2 = 45 ways, second in ^8C2=28 ways, third in ^6C2=15 ways and so on. So, the total number of ways 45*28*15*6*1=113400. But perfect matching being a set, order of elements is not important and the permutations 5! of the 5 edges are same only. So, total number of perfect matching is 113400/5! = 945.

37.

A cycle on n vertices is isomorphic to its complement. What is the value of n?(a) 5(b) 32(c) 17(d) 8This question was posed to me in quiz.My question comes from Isomorphism in Graphs in division Graphs of Discrete Mathematics

Answer» CORRECT answer is (a) 5

The best explanation: A cycle with n vertices has n edges. Number of edges in cycle = n and number of edges in its COMPLEMENT = (n*(n−1)/2) – n. To be ISOMORPHISM, both graphs should have EQUAL number of edges. This gives, (n*(n-1)/2) – n = n

⇒ n = 5
38.

A graph which has the same number of edges as its complement must have number of vertices congruent to ______ or _______ modulo 4(for integral values of number of edges).(a) 6k, 6k-1(b) 4k, 4k+1(c) k, k+2(d) 2k+1, kI had been asked this question in examination.I would like to ask this question from Isomorphism in Graphs in section Graphs of Discrete Mathematics

Answer»

The correct answer is (c) k, k+2

To EXPLAIN I would say: By using invariant of isomorphism and property of EDGES of graph and its complement, we have: a) number of edges of isomorphic graphs must be the same.

b) number of edge of a graph + number of edges of complementary graph = Number of edges in Kn(complete graph), where n is the number of VERTICES in each of the 2 graphs which will be the same. So we KNOW number of edges in Kn =n(n-1)/2. So number of edges of each of the above 2 graph(a graph and its complement)=n(n-1)/4. So this means the number of vertices in each of the 2 graphs should be of the form “4x” or “4x+1” for integral value of number of edges which is necessary. Hence the required answer is 4x or 4x+1 so that on doing modulo we get 0 which is the definition of congruence.

39.

Every Isomorphic graph must have ________ representation.(a) cyclic(b) adjacency list(c) tree(d) adjacency matrixI have been asked this question in my homework.Asked question is from Isomorphism in Graphs in portion Graphs of Discrete Mathematics

Answer»

Correct option is (d) adjacency matrix

To explain: A graph can exist in different forms having the same NUMBER of vertices, EDGES and also the same edge connectivity, such graphs are called ISOMORPHIC graphs. Two graphs G1 and G2 are SAID to be isomorphic if −> 1) their number of components (vertices and edges) are same and 2) their edge connectivity is retained. Isomorphic graphs must have adjacency matrix REPRESENTATION.

40.

Let G be an arbitrary graph with v nodes and k components. If a vertex is removed from G, the number of components in the resultant graph must necessarily lie down between _____ and _____(a) n-1 and n+1(b) v and k(c) k+1 and v-k(d) k-1 and v-1The question was posed to me in an interview.My question is taken from Complete and Connected Graphs topic in section Graphs of Discrete Mathematics

Answer»

Right option is (d) k-1 and v-1

Explanation: If a VERTEX is REMOVED from the graph, lower bound: number of components DECREASED by one = k-1 (remove an isolated vertex which was a COMPONENT) and upper bound: number of components = v-1 (CONSIDER a vertex connected to all other vertices in a component as in a star and all other vertices outside this component being isolated. Now, removing the considered vertex makes all other (v-1) vertices isolated making (v-1) components.

41.

What is the number of vertices in an undirected connected graph with 39 edges, 7 vertices of degree 2, 2 vertices of degree 5 and remaining of degree 6?(a) 11(b) 14(c) 18(d) 19This question was addressed to me during an interview for a job.The query is from Complete and Connected Graphs in division Graphs of Discrete Mathematics

Answer»

Right CHOICE is (c) 18

For explanation I WOULD say: We know that, sum of degree of all the vertices = 2 * number of edges

2*7 + 5*2 + 6*x = 39*2

x=9

Number of vertices = 7 + 2 + 9 = 18.

42.

______ is the maximum number of edges in an acyclic undirected graph with k vertices.(a) k-1(b) k^2(c) 2k+3(d) k^3+4The question was asked in homework.My enquiry is from Complete and Connected Graphs topic in section Graphs of Discrete Mathematics

Answer»

The CORRECT option is (a) k-1

The explanation is: This is possible with SPANNING trees SINCE, a spanning tree with k nodes has k – 1 EDGES.

43.

The minimum number of edges in a connected cyclic graph on n vertices is _____________(a) n – 1(b) n(c) 2n+3(d) n+1I have been asked this question in semester exam.This is a very interesting question from Complete and Connected Graphs in section Graphs of Discrete Mathematics

Answer»

The CORRECT choice is (b) n

To explain I WOULD say: For making a cyclic graph, the minimum NUMBER of edges have to be EQUAL to the number of vertices. SO, the answer should be n minimum edges.

44.

The maximum number of edges in a 8-node undirected graph without self loops is ____________(a) 45(b) 61(c) 28(d) 17I have been asked this question by my school principal while I was bunking the class.This intriguing question comes from Complete and Connected Graphs topic in section Graphs of Discrete Mathematics

Answer»

The correct answer is (c) 28

Easy explanation: In a graph of N VERTICES we can draw an EDGE from a vertex to n-1 vertex we will do it for n vertices and so TOTAL number of edges is n*(n-1). Now each edge is counted twice so the REQUIRED maximum number of edges is n*(n-1)/2. Hence, 8*(8-1)/2 = 28 edges.

45.

Let G be a directed graph whose vertex set is the set of numbers from 1 to 50. There is an edge from a vertex i to a vertex j if and only if either j = i + 1 or j = 3i. Calculate the minimum number of edges in a path in G from vertex 1 to vertex 50.(a) 98(b) 13(c) 6(d) 34The question was asked by my college professor while I was bunking the class.Question is from Complete and Connected Graphs topic in division Graphs of Discrete Mathematics

Answer»

Right answer is (c) 6

Easiest explanation: Edge SET consists of edges from i to J USING either 1) j = i+1 OR 2) j=3i. The trick to solving this question is to think in a reverse way. INSTEAD of finding a path from 1 to 50, try to find a path from 100 to 1. The edge sequence with the minimum number of edges is 1 – 3 – 9 – 10 – 11 – 33 which consists of 6 edges.

46.

An undirected graph G has bit strings of length 100 in its vertices and there is an edge between vertex u and vertex v if and only if u and v differ in exactly one bit position. Determine the ratio of the chromatic number of G to the diameter of G?(a) 1/2^101(b) 1/50(c) 1/100(d) 1/20The question was asked during an interview.The query is from Graphs Properties topic in section Graphs of Discrete Mathematics

Answer»

Right CHOICE is (b) 1/50

Explanation: For the given condition we can simply design a K-Map and mark an EDGE between every two adjacent cells in K-map. Hence, that will give us a Bipartite graph and CHROMATIC number for this = 2. Hence the ratio is 2/n=2/100=1/50 and the given graph is actually a hypercube graph.

47.

G is a simple undirected graph and some vertices of G are of odd degree. Add a node n to G and make it adjacent to each odd degree vertex of G. The resultant graph is ______(a) Complete bipartite graph(b) Hamiltonian cycle(c) Regular graph(d) Euler graphI got this question in an interview.I would like to ask this question from Complete and Connected Graphs in portion Graphs of Discrete Mathematics

Answer»

The CORRECT choice is (d) Euler graph

The best I can explain: In any simple undirected graph, total degree of all VERTICES is even (since each edge contributes 2 degrees). So NUMBER of vertices having ODD degrees must be even, otherwise, their sum would have been odd, making total degree also odd. Now single vertex n is connected to all these even number of vertices (which have odd degrees). So, degree of n is also even. Moreover, now degree of all vertices which are connected to v is increased by 1, HENCE earlier vertices which had odd degree now have even degree. So now, all vertices in the graph have even degree, which is necessary and sufficient condition for euler graph.

48.

Any subset of edges that connects all the vertices and has minimum total weight, if all the edge weights of an undirected graph are positive is called _______(a) subgraph(b) tree(c) hamiltonian cycle(d) gridI have been asked this question in an interview.This key question is from Complete and Connected Graphs topic in division Graphs of Discrete Mathematics

Answer»

Right CHOICE is (b) tree

Easy explanation: If all the edge weights of an UNDIRECTED graph are positive, any subset of edges that CONNECTS all the vertices and has minimum TOTAL weight is termed as a tree. In this case, we need to have a minimum spanning tree need to be EXACT.

49.

A bridge can not be a part of _______(a) a simple cycle(b) a tree(c) a clique with size ≥ 3 whose every edge is a bridge(d) a graph which contains cyclesThe question was asked by my college professor while I was bunking the class.This interesting question is from Complete and Connected Graphs topic in section Graphs of Discrete Mathematics

Answer»

Right option is (a) a simple cycle

To EXPLAIN I would say: In a CONNECTED graph, a bridge is an edge WHOSE REMOVAL disconnects the graph. In a cycle if we remove an edge, it will still be connected. So, bridge cannot be PART of a cycle. A clique is any complete subgraph of a graph.

50.

The number of edges in a regular graph of degree 46 and 8 vertices is ____________(a) 347(b) 230(c) 184(d) 186This question was addressed to me in semester exam.This key question is from Graphs Properties in division Graphs of Discrete Mathematics

Answer»

Correct choice is (c) 184

Explanation: In a COMPLETE graph which is (N-1) regular (where n is the number of vertices) has edges n*(n-1)/2. In the graph n vertices are ADJACENT to n-1 vertices and an edge contributes two degree so dividing by 2. Hence, in a d regular graph number of edges will be n*d/2 = 46*8/2 = 184.