Exam 13: Sets and Maps

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

A network, or a weighted graph, is a graph with weights or costs associated with each edge.

(True/False)
4.7/5
(38)

A ________, or a weighted graph, is a graph with weights or costs associated with each edge.

(Multiple Choice)
4.8/5
(37)

What does it mean to say that a graph is complete?

(Essay)
4.7/5
(37)

A _________ is a sequence of edges that connects two vertices in a graph.

(Multiple Choice)
4.8/5
(32)

A graph is ______ if and only if the number of vertices in the breadth-first traversal is the same as the number of vertices in the graph regardless of the starting vertex.

(Short Answer)
4.8/5
(40)

What is the maximum number of edges for an undirected graph? A directed graph?

(Essay)
4.8/5
(35)

What is a directed graph?

(Short Answer)
4.8/5
(43)

A path in a directed graph is a sequence of undirected edges that connects two vertices in a graph.

(True/False)
4.9/5
(44)

Two vertices in a graph are ___________ if there is an edge connecting them.

(Multiple Choice)
4.8/5
(38)

An undirected graph is a graph where the pairings representing the edges are unordered.

(True/False)
4.8/5
(41)

A path in a directed graph is a sequence of ______ edges that connects two vertices in a graph.

(Short Answer)
4.9/5
(45)

The only difference between a depth-first traversal of a graph and a breadth-first traversal is the use of a _________ instead of a queue to manage the traversal.

(Multiple Choice)
4.8/5
(41)

The only difference between a depth-first traversal of a graph and a breadth-first traversal is the use of a stack instead of a ______ to manage the traversal.

(Short Answer)
5.0/5
(44)

A minimum spanning tree is a spanning tree where the sum of the weights of the edges is greater than or equal to the sum of the weights for any other spanning tree for the same graph.

(True/False)
4.8/5
(38)

An undirected graph is a graph where the pairings representing the edges are _____________.

(Multiple Choice)
4.8/5
(43)

A minimum spanning tree is a spanning tree where the sum of the weights of the edges is ____________ to the sum of the weights for any other spanning tree for the same graph.

(Multiple Choice)
4.8/5
(33)

What is the difference between a graph and a tree?

(Essay)
4.8/5
(35)

A graph is connected if and only if the number of vertices in the breadth-first traversal is the same as the number of vertices in the graph regardless of the starting vertex.

(True/False)
4.7/5
(36)

A directed graph, sometimes referred as a digraph, is a graph where the edges are ordered pairs of vertices.

(True/False)
4.9/5
(42)

The only difference between a depth-first traversal of a graph and a breadth-first traversal is the use of a queue instead of a stack to manage the traversal.

(True/False)
4.9/5
(31)
Showing 21 - 40 of 47
close modal

Filters

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