Data Structure CS301.pdf
Verified academic study resource for CS301 (Data Structures) under the Computer Science at Virtual University of Pakistan. This PDF 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
- 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 Data Structure CS301.pdf for free?
You can preview and download "Data Structure CS301.pdf" (CS301 PDF, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/data-structure-cs301-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 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
CS301
Mid Term Preparation
Short notes
CStudy With Amir
Lecture 1-22.
Q.1: Data Structure?
Ans: A data structure is a
1. Data organization
2. Data management
3. Data storage format
4. Collection of Data values relationship among them
Note: Data Security is not include Data Structure
Basic three things associated with data structure
1. Space for each data items stores
2. Time to perform each basic operation
3. Programming effort
Q.2: An Array ?
Ans: 1. Array is a special type.
2. Collection of data same type
3. Identical data types are store
4. Cells are contiguous
Note : Size Of Array : int x[6];
x[0],x[1],x[2],x[3],x[4],x[5]
First Address of Array start from “0”
Q.3: List ?
Ans: A list is the collection of items of same data type
Like : grocery items, integers, names
Most generic of data structure
Functions Detail
Sr Names Description
No
1 Start ( ) Moves the “current” pointer to the very first elements
2 Tail ( ) Moves the “ current” pointer to the very last elements
3 Next ( ) Move the current position forward one elements
4 Back ( ) Move the current position backward one element
5 createList ( Create New List
)
6 Copy Copy List
7 Clear ( ) Clear all elements of List
8 Get ( ) Get element of List
9 Length ( ) Return elements of list
Q.4: Double link List ?
Ans: 1. Difficult to move backward
2. Programmer uses two pointers in node ( one point to next and other
pint to previous
3. Both pointer ha NULL values
Q.5: Stack ?
Ans:
1. Stack is a collection of elements arranged in a linear order
2. Used LIFO ( Last in First Out ) strategy
3. Reverse a string value
Functions Details
Sr Names Descripition
No
1 Push (x) Insert x as the top elements of the stack
2 Pop ( ) Remove the top elements of the stack
3 Top ( ) Return the top elements without removing it
Q.6: Precedence of Operators ?
Ans: Five binary operators, called addition, subtraction, multiplication, division
and exponentiation .Difficult to understand and evaluate at first.
First exponentiation ↑
Multiplication/division *,/
Addition/subtraction +,-
Left to right: A+B+C means (A+B)+C
Right to left: A ↑ B ↑ C means A↑ ( B ↑ C)
Q.7: Queue ?
Ans: 1. Last item to be added
2. The first item to be remove
3. FIFO ( First In First Out ) strategy
Functions Details
Sr Names Descripition
No
1 Enqueue Place x
2 Dequeue Remove the front elements
3 Front ( ) Return front elements
4 IsEmpty ( ) Return TRUE and FALSE
Q.8 Difference Between BST And SBT ?
BST SBT
Binary search tree Strictly Binary Tree
Finite set of elements Non-leaf node
Partitioned into three disjoint subsets Non-empty left and right
Root of the tree
Left and right sub-trees
Q.9: AVL Tree is develop by?
Ans: Two persons ( Adelson- Velskii and Landis )
AVL identical of BST
AVL Tree conditions:
1. Any one node fulfills AVL condition
2. At least half of the nodes fulfills AVL condition
3. All the node fulfill the AVL condition
Q.10: First Element Address of Array ?
Ans: 1. The first element of memory address is called base address
2. first address is access through
Example: name of array [0]
Q.11: link List?
Ans: 1. Link lists
2. All elements are contiguous
3. All elements has the next to it
4. A node has two field Object, Next
5. Body we write Public and Private variables
Note : elements may locate at far positions are not include in link list
Q.12: linked list always has one NULL pointer?
Ans: True
Q.13: Which of the following strategy used by the Stack?
Ans: LIFO
Q.14: The binary operators ( +, - , / , * ) are evaluate in-----------------direction
?
Ans: Left- to- right
Q.15: What is the out of the following:
Input Opt 1 Opt 2 Value Stack
8 8
2 2
8
/
Ans: 4
Q.16: What is the size of following array?
Char str []= “abcd”;
Ans: 5
Q.17: Which of the following function is used to remove the item from queue?
Ans: dequeue
Q.18: AVL Tree is identical to -----------------?
Ans: Binary Search Tree
Q.19: The memory address of the first elements of an array is called ------------
-?
Ans: Base address
Q.20: What will be the result of arithmetic expression 6+27/3*3?
Ans: 9
Q.21: Which of the following function is used to get the length of list ?
Ans: length ( )
Q.22: The operation for adding an entry to a stack is traditionally called ?
Ans: Push
Q.23: ----------------- is the maximum number of nodes that you can have on a
stack-linked list?
Ans: Any Number
Q.24: What is the out of the following:
Input Opt 1 Opt 2 Value Stack
5 5
2 2
5
*
Ans: Ten
Q.25: In C, direction of expression evaluation is from -----------------?
Ans: left-to-right
Q.26: Doubly linked List always has one NULL pointer.?
Ans: False
Q.27: Which of the following strategy used by queue?
Ans: FIFO
Q.28:How many level of the below tree?
Ans: 3
Q.29: How many AVL Tree conditions?
Ans: 1.Any one node fulfills AVL condition
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)