- Type
- Quiz
- Course
- CS502 Fundamentals of Algorithms
- Size
- PDF 461 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 4, 5 of 7. Download the file for all 7 pages.
- A _____________ w is adjacent to vertex v if there is an edge from v to w. o a) Cycle o b) Acyclic o c) Loop o d) Vertex Correct
2. Brute-force is a simple strategy for computing
o a) Easiest path o b) Shortest path Correct o c) Longest path o d) Complete path
- In an undirected graph, we say that an edge is _______________ on a vertex if the vertex is an endpoint of the edge.
- Graphs can be represented by an _________ and____________. o a) Queue, Stack o b) Adjacency list, adjacency Matrix Correct o c) Binary, Linear o d) Adjacency Right, adjacency Left
7. For graph traversal, Breadth-first search strategy
o a) Can be both recursive and non-recursive Correct o b) Cannot be recursive o c) Cannot be non-recursive o d) Is always recursive
- In a digraph, the number of edges coming in of a vertex is called the __________ of that vertex. o a) Complete degree o b) Out-degree o c) Node o d) In-degree Correct
- __________________ data structure is used to perform the Breadth-first search. o a) Stack o b) Array o c) Queue Correct o d) Tree
10. In a digraph, the number of edges coming out of a vertex is called the ________ of that vertex. o a) In-degree o b) Complete degree o c) Node o d) Out-degree Correct
Related CS502 files
All CS502 files →- CS502 Highlighted Handouts by VU Topper RM Highlighted PDF 1.5 MB
- CS502 Final Term Solved MCQs with References by Moaaz Final term PDF 2.6 MB
- CS502 Quiz 4 by VU Topper RM Quiz PDF 1.8 MB
- CS502 Solved Quiz 2 Lectures 31-37 by Riz Mughal Quiz PDF 3.2 MB
- CS502 Quiz 4 Set 2 by VU Topper RM Quiz PDF 1.6 MB
- CS502 Quiz Quiz PDF 1.3 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.