
B2_Graphs

Quiz
•
Computers
•
University
•
Hard
Gouthami Velakanti
Used 1+ times
FREE Resource
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
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Let G be a simple undirected planar graph on 10 vertices with 15 edges. If G is a connected graph, then the number of bounded faces in any embedding of G on the plane is equal to
6
5
4
3
Similar Resources on Wayground
10 questions
PAA - Análise Assintótica

Quiz
•
University
5 questions
STRUKTUR DATA

Quiz
•
9th Grade - University
13 questions
Data Structure and Algorithms Semi-Final Examination

Quiz
•
University
10 questions
Kuis 2 - ASD -A

Quiz
•
University
10 questions
ASK Ting 1 - Bab 1.1.1

Quiz
•
KG - University
10 questions
QUIZ 1 SISTEM DIGITAL

Quiz
•
University
12 questions
Typing

Quiz
•
KG - University
10 questions
1.4.2 Data Structures - Trees

Quiz
•
12th 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