
Math
Authored by Hiếu Hồ
Mathematics
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Ley de la demanda
Quiz
•
University
20 questions
Criterios de Divisibilidad Práctica
Quiz
•
University
20 questions
More Ordering Fractions Decimals Percents Greatest to Least
Quiz
•
6th Grade - University
20 questions
Q3 Summative Test 2-GEOMETRY
Quiz
•
8th Grade - University
15 questions
QUANTI BAMBINI ALLA PRIMARIA!
Quiz
•
1st Grade - University
21 questions
Functions
Quiz
•
University
20 questions
Réduction d'expressions littérales
Quiz
•
7th Grade - University
20 questions
Research Methodology Test
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade