Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) a complete graph
B) the neighbor of a vertex
C) the degree of a vertex
D) whether a graph is connected
Correct Answer
verified
Multiple Choice
A) self.size += 1
B) self.mark = False
C) return iter(result)
D) result = self.label
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) queue
B) set
C) stack
D) heap
Correct Answer
verified
Multiple Choice
A) a single path to each item is assumed
B) all algorithms are nonrecursive
C) the algorithm should find the shortest path to a given item
D) the type of collection used is irrelevant to the traversal algorithm
Correct Answer
verified
Multiple Choice
A) it stores information about the graph in a grid
B) the grid cell contains a 0 if there is no edge between vertices
C) a graph with four vertices contains 16 cells
D) it can be represented by an array of lists
Correct Answer
verified
Showing 41 - 50 of 50
Related Exams