CS301 Quiz 1 BY JUNAID.pdf

Verified academic study resource for CS301 (Data Structures) 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
CS301 – Data Structures
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 — CS301 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 CS301 Quiz 1 BY JUNAID.pdf for free?

You can preview and download "CS301 Quiz 1 BY JUNAID.pdf" (CS301 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs301-quiz-1-by-junaid-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS301 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 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

CS301 QUIZ-1 (lectures from 23 to 32)
                            JUNAID MALIK

      GURANTE MARKS:
        CONTACT ON:
         0304-1659294
        For More Visit:
  https://vulmshelp.com/

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
   a) Reflexivity
   b) Symmetry

AL-JUNAID INSTITUTE GROUP
    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
24. If the height of perfect binary tree is 4, what will be the total number of nodes in it?
      a. 15
      b. 16
      c. 31
      d. 32

AL-JUNAID INSTITUTE GROUP
25. Suppose there are set of fruits and the set of vegetables, both sets are _______ sets.
      a. Disjoint
      b. Subset
      c. Whole
      d. Equal
26. 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 Above
27. Heap can be used to implement
      a. Stack
      b. Linked list
      c. Queue
      d. Priority queue
28. If a tree has 20 edges/links, then the total number of nodes in the tree will be:

More CS301 files

All CS301 files · Midterm Prep 2026 · MCQs Bank