CS304-FINALTERM SOLVED MCQS WITH REFERENCES BY MOAAZ..pdf

Verified academic study resource for CS304 (Object Oriented Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Final-Term Solved Past Paper & Examination Pack compiled by Moaaz Siddhu) 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
CS304 – Object Oriented Programming
Faculty
Computer Science
Format
PDF
Type
Final-Term
Coverage
Final-Term Exam Scope (Lectures 23 to 45)
Compiled by
Moaaz Siddhu
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 CS304, regardless of midterm scores.

What this file covers — CS304 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 CS304-FINALTERM SOLVED MCQS WITH REFERENCES BY MOAAZ..pdf for free?

You can preview and download "CS304-FINALTERM SOLVED MCQS WITH REFERENCES BY MOAAZ..pdf" (CS304 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs304-finalterm-solved-mcqs-with-references-by-moaaz-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS304 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 CS304 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 CS304 solved past papers and handouts verified for 2026 exams?

Yes. All CS304 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

                            CS304- Object Oriented Programming
                                          LATEST SOLVED MCQS                            JAN 28,2011
                                        FROM FINALTERM PAPERS

    MC100401285           Moaaz.pk@gmail.com            Mc100401285@gmail.com                  PSMD01

                                    FINALTERM EXAMINATION
                                              14 Feb, 2011
                            CS304- Object Oriented Programming (Session - 3)

Question No: 1 ( Marks: 1 ) - Please choose one
Which of the following causes run time binding?

    ► Declaring object of abstract class
    ► Declaring pointer of abstract class
    ► Declaring overridden methods as non-virtual           (Page 226)
    ► None of the given

Question No: 2 ( Marks: 1 ) - Please choose one
Which of the following is the best approach if it is required to have more than one functions having exactly
same functionality and implemented on different data types?

    ► Templates     (Page 256)
    ► Overloading
    ► Data hiding
    ► Encapsulation

Question No: 3 ( Marks: 1 ) - Please choose one
A copy constructor is invoked when

    ► a function do not returns by value.
    ► an argument is passed by value. (Page 78)
    ► a function returns by reference.
    ► an argument is passed by reference.

Question No: 4 ( Marks: 1 ) - Please choose one
Like template functions, a class template may not handle all the types successfully.

    ► True     (Page 258)
    ► False

                                                                                                   1

Question No: 6 ( Marks: 1 ) - Please choose one
A class template may inherit from another class template.

    ► True      (Page 288)
    ► False

Question No: 7 ( Marks: 1 ) - Please choose one
By default the vector data items are initialized to ____
    ►0        Click here for detail
    ► 0.0
    ►1
    ► null

Question No: 8    ( Marks: 1 )    - Please choose one
In Private -------------- only member functions and friend classes or functions of a derived class can convert
pointer or reference of derived object to that of parent object

    ► specialization
    ► inheritance (Page 216)
    ► abstraction
    ► composition

Question No: 9 ( Marks: 1 ) - Please choose one
Which of the following is/are advantage[s] of generic programming?
   ► Reusability
   ► Writability
   ► Maintainability
   ► All of given       (Page 256)

Question No: 10 ( Marks: 1 ) - Please choose one
Template functions use _________ than ordinary functions.

    ► Greater Memory
    ► Lesser Memory
    ► Equal Memory
    ► None of the given options

Question No: 11 ( Marks: 1 ) - Please choose one
Non Template Friend functions of a class are friends of ________instance/s of that class.

    ► All      Click here for detail
    ► One specific
    ► All instances of one date type
    ► None of the given options
                                                                                                    2

Question No: 12 ( Marks: 1 ) - Please choose one
A copy constructor is invoked when
    ► a function do not returns by value.
    ► an argument is passed by value.     (Page 78)
    ► a function returns by reference.
    ► an argument is passed by reference.

Question No: 13 ( Marks: 1 ) - Please choose one
A pointer to a base class can point to objects of a derived class.

     ► True       Click here for detail
     ► False

Question No: 14 ( Marks: 1 ) - Please choose one
A template argument is preceded by the keyword ________.
    ► vector
    ► class        Click here for Detail
    ► template
    ► type*

Question No: 15 ( Marks: 1 ) - Please choose one
Which one of the following terms must relate to polymorphism?
   ► Static allocation
   ► Static typing
   ► Dynamic binding         (Page 239)
   ► Dynamic allocation

Question No: 16 ( Marks: 1 )           - Please choose one
Multiple inheritance can be of type

    ► Public
    ► Private
    ► Protected
    ► All of the given      Click here for detail

Question No: 17 ( Marks: 1 ) - Please choose one
Assume a class Derv that is privately derived from class Base. An object of class Derv located in main() can access
   ► public members of Derv. (Object-Oriented Programming in C++)
   ► protected members of Derv.
   ► private members of Derv.
   ► protected members of Base.

                                                                                                     3

Question No: 18 ( Marks: 1 ) - Please choose one
A copy constructor is invoked when
    ► a function do not returns by value.
    ► an argument is passed by value.     (Page 78) (rep)
    ► a function returns by reference.
    ► an argument is passed by reference.

Question No: 19 ( Marks: 1 ) - Please choose one
A function call is resolved at run-time in___________
    ► non-virtual member function.
    ► virtual member function. (Page 239)
    ► Both non-virtual member and virtual member function.
    ► None of given

Question No: 20 ( Marks: 1 ) - Please choose one
Two important STL associative containers are _______ and _______.

    ► set,map    (Object-Oriented Programming in C++)
    ► sequence,mapping
    ► setmet,multipule
    ► sit,mat

Question No: 21 ( Marks: 1 )        - Please choose one
An abstract class is useful when,

    ► We do not derive any class from it.
    ► There are multiple paths from one derived class to another.
    ► We do not want to instantiate its object. (Object-Oriented Programming in C++)
    ► You want to defer the declaration of the class.

Question No: 22 ( Marks: 1 ) - Please choose one
Which of the following is/are advantage[s] of generic programming?

    ► Reusability
    ► Writability
    ► Maintainability
    ► All of given (Page 256)        rep

Question No: 23 ( Marks: 1 ) - Please choose one
By default the vector data items are initialized to ____
    ►0        Click here for Detail       rep
    ► 0.0

More CS304 files

All CS304 files · Midterm Prep 2026 · MCQs Bank