CS304 OBJECTIVE FINAL TERM BY SONU.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) 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
- Type
- Final-Term
- Coverage
- Final-Term Exam Scope (Lectures 23 to 45)
- Tags
- OBJECTIVE, 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
- 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 CS304 OBJECTIVE FINAL TERM BY SONU.pdf for free?
You can preview and download "CS304 OBJECTIVE FINAL TERM BY SONU.pdf" (CS304 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs304-objective-final-term-by-sonu-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
SONU ILYAS MUGHAL
CS304-Object Oriented Programming-Finalterm-Solved-MCQs
A template provides a convenient way to make a family of.
variables and data members
functions and classes
classes and exceptions
programs and algorithms
A class template may inherit from another class template.
True
False
Target of a _____ function call is determined at run time.
instance
virtual
operator
none of given
A class hierarchy .
shows the same relationships as an organization chart.
describes “has a” relationships.
describes “is a kind of” relationships.
shows the same relationships as a family tree.
Sender of the message does not need to know the exact class of
receiver in______.
Abstraction
Polymorphism
Inheritance
none of the given
SONU ILYAS MUGHAL
A function call is resolved at run-time in_________ .
non-virtual member function
virtual member function
Both non-virtual member and virtual member function.
None of given
Adding a derived class to a base class requires fundamental changes
to the base class.
True
False
User can make virtual table explicitly.
True
False
Binding means that target function for a call is selected at compile
time.
Static
Dynamic
Automatic
None of given
Target of a _____ function call is determined at run time.
instance
virtual
operator
none of given
Which line will produce error. Class phone: private Transmit,
private Receiver { } 1. int main() 2. { 3. phone obj; 4. Tranmit* obj1
= &obj; 5. Received obj2 = &obj; 6. }.
3rd line will produce error
SONU ILYAS MUGHAL
4th line will produce error
3rd and 4th line will produce error.
5th line will produce error
Function overriding is done in context of,
Single class
Single derived class
Single base class
Derived and base classes
Consider the code below, class class1{ public: void func1(); }; class
class2 : protected class1 { }; Function func1 of class1 is ____ in
class2,
public
protected
private
none of the given options
The following statements: 1) int iArray[5]; 2) int *pArr = iArray;
These statements will compile successfully
Error in first statement
Error in second statement
None of given options
Methodologies to the development of reusable software relate
to________.
Structure programming
procedural programming
generic programming
SONU ILYAS MUGHAL
None of the given
Function template must have a parameter.
True
False
The default inheritance mode is,
Public inheritance
Protected inheritance
Private inheritance
None of these options
Two functions with same names, parameters and return type can
exist in,
Function overloading
Function overriding
Operator overloading
None of these options
Consider the code below, class c1{ }; class c2 : public c1 { }; class c3
: public c2 { }; Then c2 is,
Direct base class of c3
Direct child class of c3
Direct base class of c1
None of these
Virtual functions allow you to
SONU ILYAS MUGHAL
create an array of type pointer-to-base class that can hold pointers to
derived classes.
create functions that can never be accessed.
group objects of different classes so they can all be accessed by the
same function code.
use the same function call to execute member functions of objects from
different classes.
User can make virtual table explicitly.
True
False
In order to define a class template the first line of definition must
be:
template <typename T>
typename <template T>
Template Class <ClassName>
Class <Template T>
Consider the following statements: 1) int iArray[5]; 2) int *pArr =
iArray;
These statements will compile successfully
Error in first statement
Error in second statement
None of given options
In c++ dynamic binding and polymorphism will be achieved when
member function will be __.
private
SONU ILYAS MUGHAL
public
virtual
inline
In type in depended function template should be use where code and
behavior must be identical.
True
False
Consider the code below, class class1{ protected: int i; }; class class2
: private class1 { }; Then int member i of class1 is ____ in class2,
public
protected
private
none of the given options
In specialization we can,
Replace child class with its base class
Replace base class with its child class (Not Sure)
Replace both child and base classes interchangeably
None of the given options
Consider the code below, class class1{ public: void func1(); }; class
class2 : public class1 { }; Function func1 of class1 is ____ in class2,
public
protected
private
none of the given options
SONU ILYAS MUGHAL
It is illegal to make objects of one class members of another class.
True
False
An abstract class is useful when
no classes should be derived from it.
there are multiple paths from one derived class to another.
no objects should be instantiated from its.
you want to defer the declaration of the class.
In resolution order compiler search firstly _______.
Generic Template
Partial Specialization
Complete Specialization
Ordinary function
template<> class Vector{ void** p; //.... void*& operator[] ((int i); };
This specialization can then be used as the common implementation for
all Vectors of pointers.
This specialization can then be used as the all type implementation for
one type classes.
This specialization can then be used double type pointers.
This specialization should be used for Vectors of all type int types.
In private inheritance derived class pointer can be assigned to base
class pointer in.
Main function
In derived class member and friend functions
SONU ILYAS MUGHAL
In base class member and friend functions
None of the given options
Which statement will be true for concrete class?
it implements an virtual concept.
it can be instantiated
it cannot be instantiated
none of given
Target of a _____ function call is determined at run time.
instance
virtual
operator
none of given
The Specialization pattern after the name says that this
specialization is to be used for every___.
data types
meta types
virtual types
pointers type
c++ dynamic binding and polymorphism will be achieved when
member function will be __.
private
public
virtual
inline
SONU ILYAS MUGHAL
Consider the code below, class class1{ protected: void func1(); };More CS304 files
- All Subjects Mid & Final 25000 Pdf Files.pdf (PDF · Final-Term)
- CS-304 Latest Mcq's Final Term By Vu Topper RM.pdf (PDF · Final-Term)
- CS-304 Solved Mcq's Final Term By Vu Topper RM.pdf (PDF · Final-Term)
- CS304 - Final Term Papers (www.weblyceum.com) 01.pdf (PDF · Final-Term)
- CS304 - Final Term Papers (www.weblyceum.com) 02.pdf (PDF · Final-Term)
- CS304 - Final Term Papers (www.weblyceum.com) 03.pdf (PDF · Final-Term)
- CS304 - Final Term Papers (www.weblyceum.com) 04.pdf (PDF · Final-Term)
- CS304 - Final Term Papers (www.weblyceum.com) 04.pdf (PDF · Final-Term)