CS502 Quiz-2 File 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
- 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
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
- 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 Quiz-2 File By Vu Topper RM.pdf for free?
You can preview and download "CS502 Quiz-2 File By Vu Topper RM.pdf" (CS502 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs502-quiz-2-file-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
CS-502 Fundamentals Of Algorithms
Update MCQS For Quiz-2 File
Solve By Vu Topper RM
85% To 100% Marks
For More Help Contact What’s app 03224021365
Heap sort is a/an _______ and ________ sorting algorithm.
A. Not in-place, not stable one
B. In-place, not stable one
C. Not in-place, stable one
D. In-place, stable one
In Bucket sort, if there are duplicates then each bin can be replaced by a
__________.
A. Hash table
B. Heap
C. Stack
D. Linked list
If there are duplicates in __________ sort, then each bin can be
replaced by a linked list.
A. Heap
B. Merge
C. Bucket
D. Quick
A sorting algorithm is called as ________ if duplicate elements remain
in the same relative position after sorting.
A. O(n) algorithm
B. Complex
C. Parallel
D. Stable
The average case running time of quick sort algorithm is theta
_________.
A. n x n log(n)
B. Log(n)
C. nlog(n)
D. (n)
Quick sort algorithm required a lot of comparisons in the
____________ condition.
A. Worst case
B. Best and Average case
C. Average case
D. Best case
Memoization is a part of ________ programming strategy.
A. dynamic
B. fast
C. memory
D. slow
For More Help Contact What’s app 03224021365
____________ programming is essentially recursion without repetition.
A. array
B. Dynamic
C. N log n
D. fast
In ____________, the size of recursive calls is totally depending on
how pivot is chosen.
A. Quick sort
B. Merge sort
C. Insert sort
D. Bubble sort
The main shortcoming of counting sort is that it is useful
for__________.
A. large integers
B. large real numbers
C. small real numbers
D. small integers
Comparison-based sorting algorithms always takes ____________ time.
A. Theta nlog(n)
B. Omega n(n^2)
C. Big Oh nlog(n)
D. Omega nlog(n)
Quick sort does not require any additional array for storage except for
recursive function calls is called __________.
A. In-Place
B. Stable
C. Not In-Place
D. Unsorted
While solving Selection problem, in Sieve technique we choose pivot
___________
A. Minimum element
B. Randomly
C. Average element
D. Maximum element
While applying the sieve technique, ___________ subarray will contain
all elements that are greater than pivot element x.
A. A[q+1....n]
B. A[1....n]
C. A[1....q-1]
For More Help Contact What’s app 03224021365
D. A[q]
The total running time for Selection algorithm is ___________ in n.
A. Exponential
B. Geometric
C. Quadratic
D. Linear
What is the worst-case time of a quick sort which happens rarely?
A. O(log n)
B. O(n log n)
C. O(n2)
D. O(n)
While applying the sieve technique, ___________ subarray will contain
all elements that are less than pivot element x.
A. A[q+1....n]
B. A[1....q-1]
C. A[1....n]
D. A[q]
A Principal operation for maintaining the heap property is called
heapify, it is also called:
A. Sifting Up
B. Sifting left
C. Sifting right
D. Sifting down Page 43
After partitioning array in Quick sort, pivot is placed in a position such
that
A. Values larger than pivot are on left and smaller than pivot are on
right
B. Pivot is the first element of array
C. Pivot is the last element of array
D. Values smaller than pivot are on left and larger than pivot are
on right Page 35
Sieve technique is a special case of ___________ strategy.
A. Greedy approach
B. Graph
C. Divide-and-Conquer
D. Dynamic programming
Selection sort takes theta __________ in the worst case.
A. (n)
B. (n^2)
For More Help Contact What’s app 03224021365
C. nlog(n)
D. n(logn)
Array divided into _____ subarrays while applying sieve technique to
selection problem.
A. 1
B. 2
C. 3
D. 4
If input “n” is odd, then median will be _________
A. n/2
B. n+2
C. (n-1)/2
D. (n+1)/2 Page 34
Quick sort is based on ____________ strategy.
A. Graph Theory
B. Greedy approach
C. Divide-and-Conquer
D. Dynamic programming
_________ is one of the few problems, where provable lower bounds
exist on how fast we can sort.
A. Sorting Page 39
B. Graphing
C. Searching
D. Both Searching & Sorting
In Quick sort algorithm, the subarray ______________ has elements
which are less than pivot element x.
A. A[q]
B. A[p....r]
C. A[q+1....r]
D. A[p....q-1]
In ___________ sorting algorithm, we just need to swap positions of
data during the Partitioning function.
A. Merge sort
B. Counting sort
C. Radix sort
D. Quick sort
Question No: 01 (Marks:1) Vu-Topper RM
There are __________ entries in the Edit Distance Matrix.
A. ϴ (n)
For More Help Contact What’s app 03224021365
B. ϴ (n2) Page 84 ok
C. ϴ (n+2)
D. ϴ (n + 100)
Question No: 02 (Marks:1) Vu-Topper RM
For average-case time analysis of quick sort algorithm, pivot selection
is on average basis from _________.
A. All possible random values Page 50 ok
B. Pivot is input separately
C. half of the input values
D. Values greater than 5
Question No: 03 (Marks:1) Vu-Topper RM
As per algorithm of dynamic programing, we need to store the result(s)
of __________.
A. First sub-problem only
B. Best solution only
C. Intermediate sub-problems Page 75 ok
D. Final solution only
Question No: 04 (Marks:1) Vu-Topper RM
In chain matrix multiplication, table is filled ______ to find the
multiplication of matrix.
A. row wise
B. column wise
C. diagonally
D. bottom-to-up Page 86
Question No: 05 (Marks:1) Vu-Topper RM
The only way to convert a string of i characters into the empty string is
with i deletions, represented as _____________.
A. E(0.j) =j
B. E(i.j) = 1
C. E(0.i) = j
D. E (i.0)=I Page 78 ok
Question No: 06 (Marks:1) Vu-Topper RMMore CS502 files
- CS 502 QUIZ 3 SOLVED BY Sidhu Pak.pdf (PDF · Quiz)
- CS 502 Quiz 2 5-Dec-2023 Sufyan JUTT.pdf (PDF · Quiz)
- CS502 GRAND QUIZ BY JUNAID.pdf (PDF · Quiz)
- CS502 GRAND QUIZ BY JUNAID.pdf (PDF · Quiz)
- CS502 GRAND QUIZ BY JUNAID.pdf (PDF · Quiz)
- CS502 GRAND QUIZ SOLVED (www.VUAnswer.com).pdf (PDF · Quiz)
- CS502 Grand Quiz 2020 (www.vuanswer.com).pdf (PDF · Quiz)
- CS502 Grand Quiz 2020 (www.vuanswer.com).pdf (PDF · Quiz)