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.

51.

If G is the forest with 54 vertices and 17 connected components, G has _______ total number of edges.(a) 38(b) 37(c) 17/54(d) 17/53The question was asked in quiz.Question is taken from Graphs Properties topic in section Graphs of Discrete Mathematics

Answer» RIGHT option is (b) 37

The BEST explanation: Here we are given a forest with 54 vertices and 17 components. Acomponent is itself a tree and since there are 17 components means that every component has a root, therefore we have 17 ROOTS. Each new vertex of the forest contributes to a single edge to a forest. So for remaining 54-17 = 37 vertices we can have m-n=37 EDGES. HENCE, answer is 37.
52.

A ______ is a graph which has the same number of edges as its complement must have number of vertices congruent to 4m or 4mmodulo 4(for integral values of number of edges).(a) Subgraph(b) Hamiltonian graph(c) Euler graph(d) Self complementary graphI got this question in an interview.Enquiry is from Graphs Properties topic in chapter Graphs of Discrete Mathematics

Answer» CORRECT option is (d) SELF complementary graph

For explanation: It is the definition of self complementary graph. It is a graph that is isomorphic to its COMPLEMENT.
53.

Let D be a simple graph on 10 vertices such that there is a vertex of degree 1, a vertex of degree 2, a vertex of degree 3, a vertex of degree 4, a vertex of degree 5, a vertex of degree 6, a vertex of degree 7, a vertex of degree 8 and a vertex of degree 9. What can be the degree of the last vertex?(a) 4(b) 0(c) 2(d) 5I have been asked this question in my homework.The above asked question is from Graphs Properties in section Graphs of Discrete Mathematics

Answer»

Right answer is (C) 2

The best explanation: We know that sum of DEGREES of all vertices = 2X no of edges. Say number of edges is E. Degree of LAST vertex is x, 1+2+3+4+5+6+7++8+9+x = 2XE

=>45+x = 2XE

Now putting options we get answer 0 or 5

But one vertex of degree 9 means it connected to all other VERTEXES. So, the degree must be 5.

54.

In a ______ the vertex set and the edge set are finite sets.(a) finite graph(b) bipartite graph(c) infinite graph(d) connected graphI have been asked this question by my school principal while I was bunking the class.Question is taken from Graphs Properties in chapter Graphs of Discrete Mathematics

Answer»

Correct CHOICE is (b) BIPARTITE GRAPH

For explanation I would SAY: In graph theory, most common graphs are CONSIDERED to be finite otherwise it is an infinite graph. Now, a finite graph is a graph in which the vertex set and the edge set are described as the finite sets.

55.

Berge graph is similar to ______ due to strong perfect graph theorem.(a) line graph(b) perfect graph(c) bar graph(d) triangle free graphThis question was addressed to me in an online interview.My question comes from Graphs Properties topic in portion Graphs of Discrete Mathematics

Answer» RIGHT answer is (b) perfect GRAPH

For EXPLANATION I would say: In a perfect graph, the chromatic number of each and every induced subgraph is equal to the size of the largest CLIQUE of that subgraph. These perfect graphs are same as Berge graphs due to strong perfect graph THEOREM.
56.

Triangle free graphs have the property of clique number is __________(a) less than 2(b) equal to 2(c) greater than 3(d) more than 10This question was addressed to me in an international level competition.This key question is from Graphs Properties topic in chapter Graphs of Discrete Mathematics

Answer»

Right CHOICE is (d) more than 10

Best EXPLANATION: In an undirected triangle-free graph no three vertices can form a triangle of edges. It can be described as graphs with clique number less than 2 and the graphs with girth greater than 4.

57.

If each and every vertex in G has degree at most 23 then G can have a vertex colouring of __________(a) 24(b) 23(c) 176(d) 54This question was posed to me during an online interview.Question is from Graphs Properties in section Graphs of Discrete Mathematics

Answer»

Correct choice is (a) 24

Explanation: A vertex COLOURING of a graph G = (V’,E’) with m colours is a mapping F:V’ -> {1,…,m}such that f(u)!=f(v) for every (u,v) belongs to E’. SINCE in worst CASE the graph can be complete, d+1 colours are necessary for graph containing vertices with degree at most ‘d’. So, the required answer is 24.

58.

In a 7-node directed cyclic graph, the number of Hamiltonian cycle is to be ______(a) 728(b) 450(c) 360(d) 260I had been asked this question in a national level competition.My query is from Graphs Properties in chapter Graphs of Discrete Mathematics

Answer»

Right option is (c) 360

The explanation is: A HAMILTONIAN CYCLE in a CONNECTED graph G is defined as a closed path that traverses every vertex of G exactly once EXCEPT the STARTING vertex, at which the path also terminates. In an n-complete graph, there are (n-1)!/2 hamiltonian cycles and so the answer is 360.

59.

Every complete bipartite graph must not be _______(a) planar graph(b) line graph(c) complete graph(d) subgraphI got this question in an interview for job.Asked question is from Bipartite Graphs topic in chapter Graphs of Discrete Mathematics

Answer»

Right OPTION is (C) COMPLETE GRAPH

Easy explanation: The below bipartite graph is not a complete graph as there is no edge between A-B, B-C, C-D, C-Q, P-Q, Q-R, Q-D and so it is not a complete graph.

60.

The spectrum of a graph is _______ if and only if it is _______ graph.(a) symmetry, bipartite(b) transitive, bipartite(c) cyclic, Euler(d) reflexive, planarThis question was posed to me in my homework.I'd like to ask this question from Bipartite Graphs in division Graphs of Discrete Mathematics

Answer»

Right choice is (a) SYMMETRY, bipartite

The explanation: A graph is bipartite if and only if it does not CONTAIN an ODD cycle. The SPECTRUM of a graph is symmetric if and only if it is a bipartite graph. These are the characteristics of the graph.

61.

All closed walks are of ______ length in a bipartite graph.(a) infinite(b) even(c) odd(d) odd primeThis question was posed to me in an internship interview.I'd like to ask this question from Bipartite Graphs topic in portion Graphs of Discrete Mathematics

Answer» RIGHT choice is (b) even

Easy EXPLANATION: In a BIPARTITE graph G all CLOSED walks must be of even length as well as all cycles in G are of even length. Then only the graph is considered a bipartite graph.
62.

Bipartite graphs are used in ________(a) modern coding theory(b) colouring graphs(c) neural networks(d) chemical bondsI had been asked this question in unit test.My doubt is from Bipartite Graphs in chapter Graphs of Discrete Mathematics

Answer»

Right answer is (a) modern CODING theory

Easy explanation: All types of cyclic graphs are examples of cyclic graphs. A cyclic graph is CONSIDERED bipartite if all the cycles INVOLVED are of even length. Bipartite graphs are widely used in modern coding theory apart from being used in MODELING relationships.

63.

In a complete bipartite graph, the intersection of two sub graphs is ______(a) 1(b) null(c) 2^10(d) 412I got this question in an interview.This intriguing question originated from Bipartite Graphs topic in section Graphs of Discrete Mathematics

Answer»

Correct answer is (b) null

Easiest EXPLANATION: In a complete Bipartite graph, there must exist a partition say, V(G)=X∪Y and X∩Y=∅, that MEANS all edges share a vertex from both set X and Y.

64.

The time complexity to test whether a graph is bipartite or not is said to be _______ using depth first search.(a) O(n^3)(b) linear time(c) O(1)(d) O(nlogn)This question was posed to me in class test.The above asked question is from Bipartite Graphs topic in section Graphs of Discrete Mathematics

Answer»

Right choice is (b) linear time

The best explanation: It is possible to test whether a graph is bipartite, and to return EITHER a two-coloring (if it is bipartite) or an ODD cycle (if it is not) in linear time i.e, O(n) using depth first search. In case of the intersection of n line segments or other simple SHAPES in the EUCLIDEAN graph, it is possible to test whether the graph is bipartite and it will return either a two-coloring or an odd cycle in time O(nlogn), even though the graph itself has up to O(n^2) edges.

65.

What is the maximum number of edges in a bipartite graph on 14 vertices?(a) 78(b) 15(c) 214(d) 49I have been asked this question during an online interview.Question is from Bipartite Graphs topic in division Graphs of Discrete Mathematics

Answer»

Right answer is (d) 49

To ELABORATE: By definition, the maximum possible number of EDGES in a bipartite graph on ‘n’ VERTICES = (1/4) X n^2.

Substituting n = 14, we get maximum number of edges in a bipartite graph on 14 vertices,= (1/4) x (14)^2

= (1/4) x 14 x 14

= 49

∴ Maximum number of edges in a bipartite graph on 14 vertices = 49.

66.

The partition V = V1 ∪ V2 in a bipartite graph G1 is called ________(a) bipartition of G1(b) 2-vertex set of G1(c) sub bipartite graphs(d) disjoint vertex setI got this question in an international level competition.I need to ask this question from Bipartite Graphs in section Graphs of Discrete Mathematics

Answer»

Right CHOICE is (b) 2-VERTEX set of G1

For explanation I would say: A graph G1(V, E) is called bipartite if its vertex set V(G) can be decomposed into two non-empty disjoint subsets V1(G1) and V2(G1) in such a way that each EDGE e ∈ E(G) has its one end joint in V1(G1) and other endpoint in V2(G1). The partition V = V1 ∪ V2 in a bipartite graph G1 is called bipartition of G1.

67.

In a ______ the degree of each and every vertex is equal.(a) regular graph(b) point graph(c) star graph(d) euler graphI have been asked this question in an internship interview.The above asked question is from Bipartite Graphs topic in chapter Graphs of Discrete Mathematics

Answer» CORRECT answer is (C) star graph

The explanation is: A regular graph has the same degree in each of its vertices. In a regular bipartite graph, if the COMMON degree of each vertices is 1, the two PARTS are of the same SIZE.
68.

The maximum number of edges in a bipartite graph on 14 vertices is ___________(a) 56(b) 14(c) 49(d) 87This question was addressed to me by my college professor while I was bunking the class.The doubt is from Bipartite Graphs in portion Graphs of Discrete Mathematics

Answer»

Right choice is (c) 49

Easiest explanation: Maximum NUMBER of EDGES occur in a complete bipartite graph when every vertex has an edge to every opposite vertex in the graph. Number of edges in a complete bipartite graph is a*b, where a and b are no. of vertices on each side. This QUANTITY is maximum when a = b i.e. when there are 7 vertices on each side. So answer is 7 * 7 = 49.

69.

A free semilattice has the _______ property.(a) intersection(b) commutative and associative(c) identity(d) universalThe question was asked in homework.I want to ask this question from Graphs topic in division Graphs of Discrete Mathematics

Answer»

The correct answer is (d) universal

For explanation I WOULD say: Any SET X may be used to generate the FREE semilattice FX. The free semilattice is DEFINED to consist of all of the finite subsets of X with the semilattice operation GIVEN by ordinary set union; the free semilattice has the universal property.

70.

Every poset that is a complete semilattice must always be a _______(a) sublattice(b) complete lattice(c) free lattice(d) partial latticeThis question was addressed to me in class test.I would like to ask this question from Graphs topic in chapter Graphs of Discrete Mathematics

Answer»

The correct ANSWER is (b) complete lattice

The explanation is: A poset is called a complete lattice if all its subsets have both a join and a MEET. EVERY complete lattice is a BOUNDED lattice.Every poset that is a complete semilattice must ALWAYS be a complete lattice.

71.

The graph is the smallest non-modular lattice N5. A lattice is _______ if and only if it does not have a _______ isomorphic to N5.(a) non-modular, complete lattice(b) moduler, semilattice(c) non-modular, sublattice(d) modular, sublatticeI got this question in exam.This key question is from Graphs in section Graphs of Discrete Mathematics

Answer» CORRECT answer is (d) modular, sublattice

To elaborate: A lattice (L, ∨, ∧) is modular if for all elements a, B, c of L, the following identity HOLDS->modular identity: (a ∧ c) ∨ (b ∧ c) = [(a ∧ c) ∨ b] ∧ c. This condition is equivalent to the following axiom -> modular law: a ≤ c implies a ∨ (b ∧ c) = (a ∨ b) ∧ c. A lattice is modular if and only if it does not have a sublattice ISOMORPHIC to N5.
72.

A sublattice(say, S) of a lattice(say, L) is a convex sublattice of L if _________(a) x>=z, where x in S implies z in S, for every element x, y in L(b) x=y and y

Answer»

Correct option is (c) x<=y<=z, where x, y in S implies z in S, for every element x, y, z in L

The explanation is: A SUBLATTICE S of a LATTICE L is a convex sublattice of L, if x ≤ z ≤ y and x, y in S implies that z belongs to S, for all elements x, y, z in L.

73.

The graph given below is an example of _________(a) non-lattice poset(b) semilattice(c) partial lattice(d) bounded latticeI got this question during an interview for a job.My query is from Graphs in chapter Graphs of Discrete Mathematics

Answer»

Correct CHOICE is (a) non-lattice poset

The best I can explain: The graph is an example of non-lattice poset where B and c have common UPPER bounds d, e and F but NONE of them is the least upper bound.

74.

A ________ has a greatest element and a least element which satisfy 0

Answer»

Right option is (d) bounded lattice

The best explanation: A lattice that has additionally a SUPREMUM element and an infimum element which SATISFY 0<=a<=1, for every an in the lattice is called a bounded lattice. A partially ORDERED set is a bounded lattice if and only if every finite set (including the EMPTY set) of elements has a JOIN and a meet.

75.

______ and _______ are the two binary operations defined for lattices.(a) Join, meet(b) Addition, subtraction(c) Union, intersection(d) Multiplication, modulo divisionThis question was posed to me in homework.This is a very interesting question from Graphs in section Graphs of Discrete Mathematics

Answer»

The correct answer is (a) Join, meet

Easiest explanation: Join and meet are the binary operations reserved for lattices. The join of TWO ELEMENTS is their least upper bound. It is denoted by V, not to be confused with DISJUNCTION. The meet of two elements is their greatest LOWER bound. It is denoted by ∧ and not to be confused with a CONJUNCTION.

76.

If every two elements of a poset are comparable then the poset is called ________(a) sub ordered poset(b) totally ordered poset(c) sub lattice(d) semigroupThe question was asked in unit test.Origin of the question is Graphs topic in section Graphs of Discrete Mathematics

Answer»

Correct option is (B) totally ordered poset

Easy explanation: A poset (P, <=) is known as totally ordered if EVERY TWO ELEMENTS of the poset are comparable. “<=” is CALLED a total order and a totally ordered set is also termed as a chain.

77.

In the poset (Z^+, |) (where Z^+ is the set of all positive integers and | is the divides relation) are the integers 9 and 351 comparable?(a) comparable(b) not comparable(c) comparable but not determined(d) determined but not comparableI have been asked this question in exam.The doubt is from Graphs in section Graphs of Discrete Mathematics

Answer»
78.

A Poset in which every pair of elements has both a least upper bound and a greatest lower bound is termed as _______(a) sublattice(b) lattice(c) trail(d) walkThis question was addressed to me in an interview for job.This is a very interesting question from Graphs topic in section Graphs of Discrete Mathematics

Answer»

Correct option is (b) lattice

Explanation: A poset in which every PAIR of elements has both a LEAST upper bound and a GREATEST lower bound is called a lattice. A lattice can CONTAIN sublattices which are SUBSETS of that lattice.

79.

Let G be the graph defined as the Hasse diagram for the ⊆ relation on the set S{1, 2,…, 18}. How many edges are there in G?(a) 43722(b) 2359296(c) 6487535(d) 131963The question was asked by my school teacher while I was bunking the class.My query is from Graphs in chapter Graphs of Discrete Mathematics

Answer»

The correct choice is (B) 2359296

Easy EXPLANATION: Here the total number of elements in S is 18 and so number of VERTICES in Hasse diagram are 2^18. Hence, the number of edges in Hasse diagram are 18 * 2^18-1=2359296.

80.

Suppose P1 is a partially ordered class and a cut of P1 is pair (D, T) of nonempty subclasses of P1 satisfies which of the following properties?(a) D∩T=Ø(b) D∪T=P1(c) xyz∈T(d) z∈T and zx∈DThis question was posed to me in final exam.My question is based upon Graphs topic in division Graphs of Discrete Mathematics

Answer» CORRECT ANSWER is (a) D∩T=Ø

For explanation I would say: SUPPOSE P1 is a PARTIALLY ordered class and a cut of P1 is pair (D, T) of nonempty subclasses of P1 SATISFIES the following properties: i) D∩T=Ø and D∪T=P1ii) If z∈D and y≤z, then y∈D and iii) If z∈T and y≥z, then y∈T.
81.

In a poset (S, ⪯), if there is no element n∈S with m

Answer» RIGHT CHOICE is (b) An ELEMENT m is maximal in the POSET

Easy explanation: By the definition, an element m exists in a poset (S, ⪯) is maximal if and only if there is no n∈S with m≺n.
82.

In a poset P({v, x, y, z}, ⊆) which of the following is the greatest element?(a) {v, x, y, z}(b) 1(c) ∅(d) {vx, xy, yz}I had been asked this question in unit test.I'm obligated to ask this question of Graphs in chapter Graphs of Discrete Mathematics

Answer»

The CORRECT option is (a) {V, x, y, z}

For explanation I would say: We know that, in a Hasse diagram, the maximal ELEMENT(s) are the top and the minimal ELEMENTS are at the bottom of the diagram. In the given poset, {v, x, y, z} is the maximal or greatest element and ∅ is the minimal or least element.

83.

In which of the following relations every pair of elements is comparable?(a) ≤(b) !=(c) >=(d) ==This question was addressed to me in quiz.This interesting question is from Graphs topic in chapter Graphs of Discrete Mathematics

Answer» RIGHT option is (a) ≤

Explanation: In the ≤(or less than and equal to) relation, EVERY PAIR of elements is COMPARABLE.
84.

The relation ≤ is a partial order if it is ___________(a) reflexive, antisymmetric and transitive(b) reflexive, symmetric(c) asymmetric, transitive(d) irreflexive and transitiveI have been asked this question at a job interview.This question is from Graphs in section Graphs of Discrete Mathematics

Answer»

The correct answer is (a) reflexive, ANTISYMMETRIC and transitive

The explanation is: Let A is a set and ≤ is a RELATION on A, then ≤ is a PARTIAL order if it satisfies reflexive, antisymmetric, and transitive, i.e., for all x, y and z in P. That means, x ≤ x (REFLEXIVITY);

 if x ≤ y and y ≤ x then x = y (antisymmetry) and if x ≤ y and y ≤ z then x ≤ z (TRANSITIVITY).

85.

Which of the following relation is a partial order as well as an equivalence relation?(a) equal to(=)(b) less than()(d) not equal to(!=)I have been asked this question by my school principal while I was bunking the class.This is a very interesting question from Graphs in chapter Graphs of Discrete Mathematics

Answer»

Right CHOICE is (a) equal to(=)

The explanation: The identity RELATION = on any SET is a partial ORDER in which every two distinct elements are incomparable and that depicts the relation of both a partial order and an EQUIVALENCE relation. For non-linear orders, there are many advanced properties of posets.

86.

If the partial order of a set has at most one minimal element, then to test whether it has a non-crossing Hasse diagram its time complexity __________(a) NP-complete(b) O(n^2)(c) O(n+2)(d) O(n^3)This question was addressed to me in an international level competition.This key question is from Graphs topic in chapter Graphs of Discrete Mathematics

Answer»

Right choice is (a) NP-complete

Easy explanation: If the PARTIAL order has at most ONE minimal element, or it has at most one MAXIMAL element, then to test whether a partial order with multiple sources and SINKS can be drawn as a crossing-free Hasse DIAGRAM or not it’s time complexity is NP-complete.

87.

G is an undirected graph with n vertices and 26 edges such that each vertex of G has a degree at least 4. Then the maximum possible value of n is ___________(a) 7(b) 43(c) 13(d) 10This question was posed to me in final exam.This interesting question is from Graphs topic in portion Graphs of Discrete Mathematics

Answer»

Correct OPTION is (c) 13

To explain I would say: LET m be MIN degree and M be a max degree of a GRAPH, then m ≤ 2E/V ≤ M. Here, m=4, E=26, v=?

So, 4 ≤ (2*26)/V

V ≤ (52/4)

V ≤ 13 ⇒ V = 13.

88.

If a partial order is drawn as a Hasse diagram in which no two edges cross, its covering graph is called ______(a) upward planar(b) downward planar(c) lattice(d) biconnected componentsI had been asked this question in quiz.I need to ask this question from Graphs topic in section Graphs of Discrete Mathematics

Answer»

Correct answer is (a) upward planar

To explain I would SAY: In a Hasse diagram if no two edges CROSS each other in the drawing of partial ORDER Hasse diagram, then its covering GRAPH CALLED the upward planar.

89.

Hasse diagrams are first made by ______(a) A.R. Hasse(b) Helmut Hasse(c) Dennis Hasse(d) T.P. HasseI had been asked this question by my school teacher while I was bunking the class.This is a very interesting question from Graphs in portion Graphs of Discrete Mathematics

Answer»
90.

An undirected graph has 8 vertices labelled 1, 2, …,8 and 31 edges. Vertices 1, 3, 5, 7 have degree 8 and vertices 2, 4, 6, 8 have degree 7. What is the degree of vertex 8?(a) 15(b) 8(c) 5(d) 23This question was addressed to me in unit test.My question is taken from Graphs topic in portion Graphs of Discrete Mathematics

Answer»

Correct choice is (B) 8

To explain: Vertices 1, 3, 5, 7 have DEGREE 8 and vertices 2, 4, 6, 8 have degree 7. By definition, sum of degree= 2 * No of edges

Let x = degree of vertex 8

8 + 7 + 8 + 7 + 8 + 7 + 8 + x =2 * 31

53 + x = 61

x = 8

Hence, degree of vertex 8 is 8.

91.

In a finite graph the number of vertices of odd degree is always ______(a) even(b) odd(c) even or odd(d) infiniteThis question was addressed to me during an interview for a job.Origin of the question is Graphs in section Graphs of Discrete Mathematics

Answer»

Correct CHOICE is (a) even

Easy explanation: In any FINITE graph, sum of degree of all the vertices = 2 * number of edges.

Sum of degree of all the vertices with even degree + sum of degree of all the vertices with ODD degree = 2 * number of edges. Now, even number+ sum of degree of all the vertices with odd degree = even number. It is POSSIBLE if and only if number of odd degree vertices are even.

92.

Degree of a graph with 12 vertices is _______(a) 25(b) 56(c) 24(d) 212This question was addressed to me during an online exam.Question is taken from Graphs in portion Graphs of Discrete Mathematics

Answer»

Right option is (C) 24

To explain: NUMBER of edges incident on a GRAPH is known as degree of a vertex. Sum of degrees of each vertex is called total degree of the graph. Total degree = 2 * number of vertices. So, if there are 24 vertices then total degree is 24.

93.

A simple graph can have _______(a) multiple edges(b) self loops(c) parallel edges(d) no multiple edges, self-loops and parallel edgesThis question was addressed to me in an interview.This intriguing question comes from Graphs topic in portion Graphs of Discrete Mathematics

Answer»

The correct option is (d) no multiple edges, self-loops and parallel edges

Easiest EXPLANATION: If a graph say G = has no parallel or multiple edges and no self loops CONTAINED in it is CALLED a SIMPLE graph. An undirected graph may have multiple edges and self-loops.

94.

Disconnected components can be created in case of ___________(a) undirected graphs(b) partial subgraphs(c) disconnected graphs(d) complete graphsI have been asked this question by my college director while I was bunking the class.This intriguing question originated from Graphs in section Graphs of Discrete Mathematics

Answer»

The correct answer is (c) DISCONNECTED graphs

The BEST explanation: By the deletion of one EDGE from either connected or strongly connected graphs the graph obtained is termed as a disconnected graph. It can have connected components separated by the deletion of the edges. The edge that has to be deleted CALLED cut edge.

95.

The graph representing universal relation is called _______(a) complete digraph(b) partial digraph(c) empty graph(d) partial subgraphThis question was posed to me during an online exam.Origin of the question is Graphs topic in section Graphs of Discrete Mathematics

Answer» RIGHT answer is (a) complete digraph

Best explanation: CONSIDER, A is a graph with vertices {a, B, c, d} and the universal relation is A x A. The graph representing universal relation is called a complete graph and all ORDERED PAIRS are present there.
96.

What is a complete digraph?(a) connection of nodes without containing any cycle(b) connecting nodes to make at least three complete cycles(c) start node and end node in a graph are same having a cycle(d) connection of every node with every other node including itself in a digraphI have been asked this question in final exam.My question is based upon Graphs topic in chapter Graphs of Discrete Mathematics

Answer»

The correct answer is (d) connection of EVERY node with every other node INCLUDING itself in a digraph

The BEST explanation: Every node should be CONNECTED to every other node including itself in a digraph is the complete digraph. Now, graphs are connected, STRONGLY connected and disconnected

97.

Let, D = be a directed graph or digraph,then D’ = is a subgraph if ___________(a) A’ ⊂ A and R’ = R ∩ (A’ x A’)(b) A’ ⊂ A and R ⊂ R’ ∩ (A’ x A’)(c) R’ = R ∩ (A’ x A’)(d) A’ ⊆ A and R ⊆ R’ ∩ (A’ x A’)The question was posed to me at a job interview.My enquiry is from Graphs topic in section Graphs of Discrete Mathematics

Answer»

Correct answer is (a) A’ ⊂ A and R’ = R ∩ (A’ x A’)

The best explanation: A directed GRAPH or digraph is an ordered PAIR D where A(is a set of nodes of D) is a set and R(the ELEMENTS of R are the arcs of D) is a binary relation on A. The relation R is CALLED the incidence relation on D. Now, a digraph is a subgraph of D if i)A’ ⊂ A and ii)R’ = R ∩ (A’ x A’). If D’D, D’ is a PROPER subgraph of D.

98.

A directed graph or digraph can have directed cycle in which ______(a) starting node and ending node are different(b) starting node and ending node are same(c) minimum four vertices can be there(d) ending node does not existThe question was posed to me by my college director while I was bunking the class.Question is from Graphs topic in portion Graphs of Discrete Mathematics

Answer»

The correct choice is (b) starting node and ending node are same

Easiest explanation: If the start node and end node are same in the PATH of a graph then it is termed as directed cycle i.e, c0 = CN. For instance, a C b a is a SIMPLE cycle in which start and end nodes are same(a). But, a c b b a is not a simple cycle as there is a LOOP .