CC104 2A

CC104 2A

University

10 Qs

quiz-placeholder

Similar activities

Pertemuan 4

Pertemuan 4

University

11 Qs

DS Quiz

DS Quiz

University

12 Qs

DS-AE(30.11.21)

DS-AE(30.11.21)

University

10 Qs

CN-28-09-2020

CN-28-09-2020

University

8 Qs

Categorical and Quantitative Data Quiz

Categorical and Quantitative Data Quiz

University

10 Qs

Evolution of Management Thought

Evolution of Management Thought

University

10 Qs

Graph databases quiz

Graph databases quiz

University

13 Qs

Responsi EKG

Responsi EKG

University

10 Qs

CC104 2A

CC104 2A

Assessment

Quiz

Other

University

Hard

Created by

Analyn Edañol

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

Which traversal method uses a stack data structure to keep track of unvisited nodes?

Breadth First Search

Dijkstra's Algorithm

Kruskal's Algorithm

Depth First Search

2.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

Which type of graph traversal would you use if you wanted to visit all nodes at the current depth level before moving to the next depth level?

Breadth First Search

Prim's Algorithm

Bellman-Ford Algorithm

Depth First Search

3.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

In graph terminology, what does a 'leaf' node refer to?

A node with only one adjacent node

A node with no outgoing edges

A node with no incoming edges

A node with no adjacent nodes

4.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

Which graph representation is more space-efficient for a sparse graph?

Adjacency List

Incidence Matrix

Adjacency Matrix

Edge List

5.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

In an adjacency matrix representation of a graph, what value is used to indicate the absence of an edge between vertices Vi and Vj?

1

0

-1

None

6.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

In a graph G, if there is a path between every pair of vertices, what type of graph is G?

Directed graph 

Disconnected graph 

Bipartite graph

Complete graph

7.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

What is the primary difference between a directed graph and an undirected graph?

Directed graphs allow edges to point in one direction; undirected graphs do not.

Directed graphs are sparse; undirected graphs are dense.

Directed graphs have weights on edges; undirected graphs do not.

Directed graphs have cycles; undirected graphs do not.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?