CS301 Quiz-2 File By Vu Topper RM.pdf
Verified academic study resource for CS301 (Data Structures) under the Computer Science at Virtual University of Pakistan. This PDF document (Live Quiz Dumps & Solved Objective Bank) covers Quizzes & Objective Exam Scope spanning approximately 180 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
- Quiz
- Coverage
- Quizzes & Objective Exam Scope
Quiz questions often repeat with modified parameter values in both Midterm and Final exams. Practice with our 45-second timed simulator to master exam pacing.
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 CS301 Quiz-2 File By Vu Topper RM.pdf for free?
You can preview and download "CS301 Quiz-2 File By Vu Topper RM.pdf" (CS301 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs301-quiz-2-file-by-vu-topper-rm-pdf-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 Quizzes & Objective Exam Scope 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
CS-301 Data Structures
Update MCQS For Quiz-2 File
Solve By Vu Topper RM
85% To 100% Marks
For More Help Contact What’s app 03224021365
The structure of tree with _________ data is like a linked list.
Sorted
Suppose we have the following values to be inserted in constructing
AVL tree,
after inserting node 25
Suppose we want to create the right child of a node ‘p’ and set the value
x in it. Which of the following statement is correct for this operation?
setRight(x, p)
Suppose we have the following values to be inserted in constructing
AVL tree, 10,13,15,5,7,8
after inserting node 15
What will be the preorder traversal of the given tree?
45 25 15 35 75
Which of the following is TRUE about recursive calls ?
There is no terminating condition in recursive calls
Analyze the given code carefully and choose the statement which will be
used if we want to set 7 as the value of root ?
root->setInfo( &x[4] );
Generally there is/are _________ case(s) to delete a node from BST.
3
We can use Binary Search Tree with _________________
Both Integer and String data
For More Help Contact What’s app 03224021365
Whenever a node is deleted from a binary search tree, _____________
has to be maintained.
In order traversal
___________ is an area in computer memory that is used to allocate
memory dynamically.
Heap
What will be the postorder traversal of the given tree?
15,35,25,75,45
Analyze the given code carefully and identify which type of binary tree
traversal this is :
Postorder
Which of the following is correct syntax to declare a const function ?
const int& findMin( );
A template is a function or class that is written with a __________data
type.
Generic
Which of the following line of code is incorrect?
float *i = float new;
isFull() method of stack class will return true when:
stack is full
Before using the pop method of a stack, the user must call the
____________ method.
IsFull();
For More Help Contact What’s app 03224021365
In the calling function, after the execution of the function called, the
program continues its execution from the _______after the function call.
Next line
Circular linked list solve the problem of ___________ pointers/method
of the doubly link list.
Add
What will be postfix expression of following infix expression?4*1↑7+2
41|7*2+
In which data structure elements are inserted at the back and removed
from the front?
Queue
Trying to remove an element from an empty stack is called ______.
Underflow of stack
An efficient program executes faster and helps in __________ the usage
of resources like memory and disk.
Minimizing
_______ is a collection of elements arranged in a linear order.
Stack
In singly linked list which node will keep track of starting position of the
list.
Next node
Circular Linked List always has ________ NULL pointer/s in a node.
0
Linked List use _____________ to store data.
For More Help Contact What’s app 03224021365
Variable
To search an element which method of the list searches the entire list
from beginning to end?
Find();
If we do not have to move too much in the list then use of which one
type of list is not necessary/essential.
Circular linked list
Which of the following signature of the constructor function for a stack
is correct as a generic data type?
Template<stack T>;
“set()” method of list class is used to:
Set the value of Null Nodes
Consider the linked list having data [6, 72, 35, 65, 25] stored in it. While
current pointer is pointing to memory location having 72 stored in it.
After calling remove() function on the following linked list current point
will point to memory location having value?
6
Head node pointer always points to the ______________ of the linked
list?
Current node
There is no such node whose next field is NULL, which one of the given
option supports the statement.
Circular link list
For More Help Contact What’s app 03224021365
Which one of the following is not a one-step method in List
Implementation using Array?
Find();
First element of an int array can be manipulated by using the index zero
as
Int[0];
int * i = new int [10];Above given code will:
Allocate memory for 10 integers
A software solution is said to be efficient if it solves the problem
_________________ .
within its resource constraints.
Which kind of data structure is used to evaluate postfix expression?
Stack
Which of the following is the limitation of the array?
Fix size
Which of the following function don’t belongs to the stack class?
crash()
Consider we have performed the following operations on a stack of size
5.
Push(10);Push(20);Push(30);Pop();Pop();Push(40);Push(50);Pop();After
the completion of all operations, the number of element present on stack
are _____.
4
Compiler uses which one of the following in Function calls,
For More Help Contact What’s app 03224021365
Stack
Which of the following statement is correct for the variable “current--”?
current = current – 1
STL is a __________ that is a part of the official standard of C++.
Library
“new int[11]” will allocate memory for ________ integers.
11
We cannot remove items randomly from ___________
stack and queue
To create a ___________ we link the last node with the first node in the
list.
Circularly-linked list
Question No:1 (Marks:1) Vu-Topper RM
Which one is the correct function call for the following function of
calculating cube?
A. cube(num)
B. cube(*num)
C. cube(&num)
D. cube(&&num)
Question No:2 (Marks:1) Vu-Topper RM
In a complete binary tree, for 25000 nodes the depth will be-----
A. 14
B. 13
C. 12
D. 11
For More Help Contact What’s app 03224021365
Question No:3 (Marks:1) Vu-Topper RM
In level-order traversal for Binary Search Tree, __________ data
structure is used.
A. Queue
B. Stack
C. Tree
D. Heap
Question No:4 (Marks:1) Vu-Topper RM
If both left and right nodes of a node are NULL then this type of node is
called a ------node.
A. Leaf
B. Node
C. BothMore CS301 files
- CS 301 Quiz 2 4-Dec-2023 Sufyan JUTT.pdf (PDF · Quiz)
- CS 301 Quiz 2 4-Dec-2023 Sufyan JUTT.pdf (PDF · Quiz)
- CS 301P Quiz # 1 (Graded) 24-Nov-2023 Sufyan JUTT.pdf (PDF · Quiz)
- CS 301 Quiz 1 20-Nov-2023 Solution by Sufyan JUTT.pdf (PDF · Quiz)
- CS 301 Quiz 4 Spring 2023 By Pin2.pdf (PDF · Quiz)
- CS301 - QUIZ-SOLVED-BY-SONU-MUGHAL.pdf (PDF · Quiz)
- CS301 - QUIZ-SOLVED-BY-SONU-MUGHAL.pdf (PDF · Quiz)
- CS301 GRAND QUIZ (VUAnswer.com).pdf (PDF · Quiz)