CS304ObjectOrientedProgrammingFinal2010Paper.docx
Verified academic study resource for CS304 (Object Oriented Programming) under the Computer Science at Virtual University of Pakistan. This DOC 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
- DOC
- Type
- Final-Term
- Coverage
- Final-Term Exam Scope (Lectures 23 to 45)
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 CS304ObjectOrientedProgrammingFinal2010Paper.docx for free?
You can preview and download "CS304ObjectOrientedProgrammingFinal2010Paper.docx" (CS304 DOC, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs304objectorientedprogrammingfinal2010paper-docx) 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 Final 2010 Paper Shared By Irfan
CS304 Question No: 1
Which one of the following terms must relate to polymorphism?
► Static allocation
► Static typing
► Dynamic binding
► Dynamic allocation
CS304 Question No: 2
Which of the following causes run time binding?
► Declaring object of abstract class
► Declaring pointer of abstract class
► Declaring overridden methods as non-virtual
► None of the given
CS304 Question No: 3
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
► Overloading
► Data hiding
► Encapsulation
CS304 Question No: 4
Which of the following is the best approach to implement generic algorithms with minimum number of coding lines?
► Templates
► Overloading
► Overriding
► Friend function/class
CS304 Question No: 5
Like template functions, a class template may not handle all the types successfully.
► True
► False
CS304 Question No: 6
A class template may inherit from another class template.
► True
► False
CS304 Question No: 7
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.
► protected members of Derv.
► private members of Derv.
► protected members of Base.
CS304 Question No: 8
A copy constructor is invoked when
► a function do not returns by value.
► an argument is passed by value.
► a function returns by reference.
► an argument is passed by reference.
CS304 Question No: 9
Each try block can have ______ no. of catch blocks.
► 1
► 2
► 3
► As many as necessary.
CS304 Question No: 10
class DocElement
{
public:
virtual void Print() { cout <
<
};
class Heading : public DocElement
{
public:
void Print() { cout <
<
};
class Paragraph : public DocElement
{
public:
void Print() { cout <
<
};
void main()
{
DocElement * p = new Paragraph();
p->Print();
}
When you run this program, it will print out a single line to the console output.
What will be in that line?
Select one correct answer from the following list:
► Generic element
► Heading element
► Paragraph element
► Nothing will be printed.
CS304 Question No: 11
Suppose we have two derived classes from a single class, can we write a method with same name in both these derived classes ? Choose the best option.
► No
► Only if the two classes have the same name
► Only if the main program does not declare both kinds
► Yes
CS304 Question No: 12
When a virtual function is called by referencing a specific object by name and using the dot member selection operator (e.g., squareObject.draw()), the reference is resolved at compile time.
► True
► False
CS304 Question No: 13
Considering the resolution order in which compiler search for functions in a program; the first priority is given to,
► general template
► partial specialization
► complete specialization
► ordinary function
CS304 Question No: 14
Vectors contain contiguous elements stored as a[an] ___.
► variable
► array
► function
► datatype
CS304 Question No: 15
By default the vector data items are initialized to ____
► 0
► 0.0
► 1
► null
CS304 Question No: 16
One purpose of an iterator in the STL is to connect algorithms and containers.
► True
► False
CS304 Question No: 17
Algorithms can only be implemented using STL containers.
► True
► False
CS304 Question No: 18
In ________, a base class can be replaced by its derived class,
► Sub-typing
► Super-typing
► Multiple-typing
► Restricted-typing
CS304 Question No: 19
this pointer does not point to current object of any class,
► True
► False
CS304 Question No: 20
Which of the following operator(s) take(s) one or no argument if overloaded?
► ++
► -
► +
► All of the given
CS304 Question No: 21
Which of the following operators can not be overloaded?
► Scope resolution operator ( :: )
► Insertion operator ( <
<
► Extraction operator ( >> )
► The relation operator ( > )
CS304 Question No: 22
The type that is used to declare a reference or pointer is called its ---------
► default type
► static type
► abstract type
► reference type
CS304 Question No: 23
------------- members are somewhere between public and private members. They are used in inheritance
► protected
► public
► private
► global
CS304 Question No: 24
Which of these are examples of error handling techniques ?
noitanimreTlamronbA►
► Graceful Termination
► Return the illegal
► all of the given
CS304 Question No: 25
_______ is a relationship
► Inheritance
► Polymarphism
► abstractionMore 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)