CS502 Grand Quiz 2020 (www.vuanswer.com).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 compiled by VUAnswer) 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
Compiled by
VUAnswer
Tags
GRAND-QUIZ

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 Grand Quiz 2020 (www.vuanswer.com).pdf for free?

You can preview and download "CS502 Grand Quiz 2020 (www.vuanswer.com).pdf" (CS502 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs502-grand-quiz-2020-www-vuanswer-com-pdf-2) 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

              VISIT ANY MORE SOLUTIONS
                          vuanswer.com
                    CS502 GRAND QUIZ SOLVED
                     Prepared by VUAnswer.com

1. The sequence of merge sort algorithm is:
     a. Divide Combine-Conquer
     b. Conquer-Divide-Combine
     c. Divide-Conquer-Combine         Page 27
     d. Combine-Divide-Conquer

2. In         Knapsack Problem, limitation is that an item can either be put
   in the bag or not. Fractional items are not allowed.
       a. 0
       b. 1
       c. 0/1                                    Page 91
       d. Fractional

3. In Selection algorithm, we assume pivot selection takes theta
                                                                     runnin
   g time.
       a. n                              Page - 36
      b. n2
      c. n3
      d. log (n)

4. In Heap Sort algorithm (using max heap), when every time maximum

              SUBSCRIBE OUR CHANNEL
https://www.youtube.com/channel/UCvFS8fAv4bvZsOmWu
                       WMIg3Q
                   JOIN WHATSAPP GROUP
   https://chat.whatsapp.com/CbEPu7qfeNV8v0dZd5yT8J

            VISIT ANY MORE SOLUTIONS
                          vuanswer.com
   elements removed from top     .
      a. We call merge Sort Algorithm
      b. it becomes Order n2 Algorithm
      c. Divide and Conquer strategy helps us
      d. We are left with a hole             Page – 41

5. If matrix A of dimension p x q is multiply with matrix B of
   dimension q x r, then each entry in resultant matrix takes
                                                         time.
       a. O (q)                                  Page - 84
       b. O (1)
       c. O (p x q)
       d. O (q x r)

            SUBSCRIBE OUR CHANNEL
https://www.youtube.com/channel/UCvFS8fAv4bvZsOmWu
                       WMIg3Q
                JOIN WHATSAPP GROUP
   https://chat.whatsapp.com/CbEPu7qfeNV8v0dZd5yT8J

            VISIT ANY MORE SOLUTIONS
                              vuanswer.com
6. _          is a method of solving a problem in which we check all
   possible solutions to the problem to find the solution we need.
     a. Plane-Sweep Algorithm
     b. Sorting Algorithm
     c. Brute-Force Algorithm                   google
     d. Greedy approach
7. The worst case running time of Quick sort algorithm _.
     a. Cannot be quadratic
     b. Is quadratic google QuickSort and its Analysis (codesdope.com) &
         http://personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/Sorting/quickSort.h
         tm
        c. ls always Exponential
        d. Is linear
8. In max heap (for Heap Sort algorithm), when every time maximum
    element is removed from top we replace it with leaf in the tree.
        a. second last
        b. Last                                 Page -41
        c. First
        d. Any
9. Quick sort algorithm was developed by -
        a. AlferdAho
        b. Sedgewick
        c. John Vincent Atanasoff
        d. Tony Hoare                           – Google wikipedia
10. If Matrix-A has dimensions "3x2" and Matrix-B has dimensions "2x3",
    then multiplication of Matrix-A and Matrix-B will result a new Matrix-C
    having dimensions.

            SUBSCRIBE OUR CHANNEL
https://www.youtube.com/channel/UCvFS8fAv4bvZsOmWu
                       WMIg3Q
                 JOIN WHATSAPP GROUP
   https://chat.whatsapp.com/CbEPu7qfeNV8v0dZd5yT8J

             VISIT ANY MORE SOLUTIONS
                             vuanswer.com
        a. 3x2
        b. 2x3
        c. 2x2
        d. 3x3          http://www.calcul.com/show/calculator/matrix-multiplication
11. For comparison-based sorting algorithms, it is possible to sort more
    efficiently than Omega n log(n) time.
        a. Always
        b. Not                                    P-54
        c. Sometimes

             SUBSCRIBE OUR CHANNEL
https://www.youtube.com/channel/UCvFS8fAv4bvZsOmWu
                       WMIg3Q
                  JOIN WHATSAPP GROUP
   https://chat.whatsapp.com/CbEPu7qfeNV8v0dZd5yT8J

             VISIT ANY MORE SOLUTIONS
                              vuanswer.com
       d. Sometimes not
12. Dynamic Programming approach is usually useful in solving
    optimization problems.
       a. True             https://en.wikipedia.org/wiki/Dynamic_programming &
          http://web.mit.edu/15.053/www/AMP-Chapter-11.pdf
       b. False
13. In Sorting the key value or attribute    from an ordered domain.
       a. Must be              page 39
       b. Not always
       c. May be
       d. Occasionally
14. Result of asymptotical analysis of n(n -3) and 4n*n is that _
       a. n(n-1) is asymptotically Less
       b. n(n-1) is asymptotically Greater
       c. Both are asymptotically Not equivalent
       d. Both are asymptotically Equivalent            page 23 (4n*n= 4n2)
15. Floor and ceiling are       to calculate while analyzing algorithms
       a. Very easy
       b. Usually considered difficult            P-31
       c. 3rd Option is missing
       d. 4th Option is missing
16. _      of reference is an important fact of current processor technology.
       a. Defining
       b. Assigning
       c. Formality
       d. Locality                         P-8

             SUBSCRIBE OUR CHANNEL
https://www.youtube.com/channel/UCvFS8fAv4bvZsOmWu
                       WMIg3Q
                  JOIN WHATSAPP GROUP
   https://chat.whatsapp.com/CbEPu7qfeNV8v0dZd5yT8J

            VISIT ANY MORE SOLUTIONS
                          vuanswer.com
17. In max-heap, largest element is stored at root node. Where is the
    smallest element stored?
       a. Right Node
       b. Leaf Node
       c. Middle Node
       d. Left Node

           SUBSCRIBE OUR CHANNEL
https://www.youtube.com/channel/UCvFS8fAv4bvZsOmWu
                       WMIg3Q
                JOIN WHATSAPP GROUP
   https://chat.whatsapp.com/CbEPu7qfeNV8v0dZd5yT8J

            VISIT ANY MORE SOLUTIONS
                           vuanswer.com
18. In average-case time analysis of Quick sort algorithm, the most
    balanced case for partition is when we divide the list of elements into
    _.

More CS502 files

All CS502 files · Midterm Prep 2026 · MCQs Bank