cs301-midterm-solved-quiz-1-2-fall-2015.docx
Verified academic study resource for CS301 (Data Structures) under the Computer Science at Virtual University of Pakistan. This DOC 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
- DOC
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Tags
- SOLVED, MIDTERM
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-midterm-solved-quiz-1-2-fall-2015.docx for free?
You can preview and download "cs301-midterm-solved-quiz-1-2-fall-2015.docx" (CS301 DOC, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs301-midterm-solved-quiz-1-2-fall-2015-docx) 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
CS301 Data structure Fall 2015
latest solve quiz no 1
A queue is a ________data structure, whereas a stack is a ________data structure.
FIFO, LIFO
Each node in doubly link list has
2
3
4
Whenever we call a function, the compiler makes a stack, the top element of the stack is _____ of the function
First argument
Return address
Last argument
none of the obove
To create a _________ we link the last node with the first node in the list.
Double linked list
Circularly-linked list
_____ is the stack characteristic but _______was implemented because of the size limitation of the array.
isFull(),isEmpty()
pop(), push()
isEmpty() , isFull()
Stack and Queue can be implemented using _______,
Singly Link List
Binary Tree
Binary Search Tree
AVL Tree
The _____ method of list will position the currentNode and lastCurrentNode at the start of the list.
Remove
next
start
back
In array list the worst case of removing an element is
To remove an element from the end of the lis
To remove an element from the middle of the list
To remove an element from the start of the list
We cannot remove element from an array list
STL is a ________ that is a part of the official standard of C++.
C program file
.h file
When an executable program run, it is loaded in the memory and becomes a_____.
Select correct option:
Thread
.h file
Process
None of the above
Each node in doubly link list has,
Select correct option:
1 pointer
2 pointers
3 pointers
4 pointers
Which of the following operations returns top value of the stack?
Select correct option:
push
pop
top
first
A queue is a ________data structure, whereas a stack is a ________data structure.
Select correct option:
FIFO, LIFO
LIFO,FIFO
both of these
none of these
Which one of the following is TRUE about recursion?
Select correct option:
Recursive function calls consume a lot of memory.
Recursion extensively uses stack memory.
Recursion extensively uses stack memory.
Iteration is more efficient than iteration.
To create a _________ we link the last node with the first node in the list.
Select correct option:
Double linked list
Circularly-linked list
Linked list
None of the above
_____ is the stack characteristic but _______was implemented because of the size limitation of the array.
Select correct option:
isFull(),isEmpty()
pop(), push()
isEmpty() , isFull()
push(),pop()
The principal benefit of a linked list over a conventional array is that the order of the linked items may be_____ from the order that the data items are stored in memory.
Select correct option:
Same
Identical
Different
Equivalent
In________ the ‘next’ returns false when it reaches to the last node due to the fact that the next field of the last node is set to NULL.
Select correct option:
Circular linked list
Triple linked list
Singly linked list
None of the above
If numbers 5, 222, 4, 48 are inserted in a queue, which one will be removed first?
Select correct option:
48
4
333
5
Which boolean expression indicates whether the numbers in two nodes (p and q) are the same. Assume that neither p nor q is null.
Select correct option:
p == q
p.data == q.data
p.nextNode == q. nextNode
p.data == q
Local variables of a function are stored in,
Select correct option:
Binary Search Tree
Stack
Queue
AVL Tree
A queue is a data structure where elements are
Select correct option:
inserted at the front and removed from the back.
inserted and removed from the top.
inserted at the back and removed from the front.
inserted and removed from both ends.
A kind of expressions where the operator is present between two operands called ________expressions.
Select correct option:
Infix
Postfix
Prefix
None of the above
A template is a function or class that is written with a __________data type.
Select correct option:
Specific
Definite
Generic
None of the above.
Whenever we call a function, the compiler makes a stack, the top element of the stack is _____ of the function.
Select correct option:
First argument
Return address
Last argument
None of the above
Which of the following can be used to reverse a string value,
Select correct option:
Stack
Queue
Both of these
None of these
A queue is a ________data structure, whereas a stack is a ________data structure.
Select correct option:
FIFO, LIFO
LIFO,FIFO
both of these
none of these
Stack and Queue can be implemented using _______,
Select correct option:
Singly Link List
Binary Tree
Binary Search Tree
AVL Tree
“+” is a _________operator.
Select correct option:
Unary
Binary
Ternary
None of the above
Which of the following is not a data structure ?
Select correct option:
Linked list
Stack
Queue
Memory cell
Compiler uses which one of the following in Function calls,
Select correct option:
Stack
Queue
Binary Search Tree
AVL Tree
The principal benefit of a linked list over a conventional array is that the order of the linked items may be_____ from the order that the data items are stored in memory.
Select correct option:
Same
Identical
Different
Equivalent
Doubly Linked List always has one NULL pointer.
Select correct option:
True
False
We can not remove items randomly from _________
Select correct option:
Stack
Queue
Both of these
None of these
______ is the maximum number of nodes that you can have on a stack-linked list ?
Select correct option:
Zero
2n (where n is the number of nodes in linked list)
Any Number
None of these
“+” is a _________operator.
Select correct option:
Unary
Binary
Ternary
None of the above
: In______, a programmer uses two pointers in the node, i.e. one to point to next node and the other to point to the previous node.
Select correct option:
Linked list
doubly-link list
array
structure
A queue is a data structure where elements are
Select correct option:
inserted at the front and removed from the back.
inserted and removed from the top.
inserted at the back and removed from the front.
inserted and removed from both ends.
More CS301 files
- CS301 - Midterm Paper 2 by Waqar Solved by Hadi.pdf (PDF · Midterm)
- CS301 - Midterm Paper 3 by Waqar Solved by Hadi.pdf (PDF · Midterm)
- CS301 Current Midterm 2022 Papers.pdf (PDF · Midterm)
- CS301 Grand Quiz file for Mid Term Prepratin by VU Stars.pdf (PDF · Midterm)
- CS301 Grand Quiz file for Mid Term Prepratin by VU Stars.pdf (PDF · Midterm)
- CS301 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS301 MIDTERM FILE 3 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS301 MIDTERM FILE 4 SOLVED BY TEAM HADI.pdf (PDF · Midterm)