cs301-grand-quiz-solution-file.docx

Verified academic study resource for CS301 (Data Structures) under the Computer Science at Virtual University of Pakistan. This DOC 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
DOC
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

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. 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-grand-quiz-solution-file.docx for free?

You can preview and download "cs301-grand-quiz-solution-file.docx" (CS301 DOC, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs301-grand-quiz-solution-file-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 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

CS301 Grand Quiz Solution File

In AVL tree during insertion, a single rotation can fix the balance in cases _________ and 4.
1
If a node is inserted in outer side of a node in binary search tree then to make it AVL tree,
We may have to apply single rotation
A zigzag rotation is performed.  In Left-Left case of rotation in AVL tree.
False
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.
Same
Stack.push(15) will push 15 on _________.
Top of the stack
Suppose we have the following values to be inserted in constructing AVL tree,
10,13,15,5,7,8
Tell when first rotation will take place,
After inserting the node 15
All the objects created using ___________ operator have to be explicitly destroyed using the delete operator.
New
During the execution of a process, operating system constructs four things for that process. Which of the following is not part of that process?
Linked list
There are _________cases of Rotation in AVL tree.
4
Which of the following line of code is incorrect?
Float *I = float new (not confirmed)
In simple or singly linked list there is/are ________ pointer/s in each node.
One
Suppose there are three nodes tree with three numbers 14, 4, 15. Following is not a permutation, or combination for output them.
(4, 4, 15)
The type of expression in which operator succeeds its operands is___________expression.
Postfix
The _________ of a node in a binary tree is defined as the height of its left subtree minus height of its right subtree.
Balance
If both left and right nodes of a node are NULL then this type of node is called a ______ node.
Non leaf (not confirmed)
The function calls are made with the help of__________.
Stack
Which data structure is needed to convert infix expression to postfix expression?
Stack
In case of insertion of right inner node in BST,
Left rotation then right to make AVL
A BST generated from the data in ascending order is ____________.
Linear
Which operation of queue data structure is used to get front element from the queue and then remove it from the queue?
Remove ()
In _________ various cells of memory are not located continuously.
Linked list
The _______ method of list will position the currentNode and lastCurrentNode at the start of the list.
Start
Which operation of queue data structure is used to insert an element into the Queue?
Enqueuer ()
From Operating System point of view, the recursive function calls are made with the help of __________.
Queue
We can make a lexicographic order of characters based on their _____________.
ASCII values
What are the basic things associated with data structures?
All of the above
Consider the following push operations of a Stack:
Stack.push(4);
Stack.push(6);
Stack.push(5);
Stack.push(8);
If a user calls a pop() operation, then which value will be returned?
8 (stack is last in fist out)
~BinarySearchTree( ) is a _______________.
Destructor
Array cells are _________ in computer memory.
Contiguous
Leaf node of binary search tree contains ________
One Null Pointer
dequeue() operation of queue data structure is used to____________
remove an element from the front and return it
The depth of a binary tree is
Maximum level of a leaf
Which of the following operation returns but do not removes top value of the stack?
Top
Which of the following data structure is linear type?
All of above
In doubly linked list a node consists of three parts:
2 pointers and 1 object
Last node in circular linked list contains
No null pointer
A_________ model attempts to model a real-world phenomenon
Simulation
Factorial is an example of __________function.
Recursive
The balance of a node in a binary tree is defined as the height of its _______ sub tree minus height of its right sub tree.
Left
In case of insertion of left outer node in BST,
We first apply left rotation and then rotation to make it an AVL Tree.
int htdiff = height(root->getLeft())   height(root->getRight()); The above line of code is taken from AVL insert method. Complete it by selecting an appropriate symbol.
Minus (-)
Each operator in a postfix expression refers to the previous _______ operand(s).
Two
For making Binary Search Tree for Strings we need, ________ data type.
Int
A _________model attempts to model a real-world phenomenon
Simulation
The lifetime of a transient object cannot exceed that of the application.
True
Which one of the following calling method does not change the original value of the argument in the calling function?
Call by passing the value of the argument
In level-order traversal for Binary Search Tree, we visit the nodes at each level before proceeding to the next level, in a _________ order.
Left-to-right
In doubly linked list a node consists of three parts:
1 pointer and 2 objects
Binary Search Tree voilates the condition of AVL tree when any node has balance equal to
1 or -1
To search an element in ALV tree, it takes maximum 1.88 Log 2n time
True
HOW many cases of rotation are there in AVL tree?
4
__________ tree has been named after two persons Adelson-Velskii and Landis.
AVL
Which of the following is a nonlinear data structure?
Tree
AVL tree is nonlinear data structure.
True
_________ is when function is calling to itself.
Recursion
Which of the following function don't belongs to the stack class?
Crash ()
Which one is the cored function call for the following function of calculating cube?
int cube(int& num)
cube (num)
Binary search algorithm cannot be applied to  ____
None of the given
copy() method of list data structure __________
Set one list to be a copy of another
While implementing non-recursive traversal for Binary Search Tree, we need to implement
Stack
Following is true in case of using Recursive method calls
The code becomes very short
________is a self-balancing tree.
Binary Search Tree
While implementing stack with an array and to achieve LIFO behavior, we used push and pop elements at
The start of the array
Generalized code written for a class is called
Structure
Army cells are ___________ in computer memory
Contiguous

More CS301 files

All CS301 files · Midterm Prep 2026 · MCQs Bank