Skip to content

Algorithms

What is the name for a greedy algorithm that finds a minimum spanning tree for a connected, weighted graph by adding edges in increasing order of weight?

Difficulty: Hard

About this MCQ

This Hard Algorithms MCQ checks one syllabus fact.

The question is: “What is the name for a greedy algorithm that finds a minimum spanning tree for a connected, weighted graph by adding edges in increasing order of weight?”

The accepted answer is A. Kruskal's algorithm. Kruskal's algorithm is the fact required by What is the name for a greedy algorithm that finds a minimum spanning tree for a connected weighted graph by adding edges in increasing order of weight option A Option B Randomized algorithm does not match the stem it is a near-miss used to catch incomplete recall of Kruskal's algorithm Option C Sorting stability does not match the stem it is a near-miss used to catch incomplete recall of Kruskal's algorithm Remaining alternatives Selection sort fall outside the same rule and should be eliminated once Kruskal's algorithm is identified Algorithms questions of this type reward precise definitions rather than approximate associations Algorithms recall of this distinction is a regular item in FPSC PPSC.

Correct answer

A. Kruskal's algorithm

Explanation

Kruskal's algorithm is the fact required by What is the name for a greedy algorithm that finds a minimum spanning tree for a connected weighted graph by adding edges in increasing order of weight option A Option B Randomized algorithm does not match the stem it is a near-miss used to catch incomplete recall of Kruskal's algorithm Option C Sorting stability does not match the stem it is a near-miss used to catch incomplete recall of Kruskal's algorithm Remaining alternatives Selection sort fall outside the same rule and should be eliminated once Kruskal's algorithm is identified Algorithms questions of this type reward precise definitions rather than approximate associations Algorithms recall of this distinction is a regular item in FPSC PPSC.

Source: Algorithms Official Reference Guide

Tags: computer science, algorithms, problem solving, complexity analysis

Submitted by: MCQsHub Editorial

Related MCQs

More Algorithms MCQs