cs301_mid_term_7_www.vu786.com.pdf
Verified academic study resource for CS301 (Data Structures) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File) covers Mid-Term Exam Scope (Lectures 1 to 22) spanning approximately 240 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
- Type
- Study Resource
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
Focus on core definitions and repeated MCQs from Lectures 1–22. Remember that scoring in the First Half builds your safety buffer toward the mandatory 20% Two-Half passing rule in CS301.
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)
Frequently asked questions
Where can I download cs301_mid_term_7_www.vu786.com.pdf for free?
You can preview and download "cs301_mid_term_7_www.vu786.com.pdf" (CS301 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs301-mid-term-7-www-vu786-com-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 Mid-Term Exam Scope (Lectures 1 to 22) across 4 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22), 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
MIDTERM EXAMINATION
Fall 2009
CS301- Data Structures (Session - 5)
om
Ref No: 885482
Time: 60 min
Marks: 38
Question No: 1 ( Marks: 1 ) - Please choose one
Which one of the following is a valid postfix expression?
► ab+c*d-
► abc*+d-
► abc+*d-
► (abc*)+d-
Question No: 2 ( Marks: 1 )
tree data structure is a
► Linear data structure
6
► Non-linear data structure
► Graphical data structure
► Data structure like queue
.c
- Please choose one
The
Question No: 3 ( Marks: 1 ) - Please choose one
78
A Compound Data Structure is the data structure which can have multiple data items of
same type or of different types. Which of the following can be considered compound data
structure?
► Arrays
► LinkLists
► Binary Search Trees
vu
► All of the given options
Question No: 4 ( Marks: 1 ) - Please choose one
Suppose a pointer has been declared in main but has not assigned any variable address then
►T
hat pointer points to First byte in main function
►T
hat pointer contains a NULL value
►N
one of these
om
►T
hat pointer points to any memory address
Question No: 5 ( Marks: 1 ) - Please choose one
Here
is the start of a C++ class declaration:
class foo
{
public:
void x(foo f);
void y(const foo f);
void z(foo f) const;
...
that activates the function?
►O
6 .c
Which of the three member functions can alter the PRIVATE member variables of the foo object
nly x can alter the private member variables of the object that activates the function.
►O nly y can alter the private member variables of the object that activates the function.
78
►O nly z can alter the private member variables of the object that activates the function.
►T wo of the functions can alter the private member variables of the object that activates the
function.
Question No: 6 ( Marks: 1 ) - Please choose one
The
operation for removing an entry from a stack is traditionally called:
► delete
vu
► peek
► pop
► remove
Question No: 7 ( Marks: 1 ) - Please choose one
Which statement of the following statements is incorrect?
► Lists can be implemented by using arrays or linked lists
► A list is a sequence of one or more data items
► Stack is a special kind of list in which all insertions and deletions take place at one end
► Stacks are easier to implement than lists
om
Question No: 8 ( Marks: 1 ) - Please choose one
Parameters in function call are passed using,
► Stack
► Queue
► Binary Search Tree
► AVL Tree
Question No: 9
stack.push(’8’);
6
stack.push(’9’);
stack.push(’10’);
stack.push(’11’);
stack.push(’12’);
( Marks: 1 )
.c
- Please choose one
Consider the following sequence of push operations in a stack:
stack.push(’7’);
78
►7 8 9 10 11 12
►9 8 11 10 7 12
►9 10 8 11 12 7
►9 10 8 12 7 11
Question No: 10 ( Marks: 1 ) - Please choose one
What is the maximum depth of recursive calls a function may make?
vu
►1
►2
► n (where n is the argument)
► There is no fixed maximum
Question No: 11 ( Marks: 1 ) - Please choose one
Consider the following function:
void test_a(int n)
{
cout << n << " ";
om
if (n>0)
test_a(n-2);
}
What is printed by the call test_a(4)?
►42
►024
►02
►24
Question No: 12
Queue follows,
6 ( Marks: 1 )
► Last in First out
► First in Last out
► First in First out
.c
- Please choose one
► None of these
78
Question No: 13 ( Marks: 1 ) - Please choose one
_________ is a binary tree where every node has a value, every node's left subtree contains only
values less than or equal to the node's value, and every node's right subtree contains only values
that are greater then or equal ?
►S trictly Binary Tree
►B inary Search tree
vu
►AVL tree
►All of these
Question No: 14 ( Marks: 1 ) - Please choose one
Four
statements about trees are below. Three of them are correct. Which one is INCORRECT?
►T rees are recursively defined multi-dimensional data structures
►T he order of a tree indicates a maximum number of childen allowed at each node of the treeMore 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)