
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
How is a graph represented in memory?
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 Wayground
14 questions
Binary Tree

Quiz
•
University
20 questions
Data Structures and Algorithm

Quiz
•
University
10 questions
2024 - Struktur Data Quiz 1

Quiz
•
University
10 questions
Quiz - CSE

Quiz
•
University
20 questions
DSA - QA3

Quiz
•
University
11 questions
3CSD1 ADS LAB

Quiz
•
University
20 questions
Data Structures Quiz

Quiz
•
University
15 questions
Data Structure

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