Practice QB
Practice QB
3. A graph with no edges is known as empty graph. Empty graph is also known as...
4. If the origin and terminus of a walk are same, the walk is known as... ?
c. max { d(u,v): u belongs to v, u does not equal to v } d. min { d(u,v): u belongs to v, u does not equal to v }
9. A graph with n vertices will definitely have a parallel edge or self loop if the total number of edges are
a. greater than n–1 b. less than n(n–1) c. greater than n(n–1)/2 d. less than 𝑛2 /2
a. Total number of edges in a graph is even or odd b. Total number of vertices in a graph is even or odd
11. A graph with no edges is known as empty graph. Empty graph is also known as
12. A graph with n vertices will definitely have a parallel edge or self-loop of the total number of edges are
a. more than n b. more than n+1 c. more than (n+1)/2 d. more than n(n-1)/2
13. The maximum degree of any vertex in a simple graph with n vertices is
a. 0 b. 1 c.2 d.3
16. The complete graph with four vertices has k edges where k is
a. 3 b. 4 c. 5 d. 6
19. In any undirected graph the sum of degrees of all the nodes
a. Must be even b. Are twice the number of edges c. Must be odd d. Need not be even
22. An undirected graph possesses an Eulerian circuit if and only if it is connected and its vertices are
a. all of even degree b. all of odd degree c. of any degree d. even in number
23. In an undirected graph the number of nodes with odd degree must be
a. 𝒏𝟐 − 𝟐 b. 𝑛2 c. n d. none of these
a. max { d(u,v): u belongs to v, u does not equal to v : where d(u,v) is the distance between u & v}
c. Both A and B
d. None of these
26. If for some positive integer k, degree of vertex d(v)=k for every vertex v of the graph G, then G is called... ?
27. The number of colours required to properly colour the vertices of every planer graph is
a. 2 b. 3 c. 4 d. 5
31. When the origin and terminus of a walk both are the same, the walk is
called?
a. Open b. Path c. Closed d.way
34. the maximum degree of any vertex in a simple graph with n vertices
is
a. 2n–1 b. n+1 c. n–1 d. n
38. What is the number of edges present in a complete graph having n vertices?
a. (n*(n+1))/2 b. (n*(n-1))/2
c. n d. Information given is insufficient
a. True b. False
40. In a simple graph, the number of edges is equal to twice the sum of the degrees of the vertices.
a) True
b) False
41. A connected planar graph having 6 vertices, 7 edges contains _____________ regions.
a.15 b. 3 c. 1 d. 11
42. If a simple graph G, contains n vertices and m edges, the number of edges in the Graph G'(Complement of
G) is ___________
a. (n*n-n-2*m)/2 b. (n*n+n+2*m)/2
c. (n*n-n-2*m)/2 d. (n*n-n+2*m)/2
43. Which of the following properties does a simple graph not hold?
a. Must be connected b. Must be unweighted
c. Must have no loops or multiple edges d. Must have no multiple edges
44. What is the maximum number of edges in a bipartite graph having 10 vertices?
a. 24 b. 21 c. 25 d. 16
45. Which of the following is true?
a. A graph may contain no edges and many vertices b. A graph may contain many edges and no vertices
c. A graph may contain no edges and no vertices d. A graph may contain no vertices and many edges
46. For a given graph G having v vertices and e edges which is connected and has no cycles, which of the
following statements is true?
a. v=e b. v = e+1
c. v + 1 = e d. v = e-1
47. For which of the following combinations of the degrees of vertices would the connected graph be Eulerian?
a. 1,2,3 b. 2,3,4 c. 2,4,5 d. 1,3,5
48. A graph with all vertices having equal degree is known as a __________
a. Multi Graph b. Regular Graph
c. Simple Graph d. Complete Graph
50. On which of the following statements does the time complexity of checking if an edge exists between two
particular vertices is not, depends?
a. Depends on the number of edges
b. Depends on the number of vertices
c. Is independent of both the number of edges and vertices
d. It depends on both the number of edges and vertices
51. In the given connected graph G, what is the value of rad(G) and diam(G)?
a. 2, 3 b. 3, 2 c. 2, 2 d. 3, 3
52. Given a plane graph, G having 2 connected component, having 6 vertices, 7 edges and 4 regions. What will
be the number of connected components?
a. 1 b. 2 c. 3 d. 4
53. Number of vertices with odd degrees in a graph having a eulerian walk is ________
a) 0 b) Can’t be predicted c) 2 d) either 0 or 2
a. 1 b. 2 c. 3 d. 4
56. What is the number of vertices of degree 2 in a path graph having n vertices, here n>2.
a. n-2 b. n c. 2 d. 0
59. In the given graph which edge should be removed to make it a Bipartite Graph?
60. What would the time complexity to check if an undirected graph with V vertices and E edges is Bipartite or
not given its adjacency matrix?
a. O(E*E) b. O(V*V) c. O(E) d. O(V)
61. Dijkstra’s Algorithm will work for both negative and positive weights?
a. True
b. False
62. A graph having an edge from each vertex to every other vertex is called a ___________
a. Tightly Connected b. Strongly Connected
c. Weakly Connected d. Loosely Connected
63. What is the number of unlabeled simple directed graph that can be made with 1 or 2 vertices?
a. 2 b. 4 c. 5 d. 9
64. Floyd Warshall Algorithm used to solve the shortest path problem has a time complexity of __________
a. O(V*V) b. O(V*V*V) c. O(E*V) d. O(E*E)
67. What is the maximum possible number of edges in a directed graph with no self loops having 8 vertices?
a. 28 b. 64 c. 256 d. 56
68. What is the maximum number of edges present in a simple directed graph with 7 vertices if there exists no
cycles in the graph?
a. 21 b. 7 c. 6 d. 49
70. Determine the number of vertices for the given Graph or Multigraph?
G is a 4-regular Graph having 12 edges.
a. 3 b. 6
c. 4 d. Information given is insufficient
73. If in a graph multiple edges between the same set of vertices are allowed, it is called?
a. Hamiltonian Graphs b. Simple graph
c. Multi graph d. Euler Graphs
74. The graph in which, there is a closed trail which includes every edge of the graph is known as?
a. Hamiltonian Graphs b. Euler Graphs
c. Planar graph d. Directed Graph