CS301_Quiz1_Solution_by_Meer.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
Study Resource
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_Quiz1_Solution_by_Meer.pdf for free?

You can preview and download "CS301_Quiz1_Solution_by_Meer.pdf" (CS301 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs301-quiz1-solution-by-meer-pdf-2) 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

                  VISIT ANY MORE FREELY SOLUTIONS

                         VU Helping Group by Meer

                                                      CS301
                                                  Quiz No 1
                                            SOLUTION 2022
Provide by VU by Meer
                                           Data Structures (CS301)
                                                    Quiz No. 1

1. 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

2. If Ahmed is cousin of Ali and Ali is cousin of Asad then Ahmed is also cousin of Asad.

Thisstatement has the following property

a) Reflexivity

b) Symmetry

c) Transitivity

d) All of the above

3. Which one of the following is NOT the property of equivalence relation?

a) Reflexive

b) Symmetric

c) Transitive

d) Associative

                               JOIN WHATSAPP GROUP
    https://chat.whatsapp.com/HBiOeQfEQuYGpg7WAkMq0I

                  VISIT ANY MORE FREELY SOLUTIONS

                           VU Helping Group by Meer
4. 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

5. The total number of nodes on 10th level of perfect binary tree are

a) 256

b) 512

c) 1024

d) Can’t be determined

6. 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

7. The percolate Down procedure will move the smaller value and bigger value.

a) Left, right

b) Right, left

c) Down, up

d) Up, down

8. 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)

                                 JOIN WHATSAPP GROUP
    https://chat.whatsapp.com/HBiOeQfEQuYGpg7WAkMq0I

                   VISIT ANY MORE FREELY SOLUTIONS

                         VU Helping Group by Meer
10. Which of the following method is helpful in creating the heap at once?

a) Insert

b) Add

c) Update

d) percolateDown

11. If ahmad is boss of ehsan and ehsan is boss of umer then ahmad is also boss of

umer, theabove-mentioned relation is .

    a)      Reflexive

    b) Symmetry

    c) Transitive

    d) None of given

    12. If we want to find median of 50 elements, then after applying builtHeap method, how

    manytime 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

                               JOIN WHATSAPP GROUP
    https://chat.whatsapp.com/HBiOeQfEQuYGpg7WAkMq0I

             VISIT ANY MORE FREELY SOLUTIONS

                      VU Helping Group by Meer
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

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)

                            JOIN WHATSAPP GROUP
https://chat.whatsapp.com/HBiOeQfEQuYGpg7WAkMq0I

               VISIT ANY MORE FREELY SOLUTIONS

                        VU Helping Group by Meer
  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. Given the values are the array representation of heap;12 23 26 31 34 44 56 64 78

  100

  What is the 5th smallest element in the given heap?

  a) 31

  b) 34

  c) 44

  d) 56

                                     REGARD Meerbaz
If you have any Question or Problem, Feel free to Contact:
                             WHATSAPP +923146325440

                             JOIN WHATSAPP GROUP
 https://chat.whatsapp.com/HBiOeQfEQuYGpg7WAkMq0I

          VISIT ANY MORE FREELY SOLUTIONS

              VU Helping Group by Meer

PLEASE NOTE:
If you found any mistake in quiz correct on it.
Get more solved quizzes, assignment, past paper and vu
Solutions free to Join our What’sapp Group VU Helping Group.
For help and suggestions contact us freely.

FREE TO GET MORE ASSIGNMENTS SOLUTION Join
                 our Group

                      VU Helping Group by Meer

                  JOIN WHATSAPP GROUP
  https://chat.whatsapp.com/HBiOeQfEQuYGpg7WAkMq0I

More CS301 files

All CS301 files · Midterm Prep 2026 · MCQs Bank