A) the shortest path
B) topological order
C) topological sort
D) maximum spanning tree
Correct Answer
verified
Multiple Choice
A) directed acyclic graph
B) sparse graph
C) topological order
D) shortest-path problem
Correct Answer
verified
Multiple Choice
A) n
B) n 2
C) n + 1
D) n - 1
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) incidentEdges
B) getEdge
C) containsEdge
D) sizeEdges
Correct Answer
verified
Multiple Choice
A) s.add(w)
B) dfs(graph, v, s)
C) s.add(v)
D) dfs(graph, w, s)
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) spanning forest
B) minimum spanning tree
C) shortest path spanning tree
D) topological spanning tree
Correct Answer
verified
Multiple Choice
A) constant time
B) O( N 2) where N is the number of vertices
C) linear with the length of the list
D) logarithmic with the total number of vertices
Correct Answer
verified
Multiple Choice
A) a simple path
B) an undirected path
C) a cycle
D) a directed path
Correct Answer
verified
Multiple Choice
A) when there is an edge from each vertex to all other vertices
B) when there is a path from each vertex to all other vertices
C) when there is a path between at least half the vertices
D) when there are two or more edges between vertices
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) the set is a connected component
B) the set describes a complete graph
C) the vertices in the set are all adjacent to each other
D) the set describes a connected graph
Correct Answer
verified
Multiple Choice
A) a graph-processing algorithm can move in only one direction along an edge that connects two vertices
B) their edges do not indicate direction
C) there can be multiple edges connecting any two vertices
D) there is a source vertex and a destination vertex
Correct Answer
verified
Multiple Choice
A) a three-dimensional array
B) a two-dimensional grid
C) a source vertex
D) the number of vertices in the graph
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) 2
B) 6
C) 9
D) 4
Correct Answer
verified
True/False
Correct Answer
verified
Showing 21 - 40 of 50
Related Exams