DSA Week 11

DSA Week 11

University

10 Qs

quiz-placeholder

Similar activities

SEBERAPA TAHU KAMU TENTANG IPB?

SEBERAPA TAHU KAMU TENTANG IPB?

University

10 Qs

Liga Santander

Liga Santander

KG - Professional Development

15 Qs

Accounting 100

Accounting 100

University

13 Qs

Pemilu

Pemilu

KG - University

10 Qs

Competencias Ciudadanas

Competencias Ciudadanas

University

10 Qs

Iron Man

Iron Man

1st Grade - University

12 Qs

Efektivitas kinerja perpustakaan sekolah sehat

Efektivitas kinerja perpustakaan sekolah sehat

University - Professional Development

10 Qs

Kiểm tra level cờ vua cơ bản

Kiểm tra level cờ vua cơ bản

1st Grade - University

10 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?