
Graph
Quiz
•
Professional Development
•
Professional Development
•
Practice Problem
•
Hard
Purushotham M
Used 7+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What would be the number of zeros in the adjacency matrix of the given graph?
10
6
16
0
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of these adjacency matrices represents a simple graph?
[ [1, 0, 0], [0, 1, 0], [0, 1, 1] ]
[ [1, 1, 1], [1, 1, 1], [1, 1, 1] ]
[ [0, 0, 1], [0, 0, 0], [0, 0, 1] ]
[ [0, 0, 1], [1, 0, 1], [1, 0, 0] ]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the DFS traversal of the given Graph?
AEDCB
ABCED
EDCBA
ADECB
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Consider an undirected unweighted graph G. Let a breadth-first traversal of G be done starting from a node r. Let d(r, u) and d(r, v) be the lengths of the shortest paths from r to u and v respectively, in G. lf u is visited before v during the breadth-first traversal, which of the following statements is correct?
d(r, u) < d (r, v)
d(r, u) > d(r, v)
d(r, u) <= d (r, v)
None of the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Consider the following undirected graph with edge weights as shown:
The number of minimum-weight spanning trees of the graph is ___________
2.5
3.4
1.6
0.7
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Consider the following C++ code
0 1 3 2
0 2 3 1
0 1 2 3
0 2 1 3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following algorithms can be used to most efficiently determine the presence of a cycle in a given graph ?
Depth First Search
Breadth First Search
Prim's Minimum Spanning Tree Algorithm
Kruskal's Minimum Spanning Tree Algorithm
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Sosialisasi Pengendalian Perubahan & Laporan Deviasi
Quiz
•
Professional Development
10 questions
AA ACC4201 Quiz 1
Quiz
•
University - Professi...
13 questions
Vet 211 Topic 9 review
Quiz
•
Professional Development
10 questions
Merdeka
Quiz
•
Professional Development
10 questions
Code of Ethics for Teachers
Quiz
•
KG - Professional Dev...
10 questions
POST TEST NEW PARADIGM
Quiz
•
Professional Development
10 questions
FLSP-Great Giant Foods 2023
Quiz
•
Professional Development
10 questions
Basic Clinical Chemistry
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
