A graph-traversal algorithm stops when ______.

a) it first encounters the designated destination vertex
b) it has visited all the vertices that it can reach
c) it has visited all the vertices
d) it has visited all the vertices and has returned to the vertex that it started from


b.

Computer Science & Information Technology

You might also like to view...

In single inheritance, a base class exists in a(n) _________ relationship with its derived

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

(Sorting Properties Alphabetically in the Properties Window) In this exercise, you will learn how to sort the Properties window’s properties alphabetically by per- forming the following steps:

Computer Science & Information Technology

Classes from which objects can be instantiated are called ___________ classes.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Adding a ButtonGroup object to a container ________.

a. is necessary for the functionality of the ButtonGroup to work properly. b. causes all the JRadioButtons in the group to have their event handlers registered. c. results in a compilation error. d. None of the above.

Computer Science & Information Technology