Skip to content
VUBuddy

CS502 Solved Quiz 3 by Iqra Azhar

Fundamentals of Algorithms PDF 461 KBUpdated 23 Oct 2026
Quiz CS502 Solved Quiz 3 by Iqra Azhar PDF 461 KB
vubuddy.com
Type
Quiz
Course
CS502 Fundamentals of Algorithms
Size
PDF 461 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 461 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 2, 4, 5 of 7. Download the file for all 7 pages.

  1. 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

  1. In an undirected graph, we say that an edge is _______________ on a vertex if the vertex is an endpoint of the edge.
  2. 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

  1. 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
  2. __________________ 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

All CS502 files →
CS502 Fundamentals of Algorithms All CS502 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.