CS301 Flile 2 Quiz#3 12July23 FINALS by MISS MEHWISH.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 compiled by Miss Mehwish) 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)
Compiled by
Miss Mehwish
Tags
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 Flile 2 Quiz#3 12July23 FINALS by MISS MEHWISH.pdf for free?

You can preview and download "CS301 Flile 2 Quiz#3 12July23 FINALS by MISS MEHWISH.pdf" (CS301 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs301-flile-2-quiz-3-12july23-finals-by-miss-mehwish-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 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

We also provide Past papers for Mids. and Finals
Cross Check your answers before submitting directly from the file. We are not
responsible for 100% correction as human error exists

Question 1: In which case of insertion do we require double rotation to make the AVL tree balanced?

Options:

1. Insertion into the right subtree of the right child of alpha.

2. To balance the AVL tree, double rotation is never required.

3. Insertion into the left subtree of the left child of alpha.

4. Insertion into the left subtree of the right child of alpha.

Correct option: 4. Insertion into the left subtree of the right child of alpha.

Question 2: Which of the following is a property of a binary tree?

Options:

1. A binary tree of N external nodes has N+1 internal nodes.

2. A binary tree of N external nodes has N internal nodes.

3. A binary tree of N internal nodes has N+1 external nodes.

4. A binary tree of N internal nodes has N-1 external nodes.

Correct option: 4. A binary tree of N internal nodes has N-1 external nodes.

Question 3: Which of the following is a property of an expression tree?

Options:

1. Binary search tree

2. Strictly binary tree

3. AVL tree

4. Heap

Correct option: None of the given.

Question 4: An expression tree will always be a/an

Options:

1. Binary search tree

2. Strictly binary tree

3. AVL tree

4. Heap

Correct option: None of the given.

Question 5: If there are N external nodes in a binary tree, then what will be the number of internal
nodes in this binary tree?

Options:

1. N-1

2. N+1

3. N+2

4. N

Correct option: N-1

Question 6: Consider a binary tree represented by the following array: 10, 7, 9, 5, 2, 1, 6, 3, 4. This is a
________.

Options:

1. Max heap

2. Threaded binary tree

3. Binary search tree

4. Min heap

Correct option: Binary search tree

Question 7: For the inorder traversal of a threaded binary tree, we introduce a dummy node. The left
pointer of the dummy node is pointing to the ________ node of the tree.

Options:

1. Rightmost

2. Any of the given node

3. Leftmost

4. Root

Correct option: Rightmost

Question 8: When a complete binary tree is represented by an array, if the right child is at position 5,
then the left child will be at position _____.

Options:

1. 2

2. 3

3. 4

4. 6

Correct option: 3

Question 9: To balance the following AVL tree, rotation is required on the node __________. (5(left) 7 8
10(mid) 12(right))

Options:

1. 5

2. 7

3. 8

4. 10

Correct option: 7

Question 10: We implement the heap by ______________.

Options:

1. AVL tree

2. Expression tree

3. Threaded tree

4. Complete binary tree

Correct option: Complete binary tree

More CS301 files

All CS301 files · Midterm Prep 2026 · MCQs Bank