
Math

Quiz
•
Mathematics
•
University
•
Easy
Hiếu Hồ
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Prim's algorithm used for?
A) Finding the longest path in a graph
B) Finding the minimum spanning tree
C) Finding the shortest path in a graph
D) Finding all possible circuits in a graph
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in Prim's algorithm?
A) Start with an empty tree
B) Add the largest edge to the spanning tree
C) Add any edge to the tree
D) Choose any edge with the smallest weight
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Prim's algorithm, when do you stop adding edges?
A) When there are no more edges left
B) When n−1n - 1n−1 edges have been added
C) When the tree forms a circuit
D) When all vertices are connected
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is true about Kruskal's algorithm?
A) It starts with any edge
B) It only adds edges incident to a vertex already in the tree
C) It starts with an empty graph and adds edges of minimum weight
D) It only works for directed graphs
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key difference between Prim's and Kruskal's algorithms?
A) Prim's algorithm only works on directed graphs
B) Kruskal's algorithm adds edges that are incident to a vertex already in the tree
C) Prim’s algorithm only adds edges connected to vertices in the tree
D) Kruskal’s algorithm cannot find the minimum spanning tree
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Kruskal's algorithm, how are edges chosen?
A) By adding the highest-weighted edges first
B) By adding edges only if they form a circuit
C) By adding edges of minimum weight that do not form a circuit
D) By adding edges that form a cycle
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the total weight of the minimum spanning tree in Example 8 (using Prim's algorithm)?
A) 22
B) 24
C) 25
D) 26
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
The Mathematics of Graphs

Quiz
•
University
15 questions
23MA101 MATHEMATICS I QUIZ

Quiz
•
University
20 questions
Classify 3D Shapes by Edges, Vertices, and Faces

Quiz
•
6th Grade - University
15 questions
3D Shapes Vertices Edges and Faces

Quiz
•
3rd Grade - University
20 questions
Properties of Prisms

Quiz
•
3rd Grade - University
20 questions
Count Faces Vertices Edges

Quiz
•
6th Grade - University
20 questions
Properties of 3D Shapes

Quiz
•
5th Grade - University
21 questions
Edexcel Further Maths Decision D1 Revision Quiz 1

Quiz
•
11th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade