B2_Graphs

B2_Graphs

University

8 Qs

quiz-placeholder

Similar activities

Software Engineering :TEST 2

Software Engineering :TEST 2

University

10 Qs

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

VITAP Quiz-1

VITAP Quiz-1

University

10 Qs

WN-CELLULAR CONCEPT

WN-CELLULAR CONCEPT

University

10 Qs

UTB - FCNS 221PB

UTB - FCNS 221PB

University

10 Qs

PTD - 1A

PTD - 1A

University

10 Qs

Reading and Reviewing - Research Seminar

Reading and Reviewing - Research Seminar

University

10 Qs

DE quiz based on unit 1 & 2

DE quiz based on unit 1 & 2

University

10 Qs

B2_Graphs

B2_Graphs

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Gouthami Velakanti

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

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 Span­ning 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

P is true, Q is false.

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers