
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
Tech quiz Round 1

Quiz
•
University
10 questions
Java set3

Quiz
•
University
15 questions
R programming

Quiz
•
University
10 questions
TF ELASTISITAS

Quiz
•
12th Grade - Professi...
10 questions
Kuis 2 GDDH 2

Quiz
•
University
12 questions
Pokemon Go

Quiz
•
University
10 questions
UNIT1_PYTHON

Quiz
•
University
15 questions
START Triage Quiz

Quiz
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade