What is the use of BFS?

BFS can be used to find the shortest distance between some starting node and the remaining nodes of the graph. The shortest distance is the minimum number of edges traversed in order to travel from the start node the specific node being examined.

What is meant by depth?

The depth of a list is the maximum level attributed to any element with in the list or with in any sub list in the list.

What is an undirected acyclic graph?

When every edge in an acyclic graph is undirected, it is called an undirected acyclic graph. It is also called as undirected forest.

When a graph said to be weakly connected?

aij = 1 if (vi, vj) Exists          =0 otherwise

When a directed graph is not strongly connected but the underlying graph is connected, then the graph is said to be weakly connected.

What is a simple path?

i. A path in a diagram in which the edges are distinct is called a simple path.
ii. It is also called as edge simple.

Define path in a graph?

The path in a graph is the route taken to reach terminal node from a starting node.