
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
Quiz Pengimbasan GMT Lv 1

Quiz
•
6th Grade - University
10 questions
Graph

Quiz
•
University
13 questions
Graphs 1

Quiz
•
University
10 questions
Scheme Programming Quiz

Quiz
•
University
7 questions
practice

Quiz
•
University
11 questions
Typing Skills and Posture

Quiz
•
6th Grade - University
13 questions
Intro to IF statements

Quiz
•
KG - University
6 questions
Dijkstra's Algorithm

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University