CS304_Quiz_1_(1_to_10)__BY_JUNAID.pdf

Verified academic study resource for CS304 (Object Oriented Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Live Quiz Dumps & Solved Objective Bank) covers Quizzes & Objective Exam Scope 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
CS304 – Object Oriented Programming
Faculty
Computer Science
Format
PDF
Type
Study Resource
Coverage
Quizzes & Objective Exam Scope

Quiz questions often repeat with modified parameter values in both Midterm and Final exams. Practice with our 45-second timed simulator to master exam pacing.

What this file covers — CS304 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 CS304_Quiz_1_(1_to_10)__BY_JUNAID.pdf for free?

You can preview and download "CS304_Quiz_1_(1_to_10)__BY_JUNAID.pdf" (CS304 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs304-quiz-1-1-to-10-by-junaid-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 Quizzes & Objective Exam Scope 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 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-OOP

 SOLVED MCQS QUIZ 1

  LEACTURE (1 to 10)

Solved by JUNAID MALIK

             [DOCUMENT TITLE]
                       [DOCUMENT SUBTITLE]

                         MUHAMMAD JUNAID
                               [COMPANY NAME]
                               [Company address]

AL-JUNAID INSTITUTE OF GROUP
Kindly Visit My Site and Download CS304 Grand
                    QUIZ FILE
                 Vulmshelp.com
(If you want to Full Marks)
Question No 1:
Information hiding can be achieved through__________.
  1. Encapsulation, Inheritance
  2. Encapsulation, Polymorphism
  3. Encapsulation, Abstraction
  4. Overloading
Question No 2
A good model is ................ related to a real life problem.
  1. Loosely
  2. Openly
  3. Closely

Question No 3
Which of the following features of OOP is used to derive a class from
another?
  1. Encapsulation
  2. Polymorphism
  3. Data hiding
  4. Inheritance
Question No 4
Which of the following is a weak relationship between two objects?
  1. Inheritance
  2. Composition
  3. Aggregation
  4. None of given
Question No 5
Data items in a class must be private.
  1. True
  2. False
Question No 6
Which one is a class association

AL-JUNAID INSTITUTE OF GROUP
 1. Simple Association
 2. Inheritance
 3. Composition
 4. Aggregation

Question No 7
Suppose there is an object of type Person, which of the following can be
considered as one of its attributes
  1. Name
  2. Age
  3. Work()
  4. Both Name and Age
Question No 8
Which one is not an object association?
  1. Simple association
  2. Inheritance
  3. Aggregation
  4. Association
Question No 9
Using encapsulation we can achieve
Select correct option:
  1. Information hiding
  2. Least interdependencies among modules
  3. Implementation independence
  4. All of given options
Question No 10
In constant member function the type of this pointer is:
Select correct option:
  1. Constant pointer
  2. Constant pointer to object
  3. Constant pointer to class
  4. Constant pointer to constant object
Question No 11
Which of the following is the way to extract common behavior and attributes
from the given classes and make a separate class of those common behaviors
and attributes?

AL-JUNAID INSTITUTE OF GROUP
   1. Generalization
   2. Sub-typing
   3. Specialization
   4. Extension
Question No 12
The ability to derive a class from more than one class is called
   1. Single inheritance
   2. Encapsulation
   3. Multiple inheritance
   4. Polymorphism
Question No 13
If MyClass has a destructor what is the destructor named?
   1. MyClass
   2. ~MyClass
   3. My~Class
   4. MyClass~
Question No 14:
Class abc{ ----- }; Is a valid class declaration?
   1. yes
   2. no
Question No 15:
Without using Deep copy constructor, A ____________ problem can occur
   1. System crash
   2. Memory Leakage
   3. Dangling pointer
   4. All of the given
Question No 16:
If only one behavior of a derived class is incompatible with base class, then it
is:
   1. Generalization
   2. Specialization
   3. Extension
   4. Inheritance
Question No 17:
Which of the following may not be an integral part of an object?
   1. state
   2. behavior

AL-JUNAID INSTITUTE OF GROUP
  3. Protected data members
  4. All of given

Question No 18:
Only tangible things can be chosen as an object.
  1. True
  2. False
Question No 19:
Class is not a mechanism to create objects and define user data types.
   1. true
   2. false
Question No 20:
Memory is allocated to non-static members only, when:
   1. Class is created
   2. Object is defined
   3. Object is initialized
   4. Object is created
Question No 21:
The sub-object's life is not dependent on the life of master class in ___.
   1. Composition
   2. Aggregation
   3. Separation
   4. none of the given
Question No 22:
Unary operators and assignment operator are right associative.
   1. true
   2. false
Question No 23:
The >= operator can't be overloaded.
   1. true
   2. false
Question No 24:
___ is creating objects of one class inside another class.
   1. Association
   2. Composition
   3. Aggregation
   4. Inheritance

AL-JUNAID INSTITUTE OF GROUP

Question No 25:
If we are creating array of objects through new operator, then
   1. We can call overloaded constructor through new
   2. We can't call overloaded constructor through new
   3. We can call default constructor through new
   4. None of the given
Question No 26:
Object can be declared constant with the use of Constant keyword.
   1. true
   2. false
Question No 27:
__________ Operator will take only one operand.
   1. New
   2. int
   3. object
   4. none of the given
Question No 28:
Which of the following operator(s) take(s) one or no argument if overloaded?
   1. ++
   2. *
   3. %
   4. All of the given choices
Question No 29:
This pointer does not pass implicitly to __________ functions.
   1. Static Member
   2. Non-Static Member
   3. Instance Number
   4. None of the given
Question No 30:
Operator overloading is
   1. making C++ operators work with objects.
   2. giving C++ operators more than they can handle.
   3. giving new meanings to existing Class members.
   4. making new C++ operators

AL-JUNAID INSTITUTE OF GROUP

Question No 31:
Which of the following is TRUE,
   1. Derived class pointer can be used as Base class pointer
   2. Base class pointer can be used as Derived class pointer
   3. Both of these options
   4. None of these options
 Question No 32:
___________ Binding means that target function for a call is selected at run
time
   1. Automatic
   2. Dynamic
   3. Static
   4. Dramatic
 Question No 33:
When we want to implement one class in terms of another class then we use
   1. Public inheritance
   2. Protected inheritance
   3. Private inheritance
   4. None of these options
 Question No 34:
Consider the code below, class c1{ }; class c2 : public c1 { }; class c3 :
public c2 { }; Then c2 is
   1. Direct base class of c3
   2. Direct child class of c3
   3. Direct base class of c1
   4. None of these
Question No 35:
A parent class can call constructor of its child class through
   1. Its constructor initialization list
   2. Its constructor body

More CS304 files

All CS304 files · Midterm Prep 2026 · MCQs Bank