×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Advertisement


In Prim's algorithm, what is the initial key value assigned to the starting vertex?

46. In Prim's algorithm, what is the initial key value assigned to the starting vertex?

  1. Infinity
  2. -1
  3. 0
  4. 1

Answer

The correct answer is: C) 0

Explanation

The starting vertex is given a key value of 0 to ensure it is picked first.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.