CS301 Lec 1-20 Serch mcqs.pdf

Verified academic study resource for CS301 (Data Structures) under the Computer Science at Virtual University of Pakistan. This PDF document (Mega Solved MCQs Question Bank) covers Full Course Curriculum 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
PDF
Type
MCQ Bank
Coverage
Full Course Curriculum
Tags
MCQ

Cross-verify solutions against official lecture handouts. Practice active recall before checking answers to ensure true concept retention.

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 Lec 1-20 Serch mcqs.pdf for free?

You can preview and download "CS301 Lec 1-20 Serch mcqs.pdf" (CS301 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs301-lec-1-20-serch-mcqs-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 Full Course Curriculum 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 Updated 250+ MCqs
    Lec 1 - 20 Spring 2022
         Quiz 1 and Quiz 2
     #Midterm Preparation
 REMEMBER OWN PRAYER
      Orange Monkey Team
Important NOTE:-
  Like share and comment too ..ager koi
mistake hogaye ho to sorry and comment
main lazmi mention krdijiye ga takey main
   correction krlon file main …. And like
   zaroor krein is hamein or bhe apsab
keyliye files makes krny ke himat milti hey
              …JAZAKALLAH

Orange Monkey Team                          Page 1

 1. In which traversal method root node is visited at left first subtree?

                 Inorder…..confirm

 2. In which traversal method root node is visited at first step?

                 Preorder…..confirm

 3. In which traversal method root node is visited at last step?

                    Postorder……confirm

 4. In level-order traversal for binary Search Tree _______ data structure is used.

                           Queue….confirm

Orange Monkey Team                                                                    Page 2

 5. The statement the insertion operation in avl tree generally takes more time than
    insertion operation in simple binary search tree

                        Always correct….confirm

 6. _________ is used for reference variables in C++

                &….confirm

 7. The first statement in the given code is called as:
    Class BinarySearchTree;
    Class BinaryNode{
    Friend class BinarySearchTree;
    };

                   Forward declaration

 8. Which of the following traversal method traverses the binary tree in sorted order?

                             Inorder….confirm

 9. The _____ symbol is used when we want to get the value of a variable using pointer.

             *…..confirm

Orange Monkey Team                                                                Page 3

 10. The _______ of every node should be 1,0 or -1 otherwise it will not be an AVL tree.

                 Balance….confirm

 11. The ___ tree has been named after two person Adelson-Velskii and landis

                 AVL ….confirm

 12. What will be output of the given C++ code?
     Char lhs[]= “Army”;
     Char rhs[]= “Army”;
     Cout<<strcmp(lhs,rhs);
     }
                      0…..confirm

 13. ________ of an empty AVL tree is defined to be -1

                Height….confirm

 14. Linked list use _________ to store data.’

                  Variables…..confirm

Orange Monkey Team                                                                 Page 4

 15. AVL stands for
                          Adelson-Velskii and Landis….confirm

 16. 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….confirm

 17. The ____ sign before the name of the variable means that the address of the variable
     is being passed.

                   &…..confirm

 18. If we delete node 2 from the given BST then which node will replace it?

Orange Monkey Team                                                                    Page 5

                                3….confirm

 19. During in order traversal using recursive calls if we found a node is NULL it means
     this node will satisfy following condition.

                       It will not have left child….confirm

 20. A tree is an AVL tree if

            All the nodes fulfill the AVL condition….confirm

 21. Which of the following calling method does not change the original value of variable
     passed to a function on argument?

                Call by passing as value….confirm

Orange Monkey Team                                                                 Page 6

 22. Which of the following data structure is/are linear type?

                Heap and stack

 23. Which of the following is correct syntax to pass a constant variable by reference to a
     function?

                 Int display (const int& val)

 24. In C++ we place the class interface in _______ file,

               .h…..confirm

 25. If we write functions for recursive and non recursive inorder traversal method of
     BST, what will be the difference between its functions prototypes?

                                 Nothing will be different…..confirm

 26. What will be the preorder traversal of the given tree?

                                45,25,15,35,75….confirm

Orange Monkey Team                                                                   Page 7

 27. Binary Search Tree violates the condition of AVL tree when any node has balance
     factor equal to

                               0…..confirm

 28. Binary Search Tree violates the condition of AVL tree when any node has balance
     factor equal to

                    1 or -1….confirm

 29. After deletion of a node from a binary search tree _______ traversal method should
     be maintained.

                            Inorder

Orange Monkey Team                                                                Page 8

 30. Link list can be special case of

                        Binary search tree

 31. To create a reference variable we need to use ______ sign.

                      Ampersand……confirm

 32. At a particular node the difference in heights of its left and right subtree gives the
     ____ of the node.

                             Balance…..confirm

 33. For string-based binary search tree, we use ASCII values of characters for
     comparing among letters. This method is known as _________.

                         Lexicographic order….confirm

Orange Monkey Team                                                                     Page 9

 34. What will be level order traversal of the given BST?

           6,2,8,1,5,3,4…..confirm

 35. __________ parameter passing ( by value or by reference) is similar to PASCAL.

                             C++….confirm

 36. We can make a lexicographic order of characters based on their ____________.

                               ASCII values….confirm

More CS301 files

All CS301 files · Midterm Prep 2026 · MCQs Bank