
B2_Graphs
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Gouthami Velakanti
Used 1+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
For the undirected, weighted graph given below, which of the following sequences of edges represents a correct execution of Prim's algorithm to construct a Minimum Spanning Tree?
(a, b), (d, f), (f, c), (g, i), (d, a), (g, h), (c, e), (f, h)
(c, e), (c, f), (f, d), (d, a), (a, b), (g, h), (h, f), (g, i)
(d, f), (f, c), (d, a), (a, b), (c, e), (f, h), (g, h), (g, i)
(h, g), (g, i), (h, f), (f, c), (f, d), (d, a), (a, b), (c, e)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider a directed graph with n vertices and m edges such that all edges have same edge weights. Find the complexity of the best known algorithm to compute the minimum spanning tree of the graph?
O(m+n)
O(m logn)
O(mn)
O(n logm)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data structure is useful in traversing a given graph by breadth first search?
Stack
List
Queue
None of the above.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In an undirected connected planar graph G, there are eight vertices and five faces. The number of edges in G is _________.
10
11
12
6
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider an undirected random graph of eight vertices. The probability that there is an edge between a pair of vertices is 1/2. What is the expected number of unordered cycles of length three?
1
1/8
7
6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is/are TRUE for undirected graphs?
P: Number of odd degree vertices is even.
Q: Sum of degrees of all vertices is even.
Both P and Q
Both P and Q
Only P
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The line graph L(G) of a simple graph G is defined as follows: · There is exactly one vertex v(e) in L(G) for each edge e in G. · For any two edges e and e' in G, L(G) has an edge between v(e) and v(e'), if and only if e and e'are incident with the same vertex in G. Which of the following statements is/are TRUE?
(P) The line graph of a cycle is a cycle.
(Q) The line graph of a clique is a clique.
(R) The line graph of a planar graph is planar.
(S) The line graph of a tree is a tree.
P only
P and R only
R only
P, Q and S only
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
11 questions
Theory of Sets
Quiz
•
University
12 questions
Modelos RFM
Quiz
•
University
10 questions
Truy tìm Anh tài ( Bài 2 Tin 4)
Quiz
•
4th Grade - University
12 questions
Questionario sobre certificações
Quiz
•
University
10 questions
SAPA #ITBCA
Quiz
•
University
10 questions
Examen rápido 1 - Verificación y Validación
Quiz
•
University
10 questions
Computación
Quiz
•
1st Grade - Professio...
10 questions
Quizz3 Ciencia de Datos
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
