CS502 Quiz-3 By Vu Topper RM.pdf

Verified academic study resource for CS502 (Fundamentals of Algorithms) under the Computer Science at Virtual University of Pakistan. This PDF document (Live Quiz Dumps & Solved Objective Bank) covers Quizzes & Objective Exam Scope spanning approximately 180 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS502 – Fundamentals of Algorithms
Faculty
Computer Science
Format
PDF
Type
Quiz
Coverage
Quizzes & Objective Exam Scope

Quiz questions often repeat with modified parameter values in both Midterm and Final exams. Practice with our 45-second timed simulator to master exam pacing.

What this file covers — CS502 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download CS502 Quiz-3 By Vu Topper RM.pdf for free?

You can preview and download "CS502 Quiz-3 By Vu Topper RM.pdf" (CS502 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs502-quiz-3-by-vu-topper-rm-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS502 file?

This document covers Quizzes & Objective Exam Scope across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.

What is the passing criteria for CS502 under the VU 20% Two-Half Rule?

Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.

Are CS502 solved past papers and handouts verified for 2026 exams?

Yes. All CS502 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.

Inside this file

     CS502 Fundamentals Of Algorithms
     Update MCQS For Quiz-3 File
     Solve By Vu Topper RM
         80 To 100% Marks

For More Help Contact What’s app 03224021365

Equivalence relation partitions the vertices into _________ classes of
mutually reachable vertices and these are the strong components
  A. Variance
  B. Non classes
  C. Equivalence              Page 136
  D. Non equivalence

The ancestor and descendent relation can be nicely inferred by the
______________ lemma.
  A. Node
  B. Division
  C. Addition
  D. Parenthesis          Page 129

Networks are ________ in the sense that it is possible from any
location in the network to reach any other location in the digraph.
   A. Not graphs.
   B. Complete             Page 135
   C. Incomplete
   D. Transportation

In strong components algorithm, first of all DFS is run for getting
_______ times of vertices.
   A. Start          Page 138
   B. Finish
   C. Middle
   D. Both start & finish

Timestamp structure of __________ is used in determining the
strong components of a digraph.
   A. DFS          Google
   B. BFS
   C. MST
   D. Both DFS, BFS

   For More Help Contact What’s app 03224021365

In Timestamped DFS-cycles lemma, if edge (u, v) is a tree, forward
or cross edge, then _________
   A. f[u]>f[v]
   B. f[u]<f[v]
   C. f[u]⩽f[v]
   D. f[u]⩾f[v]

The component digraph is necessarily _____________.
  A. Cyclic
  B. Strong
  C. Acyclic         Page 136
  D. Straight

In computing the ____________ components of a digraph, vertices
of the digraph are partitioned into subsets.
   A. Best
   B. Worst
   C. Weakly connected
   D. Strongly connected             Page 135

There exist a unique path between any ________ vertices of a free
tree.
   A. One
   B. Two
   C. five
   D. three

The ________ given by DFS allow us to determine whether the
graph contains any cycles.
   A. Order
   B. Time stamps       Page 130
   C. BFS traversing
   D. Topological sort

Forward edge is:
  A. (u, v) where u is a proper descendent of v in the tree.
  B. (u, v) where v is a proper descendent of u in the tree.
     Page 129

   For More Help Contact What’s app 03224021365

  C. (u, v) where v is a proper ancesstor of u in the tree.
  D. (u, v) where u is a proper ancesstor of v in the tree.

Once you enter a strong component, every vertex in thecomponent is
_________.
  A. Removed
  B. Reachable           Page 137
  C. not reachable
  D. reachable some times

In Generic approach determining of Greedy MST, we maintain a
subset A of __________ .
   A. Paths
   B. Edges         Page 143
   C. Cycles
   D. Vertices

If you find yourself in maze the better traversel approach will be :
   A. DFS
   B. BFS
   C. Level order
   D. DFS

Computing the strongly connected components of a digraph is a/an
___________ of the problem to determine whether a digraph is
strongly connected or not.
   A. Size
   B. Connection
   C. Optimization
   D. Generalization         Page 135

A free tree with n _________ have exactly n-1 _________.
  A. vertices,edges        Page 142
  B. vertices,nodes
  C. nodes,vertices
  D. vertices,nodes

   For More Help Contact What’s app 03224021365

____________ components are not affected by reversal of all edges
in terms of vertices reachability.
   A. First two
   B. Last two
   C. Weakly connected
   D. Strongly connected           Page 139

Adding any edge to a free tree creates a unique ______ .
  A. Vertex
  B. Cycle          Page 142
  C. Edge
  D. Strong component

In computing the strongly connected components of a digraph,
vertices of the digraph are _______ into subsets.
   A. Joined
   B. Deleted
   C. Created
   D. Partitioned            Page 135

For _____________ graphs, there is no distinction between forward
and back edges.
  A. Large
  B. Medium
  C. Directed
  D. Undirected          Page 130

A topological sort of a DAG is a __________ ordering of the vertices
of the DAG such that for each edge (u, v), u appears before v in the
ordering.
   A. Linear           Page 134
   B. Parallel
   C. Sequence
   D. Non-Linea

By breaking any edge on a cycle created in free tree, the free
_________ is restored.
  A. Tree          Page 142

   For More Help Contact What’s app 03224021365

  B. Edge
  C. Cycle
  D. Vertex

Which technique is used in the implementation of Kruskal solution
for the MST?
   A. Greedy Technique            Page 142
   B. Divide-and-Conquer Technique
   C. Dynamic Programming Technique
   D. The algorithm combines more than one of the above techniques
      i.e. Divide-and-Conquer and Dynamic Programming

A strongly connected component only apply to:
  A. Directed Graph          Page 135
  B. Undirected Graph
  C. Breadth First Search
  D. Minimum Spanning Tree

The relationship between number of back edges and number of
cycles in DFS is,
  A. Both are equal
  B. Back edges are half of cycles
  C. Back edges are one quarter of cycles
  D. There is no relationship between no. of edges and cycles
     Page 131

Digraphs ________ in communication and transportation networks.
  A. are used            Page 135
  B. are not used
  C. parts are used
  D. final value is used

Back edge is:
  A. (u, v) where v is an ancestor of u in the tree.     Page 128
  B. (u,v) where u is an ancesstor of v in the tree.
  C. (u, v) where v is an predcessor of u in the tree.
  D. None of above

   For More Help Contact What’s app 03224021365

There are no ________ edges in undirected graph.
  A. Back
  B. Both
  C. Cross            Page 130
  D. Forward

In strong components algorithm, the form of graph is used in which
all the _________ of original graph G have been reversed in
direction.
    A. Edges         Page 138
    B. Trees
    C. Vertices
    D. Both edges & vertices

Which activity creates a unique cycle in a free tree:
 A. adding root
 B. adding any edge             Page 142
 C. adding any vertex
 D. adding any sub tree

You have an adjacency list for G, what is the time complexity to
compute Graph transpose G^T.?
  A. (V + E)        Page 138
  B. (V E)
  C. (V)
  D. (V^2)

The time complexity to compute Graph transpose G^T is (V+E), if

More CS502 files

All CS502 files · Midterm Prep 2026 · MCQs Bank