Cs 301 Quiz no 2 file.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 Cs 301 Quiz no 2 file.pdf for free?
You can preview and download "Cs 301 Quiz no 2 file.pdf" (CS301 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs-301-quiz-no-2-file-pdf-cs301) 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 Quiz no 2 A binary relation R over S is called an equivalence relation if it has following property(s) All of the given options If there are N elements in an array then the number of maximum steps needed to find an element using Binary Search is . log2N Use of binary tree in compression of data is known as . Huffman encoding While building Huffman encoding tree the new node that is the result of joining two nodes has the frequency. Equal to the sum of the two frequencies Which of the following statement is correct? A Threaded Binary Tree is a binary tree in which every node that does not have a right child has a THREAD (in actual sense, a link) to its INORDER successor. A Threaded Binary Tree is a binary tree in which every node that does not have a right child has a THREAD (in actual sense, a link) to its successor. Inorder Which of the following statement is true about dummy node of threaded binary tree? This dummy node has either no value or some dummy value. A complete binary tree is a tree that is filled, with the possible exception of the bottom level. completely A complete binary tree of height 3 has between _ nodes. 8 to 15 We can build a heap in _ time. Linear 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)? 42 Which of the following statement is NOT correct about find operation: One idea might be to use a tree to represent each set, since each element in a tree has the same root, thus the root can be used to name the set. (Consider the following infix )expression: x–ya+b/c Which of the following is a correct equivalent expression(s) for the above? xya*-bc/+ A complete binary tree of height has nodes between 16 to 31 . 4 What requirement is placed on an array, so that binary search may be used to locate an entry? The array must have at least 2 entries A solution is said to be efficient if it solves the problem within its resource constraints i.e. hardware and time. False If there are 100 elements in a heap and 100 delete Min operation are performed, will get_____list Sorted Sorting procedure normally takes ____times NLogN The expression if(!heap-> is empty ())Checks Heap is not empty If the height of a perfect binary tree is 4.What will be the total number of nodes in it? 31 A binary relation R over S is called an equivalence relation if it has following property(S)? All of the given If a tree has 20 edges/links, then the total number of nodes in the tree will be: 21 For a perfect binary tree of height 4, what will be the sum of highest of node 26 If Ahmed is cousin of Ali and Ali is cousin of Asad then Ahmed is also cousin of Asad.This statement has the following property Transitivity Which property of equivalence relation is satisfied if we say: Ahmad is cousin of Ali and Ali is also cousin of Ahmed Symmetry Which one of the following is NOT the property of equivalence relation? Associative The main reason of using heap in priority queue is Improve performance The total number of nodes on 10th level of perfect binary tree are 1024 Suppose there are 100 elements in an equivalence class, so initially there will be 100 trees,the collection of these trees is called ___________. Forest The percolate Down procedure will move the smaller value ____ and bigger value ____. Up, down For a perfect binary tree of height h, having N nodes, the Sum of height of nodes is _____ N - h -1 Which of the following method is helpful in creating the heap at once? percolateDown If ahmad is boss of Ahsan and ehsan is boss of umer then ahmad is also boss of umer,the above mentioned relation is _______. Transitive If we want to find 3rd minimum element from an array of element, then after applying build heap method. How many times deleteMin method will be called? 3 If we want to find median of 50 elements, then after applying builtHeap method, how many time deleteMin method will be called? 25 Which of the following properties are satisfied by equivalence relationship? Reflexive, symmetric and transitive The Expressionif ( ! heap->isFull() ) Check Heap is not full Given the values are the array representation of heap: 12 23 26 31 34 44 56 64 78 100 If we perform 4 deleteMin operation, the last element deleted is _______. 31 Which of the following heap method increase the value if key at position ‘p’ by the amount ‘delta’? increaseKey(p, delta) Which property of equivalence relation is satisfied if we say: Ahmad R(is related to)Ahmad Reflexivity The total number of nodes on 5th level of perfect binary tree are: 32 Which property of equivalence relation is satisfied if we say: Ahmad is cousin of Ali and Ali is also Cousin of Ahmad Symmetry If a tree has 50 nodes , then the total edges/links in the tree will be 49 If the height of perfect binary tree is 4, what will be the total number of nodes in it? 31 Suppose there are set of fruits and the set of vegetables, both sets are _______ sets. Disjoint A binary relation R over S is called an equivalence relation if it has following property(s) All of Above Heap can be used to implement Priority queue If a tree has 20 edges/links, then the total number of nodes in the tree will be: 21 If there are 100 elements in an equivalence class, then we will have _______ sets initially. 100 Given the values are the array representation of heap; 12 23 26 31 34 44 56 64 78 100 What is the 5th smallest element in the given heap? 34 A solution is said to be efficient if it solves the problem within its resource constraints i.e. hardware and time. True Which one of the following is known as "Last-In, First-Out" or LIFO Data Structure? Stack What will be postfix expression of the following infix expression? infix Expression: a+b*c-d abc*+d- For compiler a postfix expression is easier to evaluate than infix expression? True Consider the following pseudo code declare a stack of characters while ( there are
More 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)