
Graphs in Data Structures - Gunalakshmi

Quiz
•
Computers
•
University
•
Medium
Cherukuri Gunalakshmi
Used 12+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Linked List
Adjacency Matrix
Hash Table
Tree Structure
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which set represents the vertices of the graph?
{1,2}, {2,3}. {2,4}, {4,5}, {4,6}
{1, 2, 3, 4, 5, 6,}
{1, 2, 3, 4, 5, 6, 7}
{1,2}, {2,3}. {2,4}, {4,5}, {4,6}, {6,7}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which two vertices are adjacent vertices?
5 is adjacent to 6
3 is adjacent to 6
4 is adjacent to 1
3 is adjacent to 2
4.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which order of traversal is correct using depth-first?
A B C G D E F
A B D C E C G
A B G C D F E
A E C F D G C
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which order of traversal is correct using breadth-first?
A B D E C F G
A B C G D E F
A B D C G E F
A B DG C D E F
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which scenario is a weighted graph used?
When you only need a path between vertices
When there is no direction between vertices
When edges have associated values, such as cost or distance
When all vertices are directly connected to each other
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which graph traversal algorithm uses a stack data structure?
BFS
Floyd-Warshall Algorithm
Dijkstra's Algorithm
DFS
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Knowledge Knockout[Quiz Round](2nd-4th years)

Quiz
•
University
20 questions
Exploring Trees and Graph Algorithms

Quiz
•
University
14 questions
A-Level Computer Science Data Structures Quiz

Quiz
•
12th Grade - University
20 questions
BCS 8th BDA Quizz

Quiz
•
University
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms

Quiz
•
12th Grade - University
16 questions
Y13 Graph Traversal

Quiz
•
9th Grade - University
10 questions
Graph

Quiz
•
University
15 questions
AlgoMania Quiz

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade