Fall 2022_CS301_2.doc
Verified academic study resource for CS301 (Data Structures) under the Computer Science at Virtual University of Pakistan. This DOC document (Verified Study Resource) covers Full Course Curriculum spanning approximately 280 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
- DOC
- Type
- Study Resource
- Coverage
- Full Course Curriculum
Review this document alongside the official handouts and test your retention in the Interactive MCQs Studio.
What this file covers — CS301 syllabus roadmap
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
- Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
- Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
- Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
- 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 Fall 2022_CS301_2.doc for free?
You can preview and download "Fall 2022_CS301_2.doc" (CS301 DOC, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/fall-2022-cs301-2-doc) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS301 file?
This document covers Full Course Curriculum 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
Assignment No. 2
Semester: Fall 2022
CS301 – Data Structures
Total Marks: 20
Due Date: 24/01/2023
Instructions
Please read the following instructions carefully before submitting the assignment solution:
It should be clear that your assignment will not get any credit/marks if:
• Assignment is submitted after due date.
• Submitted assignment does not open or file is corrupt.
• Assignment is copied (From internet/students).
Recommended Tools
• Dev C++
Assignment Submission Instructions
You have to submit only “.cpp” file of your code on the assignments interface from your LMS account.
Assignment submitted in any other format will not be accepted and will be scaled with zero marks. No excuse will be accepted on submitting solution file in any other format.
For any query related to assignment, please contact cs301@vu.edu.pk.
Problem Statement:
You are required to create a program using C++ programming language to implement binary search tree (BST).
Use the information given in the following table as data source.
10
8
12
4
11
15
6
17
7
9
16
You are required to build the binary search tree using the above data. Then search any number and check the following details.
Query
Possible Reply
Element found?
Yes/No
Is it leaf node?
Yes/No
Sibling of node found?
b is sibling or no sibling
Left child?
c is left child or no left child
Right child?
d is right child or no right child
Is node even or odd?
Odd/Even
Is prime?
Yes/No
Parent of node?
e is parent of node
Total external node?
Count of external nodes
Total internal nodes?
Count of internal nodes
Total internal links
Count of internal links
Total external links
Count of external links
Node: “b”, “c”, “d” and “e” are nodes which are associated with searched node.
Important Instructions:
You need to fulfill the following requirements while solving the assignment task.
1. For the construction of BST use only class, the use of struct will be considered an invalid solution.
2. Read the whole give data from left to right and save into BST (using 10 as root node).
Hint:
• The structure of classes which you need to create in the required program is given below.
Graphical Representation:
Sample Output:
Lectures Covered: Lecture # 16 - 27
Due Date: 24th January, 2023
More CS301 files
- CS301 Data base 2010 Objective 1 to 22 - Copy.pdf (PDF · Study Resource)
- CS301 Hashing.pdf (PDF · Study Resource)
- CS301 Practical Solurion1 By JUNAID.cpp (OTHER · Study Resource)
- CS301 Solurion 2 By JUNAID.docx (DOC · Study Resource)
- CS301 Solution 2 By JUNAID.cpp (OTHER · Study Resource)
- CS301 lab.docx (DOC · Study Resource)
- CS301-1.pdf (PDF · Study Resource)
- CS301_Highlighted_handouts_1_45 by VUAnswer.com.pdf (PDF · Study Resource)