Exam 12: Graphs

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

The breadth first traversal traverses the graph from each vertex that is not visited.

Free
(True/False)
4.8/5
(36)
Correct Answer:
Verified

True

Let G be an undirected graph. G is called ____ if any two vertices in G are connected.

Free
(Multiple Choice)
4.8/5
(47)
Correct Answer:
Verified

C

A circuit in a graph that includes all the edges of the graph is called a(n) ____.

Free
(Multiple Choice)
4.7/5
(51)
Correct Answer:
Verified

A

Let G be a directed graph and V(G) = {v1, v2, . . ., vn}, where n >= 0. A(n) ____ of V(G) is a linear ordering vi1, vi2, . . ., vin of the vertices such that, if vij is a predecessor of vik, j does not equal k, 1 <= j <= n, 1 <= k <= n, then vij precedes vik, that is, j < k in this linear ordering.

(Multiple Choice)
4.8/5
(42)

The breadth first traversal algorithm is similar to traversing a binary tree level-by-level.

(True/False)
4.9/5
(35)

Let G be an undirected graph. G is called ____ if there is a path from any vertex to any other vertex.

(Multiple Choice)
4.7/5
(31)

____ are used to model electrical circuits, chemical compounds, highway maps, and so on.

(Multiple Choice)
5.0/5
(44)

A graph G is said to be ____ if either G is a trivial graph or G has an Euler circuit.

(Multiple Choice)
4.7/5
(36)

In the breadth first topological ordering, we first find a vertex that has a predecessor vertex and place it first in the topological ordering.

(True/False)
4.8/5
(41)

A graph can be shown pictorially.

(True/False)
4.7/5
(35)

The topological sort algorithm can be implemented either using the depth first traversal or the breadth first traversal.

(True/False)
4.8/5
(42)

Let G be a weighted graph, let u and v be two vertices in G, and let P be a path in G from u to v. The weight of the path P is the ____ of all the edges on the path P.

(Multiple Choice)
4.9/5
(32)

A ____ in G is a simple path in which the first and last vertices are the same.

(Multiple Choice)
4.9/5
(37)

There are two well-known algorithms, ____ algorithm and Kruskal's algorithm, for finding a minimum spanning tree of a graph.

(Multiple Choice)
4.8/5
(38)

Let G be a weighted graph, a minimum (minimal) spanning tree of G is a spanning tree with the ____.

(Multiple Choice)
4.9/5
(41)

If the graph represents a highway structure, the weight can represent the distance between two places or the travel time from one place to another.

(True/False)
4.7/5
(38)

When drawing a graph, the vertices are drawn as ____.

(Multiple Choice)
4.8/5
(40)

A graph can be represented in computer memory in only one way.

(True/False)
4.8/5
(29)

The statement ____ declares graphIt to be an iterator.

(Multiple Choice)
4.7/5
(27)

Processing a graph requires the ability to traverse the graph.

(True/False)
4.9/5
(28)
Showing 1 - 20 of 43
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)