Graph

Quiz
•
Education
•
University
•
Hard
Jyoti Jadhav
Used 22+ 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
Similar Resources on Wayground
15 questions
Basics of C and DS

Quiz
•
University
15 questions
Data Structure

Quiz
•
University
15 questions
Code Queen

Quiz
•
University
25 questions
NCUK - Quiz Time (Season 01)

Quiz
•
University
15 questions
CN Network Layer Part 1

Quiz
•
University
15 questions
AI and Machine Learning Quiz

Quiz
•
University
20 questions
AMIS2713 - Chapter 1 Part 1

Quiz
•
University
15 questions
BlockCipher-AES

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Education
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University