
Graph Theory Concepts

Quiz
•
Computers
•
12th Grade
•
Medium
Md. Nazmus Shakib
Used 1+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a graph in the context of computer science?
A graph in computer science is a tool used for plotting mathematical functions.
A graph in computer science is a type of chart used to display numerical data.
A graph in computer science is a visual representation of data on a coordinate plane.
A graph in computer science is a data structure consisting of nodes (vertices) connected by edges.
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Explain the Breadth-First Search (BFS) algorithm.
BFS only visits nodes on the same level
BFS explores nodes level by level, visiting all the nodes at the current level before moving to the next level.
BFS starts from the deepest level and moves upwards
BFS randomly selects nodes to explore
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Describe the Depth-First Search (DFS) algorithm.
DFS explores nodes in a random order without following any specific path.
DFS only visits nodes that are directly connected to the root node.
DFS starts at the leaf nodes and works its way up to the root node.
DFS starts at the root node, explores as far as possible along each branch before backtracking, and continues until all nodes are visited.
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is Topological Sorting and when is it used?
Topological Sorting is used to shuffle a deck of cards
Topological Sorting is used to organize files alphabetically
Topological Sorting is used to sort numbers in ascending order
Topological Sorting is used in scenarios where a set of tasks need to be executed in a specific order based on dependencies between them.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Define Strongly Connected Components in a graph.
Strongly Connected Components are subgraphs where vertices have different degrees of connectivity.
Strongly Connected Components are subgraphs where vertices are connected by edges in only one direction.
Strongly Connected Components in a graph are subgraphs where every vertex is reachable from every other vertex within that subgraph.
Strongly Connected Components are subgraphs where only some vertices are reachable from others.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the basic components of a graph?
Vertices and Lines
Links and Junctions
Nodes and Edges
Points and Connections
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does BFS differ from DFS in terms of traversal order?
BFS explores nodes in a random order
BFS visits nodes level by level, while DFS explores as far as possible along each branch before backtracking.
DFS visits nodes level by level
BFS always starts from the root node
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can a graph have cycles in a topological sort?
Maybe
Yes
No
Sometimes
9.
MULTIPLE SELECT QUESTION
1 min • 2 pts
Topological Order?
B, E, A, C, D
B, E, D, C, A
D, E, A, C, B
B, E, C, A, D
Similar Resources on Wayground
10 questions
Star & Mesh Networks

Quiz
•
9th - 12th Grade
11 questions
17. TCP/IP Protocol Model Quiz

Quiz
•
9th - 12th Grade
12 questions
Test-1 S.Y.B.Sc.(CS)Div.-A DS-II

Quiz
•
12th Grade
10 questions
U4 AI

Quiz
•
12th Grade
10 questions
Technical Terms - Hardware (A-Z) - Gateway

Quiz
•
12th Grade
10 questions
Blockchain

Quiz
•
12th Grade
10 questions
Mesh Topology

Quiz
•
12th Grade
9 questions
Matric IT theory revision 4

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade