
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
10 questions
Pengujian Elektrik

Quiz
•
University
11 questions
Latihan Scratch (Bag. 3.1)

Quiz
•
1st Grade - University
12 questions
Intro C++

Quiz
•
University
15 questions
Pendapatan Nasional

Quiz
•
12th Grade - University
10 questions
Regression Analysis

Quiz
•
10th Grade - University
15 questions
Theory of Computation-Finite Automata

Quiz
•
University
15 questions
START Triage Quiz

Quiz
•
University
15 questions
Тестування після ПЕРШОГО дня первинного

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade