Graph Theory

Description: This quiz covers fundamental concepts and properties of graph theory, a branch of mathematics that studies the relationships between vertices and edges in graphs.
Number of Questions: 15
Created by:
Tags: graph theory vertices edges paths cycles
Attempted 0/15 Correct 0 Score 0

What is the maximum number of edges in a simple graph with n vertices?

  1. n(n-1)

  2. n(n+1)

  3. n^2

  4. 2n


Correct Option: A
Explanation:

In a simple graph, each pair of vertices can be connected by at most one edge. Therefore, the maximum number of edges is n(n-1)/2.

Which of the following graphs is acyclic?

  1. Tree

  2. Cycle

  3. Complete graph

  4. Star graph


Correct Option: A
Explanation:

A graph is acyclic if it contains no cycles. A tree is a connected acyclic graph.

What is the degree of a vertex in a graph?

  1. Number of edges incident to the vertex

  2. Number of vertices adjacent to the vertex

  3. Number of paths starting from the vertex

  4. Number of cycles containing the vertex


Correct Option: A
Explanation:

The degree of a vertex is the number of edges that are incident to it.

Which of the following is a property of a bipartite graph?

  1. It can be partitioned into two disjoint sets of vertices

  2. It contains an odd cycle

  3. It is always connected

  4. It has an Eulerian path


Correct Option: A
Explanation:

A bipartite graph is a graph whose vertices can be partitioned into two disjoint sets such that every edge connects a vertex from one set to a vertex from the other set.

What is the minimum number of colors required to color the vertices of a graph such that no two adjacent vertices have the same color?

  1. Chromatic number

  2. Degree of the graph

  3. Number of vertices in the graph

  4. Number of edges in the graph


Correct Option: A
Explanation:

The chromatic number of a graph is the minimum number of colors required to color the vertices of the graph such that no two adjacent vertices have the same color.

Which of the following is a necessary condition for a graph to be Hamiltonian?

  1. It must be connected

  2. It must be complete

  3. It must have an Eulerian path

  4. It must have an odd number of vertices


Correct Option: A
Explanation:

A Hamiltonian path is a path that visits every vertex in a graph exactly once. A necessary condition for a graph to be Hamiltonian is that it must be connected.

What is the maximum number of edges in a spanning tree of a connected graph with n vertices?

  1. n-1

  2. n

  3. n+1

  4. 2n-1


Correct Option: A
Explanation:

A spanning tree of a connected graph is a subgraph that is a tree and includes all the vertices of the graph. The maximum number of edges in a spanning tree is n-1.

Which of the following is a sufficient condition for a graph to be planar?

  1. It must have an Eulerian path

  2. It must be acyclic

  3. It must have a vertex of degree at most 3

  4. It must be bipartite


Correct Option: C
Explanation:

A planar graph is a graph that can be drawn on a plane without any edges crossing each other. A sufficient condition for a graph to be planar is that it must have a vertex of degree at most 3.

What is the maximum number of edges in a complete bipartite graph with m vertices in one part and n vertices in the other part?

  1. mn

  2. m(n-1)

  3. n(m-1)

  4. m+n


Correct Option: A
Explanation:

A complete bipartite graph is a graph whose vertices can be partitioned into two disjoint sets such that every vertex in one set is connected to every vertex in the other set. The maximum number of edges in a complete bipartite graph with m vertices in one part and n vertices in the other part is mn.

Which of the following is a necessary condition for a graph to be Eulerian?

  1. It must be connected

  2. It must be acyclic

  3. It must have an even number of vertices

  4. It must have an odd number of vertices


Correct Option: C
Explanation:

An Eulerian path is a path that visits every edge in a graph exactly once. A necessary condition for a graph to be Eulerian is that it must have an even number of vertices.

What is the maximum number of edges in a simple graph with n vertices and m edges?

  1. n(n-1)/2

  2. n(n+1)/2

  3. m(m+1)/2

  4. m(m-1)/2


Correct Option: D
Explanation:

In a simple graph, each pair of vertices can be connected by at most one edge. Therefore, the maximum number of edges is m(m-1)/2.

Which of the following is a necessary condition for a graph to be Hamiltonian?

  1. It must be connected

  2. It must be complete

  3. It must have an Eulerian path

  4. It must have an odd number of vertices


Correct Option: A
Explanation:

A Hamiltonian path is a path that visits every vertex in a graph exactly once. A necessary condition for a graph to be Hamiltonian is that it must be connected.

What is the maximum number of edges in a spanning tree of a connected graph with n vertices?

  1. n-1

  2. n

  3. n+1

  4. 2n-1


Correct Option: A
Explanation:

A spanning tree of a connected graph is a subgraph that is a tree and includes all the vertices of the graph. The maximum number of edges in a spanning tree is n-1.

Which of the following is a sufficient condition for a graph to be planar?

  1. It must have an Eulerian path

  2. It must be acyclic

  3. It must have a vertex of degree at most 3

  4. It must be bipartite


Correct Option: C
Explanation:

A planar graph is a graph that can be drawn on a plane without any edges crossing each other. A sufficient condition for a graph to be planar is that it must have a vertex of degree at most 3.

What is the maximum number of edges in a complete bipartite graph with m vertices in one part and n vertices in the other part?

  1. mn

  2. m(n-1)

  3. n(m-1)

  4. m+n


Correct Option: A
Explanation:

A complete bipartite graph is a graph whose vertices can be partitioned into two disjoint sets such that every vertex in one set is connected to every vertex in the other set. The maximum number of edges in a complete bipartite graph with m vertices in one part and n vertices in the other part is mn.

- Hide questions