Solved

The Following Is an Algorithm for A(n) ____

Question 19

Multiple Choice

The following is an algorithm for a(n) ____.
Take an arbitrary start vertex, mark it identified and place it in a queue.
While the queue is not empty
Take a vertex, u, out of the queue and visit u.
For all vertices, v, adjacent to this vertex u
If v has not been identified or visited
Mark it identified
Insert vertex v into the queue.
We are now finished visiting u.


A) depth-first search
B) linear search
C) breadth-first search
D) binary search

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents