Exam 13: Sets and Maps
Exam 1: Introduction36 Questions
Exam 2: Analysis of Algorithms31 Questions
Exam 3: Introduction to Collections - Stacks49 Questions
Exam 4: Linked Structures - Stacks51 Questions
Exam 5: Queues28 Questions
Exam 6: Lists42 Questions
Exam 7: Iterators32 Questions
Exam 8: Recursion57 Questions
Exam 9: Searching and Sorting54 Questions
Exam 10: Trees47 Questions
Exam 11: Binary Search Trees50 Questions
Exam 12: Heaps and Priority Queues29 Questions
Exam 13: Sets and Maps47 Questions
Exam 14: Multi-Way Search Trees47 Questions
Exam 15: Graphs29 Questions
Exam 16: UML16 Questions
Exam 17: Object-Oriented Design54 Questions
Select questions type
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)
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)
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)