Graph Theory Concepts

Graph Theory Concepts

12th Grade

9 Qs

quiz-placeholder

Similar activities

Linked List

Linked List

12th Grade

10 Qs

LAN Plenary

LAN Plenary

12th Grade

7 Qs

Knowledge Recall: Mind maps

Knowledge Recall: Mind maps

KG - 12th Grade

5 Qs

Network characteristics

Network characteristics

12th Grade

4 Qs

Network Concepts Quiz

Network Concepts Quiz

9th - 12th Grade

10 Qs

CSS Assessment CO

CSS Assessment CO

12th Grade

5 Qs

Grafy - kartkówka

Grafy - kartkówka

12th Grade

10 Qs

Technical Terms - Internet (A-Z) - DOM

Technical Terms - Internet (A-Z) - DOM

12th Grade

10 Qs

Graph Theory Concepts

Graph Theory Concepts

Assessment

Quiz

Computers

12th Grade

Medium

Created by

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

Media Image

Topological Order?

B, E, A, C, D

B, E, D, C, A

D, E, A, C, B

B, E, C, A, D