CS301 Solved MCQs Final Term By JUNAID.pdf

Verified academic study resource for CS301 (Data Structures) 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
CS301 – Data Structures
Faculty
Computer Science
Format
PDF
Type
Final-Term
Coverage
Final-Term Exam Scope (Lectures 23 to 45)
Tags
MCQ, SOLVED, 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 CS301, regardless of midterm scores.

What this file covers — CS301 syllabus roadmap

  1. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  2. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  3. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  4. 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 CS301 Solved MCQs Final Term By JUNAID.pdf for free?

You can preview and download "CS301 Solved MCQs Final Term By JUNAID.pdf" (CS301 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs301-solved-mcqs-final-term-by-junaid-pdf-3) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS301 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 CS301 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 CS301 solved past papers and handouts verified for 2026 exams?

Yes. All CS301 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

AL-JUNAID INSTITUTE GROUP
         CS301-Data Structure
   Solved MCQS for Final terms papers
   Solved by JUNAID MALIK and Team

AL-JUNAID INSTITUTE GROUP

1) If there are 100 elements in a heap and 100 delete Min operation are performed, will get
   _____list
        a. Sorted
        b. Unsorted
        c. Nonlinear
        d. Noe
2) Sorting procedure normally takes ____times
   a) NLogN
   b) 2N
   c) N*N*N
   d) N
3) The expression if(!heap-> is empty ())
   Checks
   a) Heap is empty
   b) Heap is full
   c) Heap is not empty
4) If the height of a perfect binary tree is 4.What will be the total number of nodes in it?
   a) 15
   b) 16
   c) 31
   d) 32
5) A binary relation R over S is called an equivalence relation if it has following property(S)?
   a) Reflexivity
   b) Symmetry
   c) Transitivity
   d) All of the given
6) If a tree has 20 edges/links, then the total number of nodes in the tree will be:
   a) 19
   b) 20
   c) 21
   d) Cannot be determined
7) For a perfect binary tree of height 4, what will be the sum of highest of node
     a) 31
     b) 30
     c) 27
     d) 26
8) If Ahmed is cousin of Ali and Ali is cousin of Asad then Ahmed is also cousin of Asad.
   This statement has the following property
     a) Reflexivity
     b) Symmetry
     c) Transitivity
     d) All of the above
9) Which property of equivalence relation is satisfied if we say:
   Ahmad is cousin of Ali and Ali is also cousin of Ahmed

AL-JUNAID INSTITUTE GROUP
    a) Reflexivity
    b) Symmetry
    c) Transitivity
    d) All of the given
10) Which one of the following is NOT the property of equivalence relation?
      a) Reflexive
      b) Symmetric
      c) Transitive
      d) Associative
11) The main reason of using heap in priority queue is
      a) Improve performance
      b) Code readable
      c) Less code
      d) Heap can’t be used in priority queues
12) The total number of nodes on 10th level of perfect binary tree are
      a) 256
      b) 512
      c) 1024
      d) Can’t be determined
13) Suppose there are 100 elements in an equivalence class, so initially there will be 100 trees,
    the collection of these trees is called ___________.
      a) Cluster
      b) Class
      c) Forest
      d) Bunch
14) The percolate Down procedure will move the smaller value ____ and bigger value ____.
      a) Left, right
      b) Right, left
      c) Down, up
      d) Up, down
15) For a perfect binary tree of height h, having N nodes, the Sum of height of nodes is _____
      a) N - h -1
      b) N - 1
      c) N - 1 + h
      d) N - (h - 1)
16) Which of the following method is helpful in creating the heap at once?

AL-JUNAID INSTITUTE GROUP
                a. Insert
                b. Add
                c. Update
                d. percolateDown
    10.      If ahmad is boss of Ahsan and ehsan is boss of umer then ahmad is also boss
        of umer, the above mentioned relation is _______.
                a. Reflexive
                b. Symmetry
                c. Transitive
                d. None of given
    11.      If we want to find 3rd minimum element from an array of element, then after
        applying build heap method. How many times deleteMin method will be called?
                a. 1
                b. 2
                c. 3
                d. 4
    12.      If we want to find median of 50 elements, then after applying builtHeap
        method, how many time deleteMin method will be called?
                a. 5
                b. 25
                c. 35
                d. 50
    13.      Which of the following properties are satisfied by equivalence relationship?
                a. Reflexive, symmetric
                b. Reflexive, transitive
                c. Symmetric, transitive
                d. Reflexive, symmetric and transitive
    14.      Sorting procedure normally takes ________ time.
                a. NlogN
                b. 2N
                c. N*N*N
                d. N
    15.      The Expression
if ( ! heap->isFull()
) Check
                a. Heap is empty
                b. Heap is full
                c. Heap is not empty
                d. Heap is not full
    16.      The Expression
if ( ! heap->isEmpty() )
Check
                a. Heap is empty
                b. Heap is full
                c. Heap is not empty
                d. Not a valid expression

AL-JUNAID INSTITUTE GROUP
   17.       Given the values are the array representation of heap:
12 23 26 31 34 44 56 64 78 100
If we perform 4 deleteMin operation, the last element deleted is _______.
                a. 31
                b. 34
                c. 44
                d. 56
   18.       Which of the following heap method increase the value if key at position ‘p’ by
       the amount ‘delta’?
                a. increaseKey(p, delta)
                b. decreaseKey(p, delta)
                c. percolateDown(p, delta)
                d. remove(p, delta)
   19.       Which of the following heap method lowers the value if key at position ‘p’ by
       the amount ‘delta’?
                a. increaseKey(p, delta)
                b. decreaseKey(p, delta)
                c. percolateDown(p, delta)
                d. remove(p, delta)
   20.       Which property of equivalence relation is
       satisfied if we say: Ahmad R(is related to)Ahmad
                a. Reflexivity
                b. Symmetry
                c. Transitivity
                d. All of Above
   21.       The total number of nodes on 5th level of perfect binary tree are:
                a. 16
                b. 15
                c. 31
                d. 32
   22. Which property of equivalence relation is satisfied if we
       say: Ahmad is cousin of Ali and Ali is also Cousin of
       Ahmad
                a. Reflexivity
                b. Symmetry
                c. Transitivity
                d. All of the Above
   23.       If a tree has 50 nodes , then the total edges/links in the tree will be
                a. 55
                b. 51
                c. 50
                d. 49

More CS301 files

All CS301 files · Midterm Prep 2026 · MCQs Bank