Deck 13: Sets and Maps

Full screen (f)
exit full mode
Question
An undirected graph is a graph where the pairings representing the edges are _____________.

A) Unordered
B) Ordered
C) Sorted
D) None of the above
Use Space or
up arrow
down arrow
to flip the card.
Question
Two vertices in a graph are ___________ if there is an edge connecting them.

A) Connected
B) Adjacent
C) Ordered
D) None of the above
Question
An undirected graph is considered complete if it has the maximum number of edges connecting vertices.

A) Connected
B) Adjacent
C) Complete
D) Full
Question
A _________ is a sequence of edges that connects two vertices in a graph.

A) Connection
B) Path
C) Set
D) Cycle
Question
A ________ is a path in which the first and last vertices are the same and none of the edges are repeated.

A) Connection
B) Path
C) Set
D) Cycle
Question
An undirected tree is a connected, acyclic, undirected graph with one element designated as the _______.

A) Starting point
B) Root
C) Leaf
D) Cycle
Question
A directed graph, sometimes referred as a digraph, is a graph where the edges are _________ pairs of vertices.

A) Unordered
B) Ordered
C) Sorted
D) None of the above
Question
A path in a directed graph is a sequence of directed edges that connects two _________ in a graph.

A) Vertices
B) Trees
C) Edges
D) None of the above
Question
A ________, or a weighted graph, is a graph with weights or costs associated with each edge.

A) Tree
B) Graph
C) Network
D) None of the above
Question
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.

A) Stack
B) Tree
C) List
D) Heap
Question
A graph is connected if and only if the number of vertices in the __________ traversal is the same as the number of vertices in the graph regardless of the starting vertex.

A) Depth-first
B) Breadth-first
C) Level-order
D) None of the above
Question
A __________ tree is a tree that includes all of the vertices of a graph and some, but possibly not all, of the edges.

A) Directed
B) Undirected
C) Spanning
D) None of the above
Question
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.

A) Less than or equal
B) Greater than or equal
C) Equal
D) None of the above
Question
An ______ graph is a graph where the pairings representing the edges are unordered.
Question
Two vertices in a graph are adjacent if there is an edge ______ them.
Question
An undirected graph is considered complete if it has the ______ number of edges connecting vertices.
Question
A ______ is a sequence of edges that connects two vertices in a graph.
Question
A cycle is a path in which the first and last vertices are ______ and none of the edges are repeated.
Question
An undirected tree is a connected, ______, undirected graph with one element designated as the root.
Question
A ______, sometimes referred as a digraph, is a graph where the edges are ordered pairs of vertices.
Question
A path in a directed graph is a sequence of ______ edges that connects two vertices in a graph.
Question
A ______, or a weighted graph, is a graph with weights or costs associated with each edge.
Question
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.
Question
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.
Question
A spanning tree is a tree that includes all of the ______ of a graph and some, but possibly not all, of the ______.
Question
A ______ is a spanning tree where the sum of the weights of the edges is less than or equal to the sum of the weights for any other spanning tree for the same graph.
Question
An undirected graph is a graph where the pairings representing the edges are unordered.
Question
Two vertices in a graph are adjacent if there is an edge connecting them.
Question
An undirected graph is considered complete if it has the maximum number of edges connecting vertices.
Question
A path is a sequence of edges that connects two vertices in a graph.
Question
A cycle is a path in which the first and last vertices are the same and only one of the edges are repeated.
Question
An undirected tree is a connected, cyclic, undirected graph with one element designated as the root.
Question
A directed graph, sometimes referred as a digraph, is a graph where the edges are ordered pairs of vertices.
Question
A path in a directed graph is a sequence of undirected edges that connects two vertices in a graph.
Question
A network, or a weighted graph, is a graph with weights or costs associated with each edge.
Question
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.
Question
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.
Question
A spanning tree is a tree that includes all of the edges of a graph and some, but possibly not all, of the vertices.
Question
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.
Question
What is the difference between a graph and a tree?
Question
What is an undirected graph?
Question
What is a directed graph?
Question
What does it mean to say that a graph is complete?
Question
What is the maximum number of edges for an undirected graph? A directed graph?
Question
What is the definition of path? Of cycle?
Question
What is the difference between a network and a graph?
Question
What is a spanning tree? A minimum spanning tree?
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/47
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 13: Sets and Maps
1
An undirected graph is a graph where the pairings representing the edges are _____________.

A) Unordered
B) Ordered
C) Sorted
D) None of the above
Unordered
2
Two vertices in a graph are ___________ if there is an edge connecting them.

A) Connected
B) Adjacent
C) Ordered
D) None of the above
Adjacent
3
An undirected graph is considered complete if it has the maximum number of edges connecting vertices.

A) Connected
B) Adjacent
C) Complete
D) Full
Complete
4
A _________ is a sequence of edges that connects two vertices in a graph.

A) Connection
B) Path
C) Set
D) Cycle
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
5
A ________ is a path in which the first and last vertices are the same and none of the edges are repeated.

A) Connection
B) Path
C) Set
D) Cycle
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
6
An undirected tree is a connected, acyclic, undirected graph with one element designated as the _______.

A) Starting point
B) Root
C) Leaf
D) Cycle
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
7
A directed graph, sometimes referred as a digraph, is a graph where the edges are _________ pairs of vertices.

A) Unordered
B) Ordered
C) Sorted
D) None of the above
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
8
A path in a directed graph is a sequence of directed edges that connects two _________ in a graph.

A) Vertices
B) Trees
C) Edges
D) None of the above
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
9
A ________, or a weighted graph, is a graph with weights or costs associated with each edge.

A) Tree
B) Graph
C) Network
D) None of the above
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
10
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.

A) Stack
B) Tree
C) List
D) Heap
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
11
A graph is connected if and only if the number of vertices in the __________ traversal is the same as the number of vertices in the graph regardless of the starting vertex.

A) Depth-first
B) Breadth-first
C) Level-order
D) None of the above
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
12
A __________ tree is a tree that includes all of the vertices of a graph and some, but possibly not all, of the edges.

A) Directed
B) Undirected
C) Spanning
D) None of the above
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
13
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.

A) Less than or equal
B) Greater than or equal
C) Equal
D) None of the above
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
14
An ______ graph is a graph where the pairings representing the edges are unordered.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
15
Two vertices in a graph are adjacent if there is an edge ______ them.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
16
An undirected graph is considered complete if it has the ______ number of edges connecting vertices.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
17
A ______ is a sequence of edges that connects two vertices in a graph.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
18
A cycle is a path in which the first and last vertices are ______ and none of the edges are repeated.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
19
An undirected tree is a connected, ______, undirected graph with one element designated as the root.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
20
A ______, sometimes referred as a digraph, is a graph where the edges are ordered pairs of vertices.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
21
A path in a directed graph is a sequence of ______ edges that connects two vertices in a graph.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
22
A ______, or a weighted graph, is a graph with weights or costs associated with each edge.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
23
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.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
24
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.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
25
A spanning tree is a tree that includes all of the ______ of a graph and some, but possibly not all, of the ______.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
26
A ______ is a spanning tree where the sum of the weights of the edges is less than or equal to the sum of the weights for any other spanning tree for the same graph.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
27
An undirected graph is a graph where the pairings representing the edges are unordered.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
28
Two vertices in a graph are adjacent if there is an edge connecting them.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
29
An undirected graph is considered complete if it has the maximum number of edges connecting vertices.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
30
A path is a sequence of edges that connects two vertices in a graph.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
31
A cycle is a path in which the first and last vertices are the same and only one of the edges are repeated.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
32
An undirected tree is a connected, cyclic, undirected graph with one element designated as the root.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
33
A directed graph, sometimes referred as a digraph, is a graph where the edges are ordered pairs of vertices.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
34
A path in a directed graph is a sequence of undirected edges that connects two vertices in a graph.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
35
A network, or a weighted graph, is a graph with weights or costs associated with each edge.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
36
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.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
37
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.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
38
A spanning tree is a tree that includes all of the edges of a graph and some, but possibly not all, of the vertices.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
39
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.
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
40
What is the difference between a graph and a tree?
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
41
What is an undirected graph?
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
42
What is a directed graph?
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
43
What does it mean to say that a graph is complete?
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
44
What is the maximum number of edges for an undirected graph? A directed graph?
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
45
What is the definition of path? Of cycle?
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
46
What is the difference between a network and a graph?
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
47
What is a spanning tree? A minimum spanning tree?
Unlock Deck
Unlock for access to all 47 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 47 flashcards in this deck.