CS502 Mcq's FinalTerm 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 (Final-Term Solved Past Paper & Examination Pack) covers Final-Term Exam Scope (Lectures 23 to 45) spanning approximately 320 pages across 4 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
- Type
- Final-Term
- Coverage
- Final-Term Exam Scope (Lectures 23 to 45)
- Tags
- MCQ, FINALTERM
Virtual University regulations strictly require achieving at least 20% marks in the Final-Term exam paper alone (typically 12+ marks out of 60) to pass CS502, regardless of midterm scores.
What this file covers — CS502 syllabus roadmap
- Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
- Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
- Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
- 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 Mcq's FinalTerm By Vu Topper RM.pdf for free?
You can preview and download "CS502 Mcq's FinalTerm By Vu Topper RM.pdf" (CS502 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs502-mcq-s-finalterm-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 Final-Term Exam Scope (Lectures 23 to 45) across 4 distinct lecture units (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
CS-502 Fundamental Of Algorithms
Update MCQS For Final Term
Solve By Vu Topper RM
85% To 100% Marks
For More Help Contact What’s app 03224021365
Question No:1 (Marks:1) Vu-Topper RM
______________ Algorithm allows negative weights edges and no
negative cost cycles.
A. Brute-force technique
B. Bellman-Ford Page 159
C. Dijkstra’s
D. Print
Question No:2 (Marks:1) Vu-Topper RM
In Prim's algorithm, we start with the _______ vertex r; it can be any
vertex.
A. Root Page 149
B. Pivot
C. Leaf
D. Negative
Question No:3 (Marks:1) Vu-Topper RM
Overall Running time of Prim's algorithm is _______.
A. Θ(ElogE)
B. Θ(ElogV)
C. Θ((V+E)logV) Page 152
D. Θ((V+E)logE)
Question No:4 (Marks:1) Vu-Topper RM
Problems such as the shortest route between cities can be solved
efficiently by modeling the road map as a______________.
A. Tree
B. Stack
C. Graph Google
D. Linked list
Question No:5 (Marks:1) Vu-Topper RM
In Kruskal's algorithm, the next edge is added to viable set A, if its
adding does not induce a/an __________ .
A. Tree
B. Edge
C. Cycle Page 147
For More Help Contact What’s app 03224021365
D. Vertex
Question No:6 (Marks:1) Vu-Topper RM
Bellman-Ford algorithm is used to solve ____________ problems.
A. Flow of networking
B. All pair shortest path
C. Single source shortest path Google
D. Double source shortest path
Question No:7 (Marks:1) Vu-Topper RM
In Prim's algorithm, If the color of a vertex is __________,then it is
in S otherwise not.
A. Blue
B. Gray
C. Black Page 151
D. White
Question No:8 (Marks:1) Vu-Topper RM
Keeping in mind the shortest-path, if given scenarios occur in
computer networks like the internet where data packets have to be
routed. The vertices are_________and Edges are
_____________which may be wired or wireless.
A. Internet, routers
B. Routers, internet
C. Communication links, routers
D. Routers, communication links Page 153
Question No:9 (Marks:1) Vu-Topper RM
Dijkstra’s algorithm :
A. Has greedy approach to find all shortest paths
B. Has both greedy and Dynamic approach to find all shortest
paths
C. Has greedy approach to compute single source shortest
paths to all other vertices Page 154
D. Has both greedy and dynamic approach to compute single
source shortest paths to all other vertices.
For More Help Contact What’s app 03224021365
Question No:10 (Marks:1) Vu-Topper RM
In Dijkstra’s algorithm, initially the estimated value from source
vertex to any vertex v is:
A. One (1)
B. Zero (0)
C. Infinity (∞) Page 154
D. Minus one (-1)
Question No:11 (Marks:1) Vu-Topper RM
From the given option’s which one is correct regarding the time
complexity of Dijkstra’s algorithm:
A. O(N)
B. O(N^2) Google
C. O(N^3)
D. O(log N)
Question No:12 (Marks:1) Vu-Topper RM
In Bellman-Ford Algorithm, relaxation applies to ____________ of
the graph.
A. Every edge Page 159
B. Every Vertices
C. Only First edge
D. Only First Vertices
Question No:13 (Marks:1) Vu-Topper RM
The key[u] is the weight of the __________ going from u to any
vertex in S.
A. Edge
B. lighter edge
C. lightest edge Page 151
D. heavier edge
Question No:14 (Marks:1) Vu-Topper RM
In Bellman-Ford Algorithm, path consists of at most _________
edges.
A. V-1 Page 160
B. E+1
For More Help Contact What’s app 03224021365
C. V+1
D. E-1
Question No:15 (Marks:1) Vu-Topper RM
Overall time for Kruskal algorithm is:
A. Θ(logE)
B. Θ(VlogE)
C. Θ(ElogV) Page 149
D. Θ(ElogE)
Question No:16 (Marks:1) Vu-Topper RM
A graph may contain ------------------------.
A. No MST
B. One or zero MST
C. Exactly one MST
D. More than one MST Google
Question No:17 (Marks:1) Vu-Topper RM
In which algorithm, information of shortest path is propagated
sequentially along each shortest path in the graph.
A. Prim’s
B. Dijkstra’s
C. Bellman-Ford Page 16
D. Brute-force technique
Question No:18 (Marks:1) Vu-Topper RM
Edge weights can be interpreted as distance _________.
A. in breadth-First Search
B. in Queue's
C. in the shortest-paths Page 153
D. in depth-First Search
Question No:19 (Marks:1) Vu-Topper RM
In the shortest-paths problem, we are given a weighted
of___________G = (V, E).
A. Line graph
B. Directed graph Page 153
For More Help Contact What’s app 03224021365
C. Weighted graph
D. Un-directed graph
Question No:20 (Marks:1) Vu-Topper RM
Kruskal's algorithm (choose best non-cycle edge) is better than
Prim's (choose best tree edge) when the __________ has relatively
few __________.
A. tree, edges
B. graph, edges Google
C. tree, branches
D. graph, branches
Question No:21 (Marks:1) Vu-Topper RM
From given algorithms which one considered as best for finding the
shortest-path:
A. BFS
B. DFS
C. Dijkstra's algorithm Page 154
D. Bellman-Ford algorithm
Question No:22 (Marks:1) Vu-Topper RM
Finding the faster result of the shortest path from u to v for every pair
of vertices u and v we use__________.
A. both I and II
B. All-pairs shortest-paths problem Page 153
C. Two-pairs shortest-paths problem
D. Single-pairs shortest-paths problem
Question No:23 (Marks:1) Vu-Topper RMMore CS502 files
- All Subjects Mid & Final 25000 Pdf Files.pdf (PDF · Final-Term)
- CS502 - FINAL TERMA SUBJECTIVE SOLVED WITH REFERENCE.doc (DOC · Final-Term)
- CS502 - Final term solved Mcqs with references by Moaaz.doc (DOC · Final-Term)
- CS502 - Final term solved Mcqs with references by Moaaz.pdf (PDF · Final-Term)
- CS502 - Final term solved Subjective with references by Moaa (DOC · Final-Term)
- CS502 - Final term solved Subjective with references by Moaa (PDF · Final-Term)
- CS502 FINAL SEP.pdf (PDF · Final-Term)
- CS502 FINAL TERM CURRENT PAPER 2022 SOLVED BY PRNCE ALVI.pdf (PDF · Final-Term)