
DSA Week 11

Quiz
•
Other
•
University
•
Medium
Johan Alibasa
Used 1+ times
FREE Resource
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?
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Based on the graph provided on the screen, which adjacency matrix is correct?
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)
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Epilepsy surgery

Quiz
•
University
8 questions
Introduction to Engineering Economy

Quiz
•
University
15 questions
Pre-test Numerasi Dasar

Quiz
•
12th Grade - University
10 questions
IPA - Aula 03 (2-24) - Pancadaria

Quiz
•
University
8 questions
Google Classroom

Quiz
•
University
15 questions
Kalakriti S1 Quiz JIDO

Quiz
•
University
10 questions
Penelitian Operasi - P3

Quiz
•
University
11 questions
TECOI_2_Indicateurs

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University