CS301 UPDATE Final Term Solved MCQs By JUNAID.pdf

Verified academic study resource for CS301 (Data Structures) under the Computer Science at Virtual University of Pakistan. This PDF document (Final-Term Solved Past Paper & Examination Pack) covers Final-Term Exam Scope (Lectures 23 to 45) spanning approximately 320 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
PDF
Type
Final-Term
Coverage
Final-Term Exam Scope (Lectures 23 to 45)
Tags
MCQ, SOLVED, FINALTERM

Virtual University regulations strictly require achieving at least 20% marks in the Final-Term exam paper alone (typically 12+ marks out of 60) to pass CS301, regardless of midterm scores.

What this file covers — CS301 syllabus roadmap

  1. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  2. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  3. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  4. 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 UPDATE Final Term Solved MCQs By JUNAID.pdf for free?

You can preview and download "CS301 UPDATE Final Term Solved MCQs By JUNAID.pdf" (CS301 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs301-update-final-term-solved-mcqs-by-junaid-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS301 file?

This document covers Final-Term Exam Scope (Lectures 23 to 45) across 4 distinct lecture units (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

AL-JUNAID INSTITUTE GROUP

AL-JUNAID INSTITUTE GROUP

1. If unions are done by weight (size), the depth of any element is never
   greaterthen
      a. log2 n
     b. n log2 n
     c. log 3n
     d. log n*n
2. Which of the following is NOT true regarding the skip list
     a. Each list Si contains the special keys + infinity and – Infinity
     b. List SO contains the keys of S in non-decreasing
     orderc. List Sh contains only then n special keys
      d. Each list is a subsequence of the previous one
3. Which of the following is NOT an open addressing technique to
   resolvecollisions
      a. Quadratic probing
      b. Double hashing
      c. Cubic probing
      d. Linear probing
4. Which of the following possible operations are performed on Table ADT?
      a. Insert, Remove
      b. Find, Remove
      c. Insert, Find
      d. Insert, Find, Remove
5. Binary search can be categorized into which of the following?
      a. Greedy algorithm
      b. Dynamic
      programmingc. Divide
      and conquer
      d. Brute force technique
6. Suppose there is an image of 7*7 now we will have matrix of              rows and

             columns
      .a. 7.7
      b. 49.49
      c. 100.100
      d. 8.8
7. Which of the following is NOT true regarding the maze generation?
     a. Randomly remove walls until the entrance and exit cells are in the
        sameset

AL-JUNAID INSTITUTE GROUP
      b. Removing a wall is the same as doing a union operation
      c. Do not remove a randomly chosen wall if the cell it separates are
          alreadyin the same set
      d. None of the given
8. Consider a hash table of size seven, with starting index zero, and a hash
   function (3x + 4)mod7. Assuming the hash table is initially empty. Which of
   thefollowing is the contents of the table when the sequence 1, 3, 8, 10 is
   inserted into the table using closed hashing? Note that ‘_’ denotes an empty
   location in the table.
      a. 8, _, _, _, _, _, 10
      b. 1, _, _, _, _, _, 3
      c. 1, 10, 8, _, _, _, 3
      d. 1, 8, 10, _, _, _, 3
9. Suppose a hash function returns 6 for the given value. At which index of
    arraythe value will be saved?
        a. 0
        b. 5
        c. 6
        d. 7
10. If a hash function returns 4 for more than one value, this condition is called
         .
      a. Mergin
      gb.
      Collision
      c. Mapping
      d. Clustering
11. During the union by size method, all the array element initialized to -1 shows;
      a. Tree is complete
      b. Initial condition of tree
      c. Every tree has two elements each.
      d. None of the
given
12.What is a skip list?
      a. A linked list with size value in nodes
      b. A linked list that allows slower search within an ordered
      sequencec. A linked list that allows faster search within an ordered
      sequence
      d. A tree which is in the form of linked list
12.Which of the following is true regarding the maze generation?
     a. Randomly remove walls until the entrance and exit cells are in the
        sameset

AL-JUNAID INSTITUTE GROUP
       b. Removing a wall is the same as doing a union operation
       c. Do not remove a randomly chosen wall if the cell it separates are
           alreadyin the same set
       d. All of the given
 13. What is the best definition of a collision in a hash table?
       a. Two entries are identical except for their keys
       b. Two entries with different data have the exact same key
       c. Two entries with different keys have the same exact has value.
       d. Two entries with the exact same key have different hash values.
 14.Suppose there is an image segmented into pixels. Each pixel has
    neighbor(s).
          a. 0
          b. 4
          c.
          8
          d. 16
 15The array in binary search in sub divided             .
      a. Once
      b. Twice
      c. N time
      d. Until a sublist is no more divisible
 16.What is the time complexity of binary search with iteration?
      a. O(nlogn)
      b. O(n2)
      c. O(n)
          d. O(logn)                    https://www.geeksforgeeks.org/binary-
search/
 17. Which of the following is NOT an implementation of Table ADT?
       a. Sorted Sequential
       Arrayb. Stack
          c. Linked List
          d. Skip List
 18.In 1990, Bill Pugh proposed an enhancement on linked lists and the new
    datastructure was termed as
       a. Linked list
       b. B-
       Tree c.
       Skip list
          d. Spelling checker
 19.During union by size method, which data structure is used to improve
    thebalancing of tree?

   AL-JUNAID INSTITUTE GROUP
          a. Array
          b. Stack
          c. Linked list
          d. Tree
    20. What is the depth of any tree if the union operation is performed by height?
          a. O(N)
          b. O(N log N)
          c. O(log N)
          d. O(M log N)
    21. Which of the following is NOT true regarding the maze generation?
          a. Randomly remove walls until the entrance and exit cells are in the
             sameset
          b. Removing a wall is the same as doing a union operation
          c. Remove a randomly chosen wall if the cell it separates are already in
             thesame set
          d. Do not remove a randomly chose wall if the cells it separate are
             alreadyin the same set

    22.Which of the following statement is NOT correct regarding Table ADT
         a. In the table , the type of information in columns may be
         differentb. A table consist of several columns known as entities
            c. The row of table called a record
d. A major use of table is in databases where we build and use tables for keeping information
    23.The union operation is based on size or weight but the reducing the in
       betweenlinks or path comparison from to the             is done by find
       method
          a. Root,
          node b.
          Nodes, root
            c. Root , root
            d. Node, node
    24. Which is the hash function used in linear probing?
          a. hi(x) = hash(x) mode table size
          b. hi(x) = (hash(x) +f(i^2)) mode table

More CS301 files

All CS301 files · Midterm Prep 2026 · MCQs Bank