
Graph data structure
Quiz
•
Professional Development
•
Professional Development
•
Hard
Pankaj Kunekar
Used 4+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a simple graph, the number of edges is equal to twice the sum of the degrees of the vertices.
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A connected graph T without any cycles is called .......
Free graph
no cycle graph
non cycle graph
circular graph
3.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
A graph is said to be ....... if every node u in G is adjacent to every other node v in G.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the DFS traversal of the given Graph?
ABCED
AEDCB
EDCBA
ADECB
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The topological sorting of any DAG can be done in ________ time
cubic
quadratic
linear
logarithmic
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What sequence would the BFS traversal of the given graph yield?
A F D B C E
C B A F D
A B D C F
A B C D E F
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an advantage of adjacency list representation over adjacency matrix representation of a graph?
In adjacency list representation, space is saved for sparse graphs.
DFS and BSF can be done in O(V + E) time for adjacency list representation. These operations take O(V^2) time in adjacency matrix representation. Here is V and E are number of vertices and edges respectively.
Adding a vertex in adjacency list representation is easier than adjacency matrix representation.
All of the above
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
ASM ADP || Lean Six Sigma || Analyze Phase
Quiz
•
Professional Development
20 questions
Computação - Fundamentos de Lógica e Programação.
Quiz
•
Professional Development
20 questions
Assessment Vocabulary Quiz for Gifted Educators
Quiz
•
Professional Development
23 questions
Google Quiz
Quiz
•
Professional Development
25 questions
AWS CSA Prep
Quiz
•
Professional Development
19 questions
Logical Agents Quiz
Quiz
•
Professional Development
15 questions
DSA Danh sách
Quiz
•
Professional Development
15 questions
Assesment on unit-1 & 2
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade