
Analysis of Algorithm chapter 9 : Algorithm on Graph
Quiz
•
Mathematics
•
University
•
Practice Problem
•
Hard
วัชรศักดิ์ ศิริเสรีวรรณ
Used 5+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which ones are the types of graph representation
Adjacency Matrix
Adjacency List
Edge List
Vertex List
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which statements about Graph Traversal are TRUE ?
Stack is usually applied on implementing Depth-First Search
Stack is usually applied on implementing Breadth-First Search
Priority Queue is usually applied on implementing Breadth-First Search
Kahn's Algorithm uses DFS to find the topological sorting
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which one is not Topological sorting of this graph
D-B-A-C-E
D-A-B-C-E
A-B-C-D-E
B-C-D-A-E
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which statements about Topological sorting are true?
Kahn's algorithm starts on the node with zero in-degree
The order of removing in-degree comes from the queue
Sorting from DFS and Kahn's are usually same.
Kahn's algorithm is a Greedy algorithm
It is possible to find alternative sorting if some preferences in algorithm is changed
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Based on Prim's algorithm, if the current spanning tree consists of node a and e, which edge will be added to the spanning tree next ?
ab
df
ef
af
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
which ones are the correct initializations of Dijkstra's algorithm if the starting node is X
D[i] = 0 for all node i except X
D[X] = 0
prev[X] = 0
visited[i] = FALSE for all node[i]
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
To find the shortest path start from node s on the graph with n nodes, which statement are True
There are n rounds for Dijkstra's algorithm
The maximum number of round for Bellman-Ford algorithm is n - 1
The minimum number of round for Bellman-Ford algorithm is 1
The relaxation occurs when d[i] < d[s] + w[s, i]
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
10 questions
Linear Equation
Quiz
•
University
10 questions
QUIZ 3 - 1TM1*
Quiz
•
University
10 questions
Calculus quiz 24/10/15
Quiz
•
University
10 questions
Unit 8 Polygon Bonus
Quiz
•
9th Grade - University
10 questions
PEMDAS
Quiz
•
KG - University
10 questions
Partial Differential Equations
Quiz
•
University
10 questions
Second derivative
Quiz
•
University
10 questions
Matrix, Part-2
Quiz
•
University - Professi...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
