DSA Week 11

DSA Week 11

University

10 Qs

quiz-placeholder

Similar activities

Kuis Audit Syariah

Kuis Audit Syariah

University

10 Qs

Preguntas de repaso "RON"

Preguntas de repaso "RON"

University

10 Qs

Psychology

Psychology

University

10 Qs

Sinh hoạt chủ điểm tháng 11 12

Sinh hoạt chủ điểm tháng 11 12

University

12 Qs

General knowledge Quiz

General knowledge Quiz

University

10 Qs

Contaminacion

Contaminacion

University

10 Qs

Seberapa kenal kamu dengan FKM UI?

Seberapa kenal kamu dengan FKM UI?

University

10 Qs

Quiz 1 sistem instalasi pemadam kebakaran

Quiz 1 sistem instalasi pemadam kebakaran

University

15 Qs

DSA Week 11

DSA Week 11

Assessment

Quiz

Other

University

Practice Problem

Medium

Created by

Johan Alibasa

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which option contains the correct set of vertices and edges based on the provided graph on the screen?

V = {0, 1, 2, 3}
E = {(0, 1), (0, 2), (0, 3), (1, 2)}

V = {1, 2, 3, 4}
E = {(1, 2), (2, 4), (3, 4)}

V = {1, 2, 3, 4}
E = {(1, 2), (2, 3), (3, 4)}

V = {1, 2, 3, 4}
E = {(1, 2), (3, 4), (2, 3)}

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which option contains the correct set of vertices and edges based on the provided graph on the screen?

V = {1, 2, 3, 4}
E = {(1, 3), (1, 2), (2, 3), (3, 4)}

V = {1, 2, 3, 4}
E = {(1, 3), (2, 4), (3, 4), (1, 2)}

V = {1, 2, 3, 4}
E = {(1, 2), (2, 3), (3, 4), (1, 4)}

V = {1, 2, 3, 4}
E = {(1, 2), (3, 4), (1, 4), (2, 4)}

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Based on the graph provided on the screen, which adjacency matrix is correct?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Based on the graph provided on the screen, which adjacency matrix is correct?

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Based on the graph provided on the screen, which adjacency list is correct?

0 -> 3

1 -> 2

2 -> 1 -> 3

3 -> 0 -> 2

0 -> 3

1 -> 2

2 -> 3

3 -> 0

0 -> 3 -> 2 -> 1

1 -> 2 -> 3 -> 0

2 -> 3 -> 0

3 -> 2 -> 1

0 -> 3 -> 2

1 -> 2

2 -> 3 -> 0

3 -> 2

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Based on the graph provided on the screen, which adjacency list is correct?

0 -> 2 -> 3

1 -> 2

2 -> 0 -> 1

3 -> 0

0 -> 2 -> 3

1 -> 0 -> 2

2 -> 0 -> 1

3 -> 0

0 -> 2

1 -> 2

2 -> 0 -> 1

3 -> 0

0 -> 2 -> 3

1 -> 2

2 -> 0

3 -> 0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity to find the number of in-edges for a single node X using an adjacency matrix?

O(n2)

O(n)

O(n3)

O(1)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?