CS301 FINAL TERM SOLVED PAPER MEGA FILE.doc
Verified academic study resource for CS301 (Data Structures) under the Computer Science at Virtual University of Pakistan. This DOC document (Final-Term Solved Past Paper & Examination Pack) 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
- DOC
- Type
- Final-Term
- Coverage
- Final-Term Exam Scope (Lectures 23 to 45)
- Tags
- SOLVED, 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
- 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 CS301 FINAL TERM SOLVED PAPER MEGA FILE.doc for free?
You can preview and download "CS301 FINAL TERM SOLVED PAPER MEGA FILE.doc" (CS301 DOC, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs301-final-term-solved-paper-mega-file-doc-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 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
FINALTERM EXAMINATION
Spring 2010
CS301- Data Structures
Time: 90 min
Marks: 58
Question No: 1 ( Marks: 1 ) - Please choose one
A solution is said to be efficient if it solves the problem within its resource constraints i.e. hardware and time.
► True
► False
Question No: 2 ( Marks: 1 ) - Please choose one
Which one of the following is known as "Last-In, First-Out" or LIFO Data Structure?
► Linked List
► Stack
► Queue
► Tree
Question No: 3 ( Marks: 1 ) - Please choose one
What will be postfix expression of the following infix expression?
Infix Expression : a+b*c-d
► ab+c*d-
► abc*+d-
► abc+*d-
► abcd+*-
Question No: 4 ( Marks: 1 ) - Please choose one
For compiler a postfix expression is easier to evaluate than infix expression?
► True
► False
Question No: 5 ( Marks: 1 ) - Please choose one
Consider the following pseudo code
declare a stack of characters
while ( there are more characters in the word to read )
{
read a character
push the character on the stack
}
while ( the stack is not empty )
{
pop a character off the stack
write the character to the screen
}
What is written to the screen for the input "apples"?
► selpa
► selppa
► apples
► aaappppplleess
Question No: 6 ( Marks: 1 ) - Please choose one
Consider the following function:
void test_a(int n)
{
cout << n << " ";
if (n>0)
test_a(n-2);
}
What is printed by the call test_a(4)?
► 4 2
► 0 2 4
► 0 2
► 2 4
Question No: 7 ( Marks: 1 ) - Please choose one
If there are N external nodes in a binary tree then what will be the no. of internal nodes in this binary tree?
► N -1
► N+1
► N+2
► N
Question No: 8 ( Marks: 1 ) - Please choose one
If there are N internal nodes in a binary tree then what will be the no. of external nodes in this binary tree?
► N -1
► N
► N +1
► N +2
Question No: 9 ( Marks: 1 ) - Please choose one
If we have 1000 sets each containing a single different person. Which of the following relation will be true on each set:
► Reflexive
► Symmetric
► Transitive
► Associative
Question No: 10 ( Marks: 1 ) - Please choose one
Which one of the following is NOT the property of equivalence relation:
► Reflexive
► Symmetric
► Transitive
► Associative
Question No: 11 ( Marks: 1 ) - Please choose one
A binary tree of N nodes has _______.
► Log10 N levels
► Log2 N levels
► N / 2 levels
► N x 2 levels
Question No: 12 ( Marks: 1 ) - Please choose one
The easiest case of deleting a node from BST is the case in which the node to be deleted ___________.
► Is a leaf node
► Has left subtree only
► Has right subtree only
► Has both left and right subtree
Question No: 13 ( Marks: 1 ) - Please choose one
If there are N elements in an array then the number of maximum steps needed to find an element using Binary Search is _______ .
► N
► N2
► Nlog2N
► log2N
Question No: 14 ( Marks: 1 ) - Please choose one
Merge sort and quick sort both fall into the same category of sorting algorithms. What is this category?
► O(nlogn) sorts
► Interchange sort
► Average time is quadratic
► None of the given options.
Question No: 15 ( Marks: 1 ) - Please choose one
If one pointer of the node in a binary tree is NULL then it will be a/an _______ .
► External node
► Root node
► Inner node
► Leaf node
Question No: 16 ( Marks: 1 ) - Please choose one
We convert the ________ pointers of binary to threads in threaded binary tree.
► Left
► Right
► NULL
► None of the given options
Question No: 17 ( Marks: 1 ) - Please choose one
If the bottom level of a binary tree is NOT completely filled, depicts that the tree is NOT a ► Expression tree
► Threaded binary tree
► complete Binary tree
► Perfectly complete Binary tree
Question No: 18 ( Marks: 1 ) - Please choose one
What is the best definition of a collision in a hash table?
► Two entries are identical except for their keys.
► Two entries with different data have the exact same key
► Two entries with different keys have the same exact hash value.
►Two entries with the exact same key have different hash values.
Question No: 19 ( Marks: 1 ) - Please choose one
Suppose that a selection sort of 100 items has completed 42 iterations of the main loop. How many items are now guaranteed to be in their final spot (never to be moved again
► 21
► 41
► 42
► 43
Question No: 20 ( Marks: 1 ) - Please choose on
Suppose you implement a Min heap (with the smallest element on top) in an array. Consider the different arrays below; determine the one that cannot possibly be a heap:
► 16, 18, 20, 22, 24, 28, 30
► 16, 20, 18, 24, 22, 30, 28
► 16, 24, 18, 28, 30, 20, 22
► 16, 24, 20, 30, 28, 18, 22
Question No: 21 ( Marks: 1 ) - Please choose one
Do you see any problem in the code of nextInOrder below:
TreeNode * nextInorder(TreeNode * p)
{
if(p->RTH == thread)
return( p->R );
else {
p = p->R;
while(p->LTH == child)
p = p->R;
return p;
}
}
► The function has no problem and will fulfill the purpose successfully.
► The function cannot be compile as it has syntax error.
► The function has logical problem, therefore, it will not work properly.More CS301 files
- .trashed-1695276378-CS301 FINAL TERM FILE 1 SOLVED BY TEAM H (PDF · Final-Term)
- All Subjects Mid & Final 25000 Pdf Files.pdf (PDF · Final-Term)
- CS-301 Latest Mcq's Final Term By Vu Topper RM.pdf (PDF · Final-Term)
- CS-301 Latest Mcq_s Final Term By Vu Topper RM.pdf (PDF · Final-Term)
- CS301 - Sample Paper (Final Term) Fall 2022.pdf (PDF · Final-Term)
- CS301 - Sample Paper (Final Term) Fall 2022.pdf (PDF · Final-Term)
- CS301 - Sample Paper (Final Term) Fall 2022.pdf (PDF · Final-Term)
- CS301 Current 2020 Final Paper by VU Answer.pdf (PDF · Final-Term)