CS304-MEGA-FILE-IMPORTANT-MCQ-2021.pdf
Verified academic study resource for CS304 (Object Oriented Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Mega Solved MCQs Question Bank) covers Full Course Curriculum 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
- Type
- MCQ Bank
- Coverage
- Full Course Curriculum
- Tags
- MCQ, IMPORTANT
Cross-verify solutions against official lecture handouts. Practice active recall before checking answers to ensure true concept retention.
What this file covers — CS304 syllabus roadmap
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
- 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-MEGA-FILE-IMPORTANT-MCQ-2021.pdf for free?
You can preview and download "CS304-MEGA-FILE-IMPORTANT-MCQ-2021.pdf" (CS304 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs304-mega-file-important-mcq-2021-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 Full Course Curriculum 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
MEGA FILS 304 MCQS VISIT VUSOLVED.COM FOR OTHER PAST PAPER 2021-2022
CS304 OBJECT ORIENTED PROGRAM 150+ SOLVED MCQS 2021-2022
VUSOLVED.COM
WEBSITE VUSOLVED.COM FACEBOOK JOIN GROUP
1. The default inheritance mode is,
a) Public inheritance
b) Protected inheritance
c) Private inheritance
d) None of the given
2. A template provides a convenient way to make a family of
a) Variables and data members
b) Functions and classes
c) Classes and exceptions
d) Programs and algorithms
3. Then int member i of base class is accessible in class,
a) derived 1 only
b) derived 2 only
c) both derived 1 derived 2
d) none of the given options
4. In case of public inheritance, protected members of base class will be in derived class?
a) Private
b) Public
c) Protected
d) Hidden
5. By default, assignment operator (=) performs,
a) Shallow copy
b) Deep copy
c) Both of these
d) None of these
6. In protected inheritance the public members of base class become _ in derived class.
a) Public
b) Private
c) Protected
d) None of the given
7. Compiler can automatically generate the following constructor/s for a class,
a) Default constructor
b) Copy constructor
c) Both of these
d) None of these
8. Friend’s functions of class are _ members of that class.
a) Public
b) Private
c) Protected
d) None of the given
9. Methodologies to the development of reusable software relate to .
a) Structure programming
b) Procedural programming
c) Generic programming
d) None of the given
10. Function overriding is done in context of,
a) Single class
b) Single derived class
c) Single base class
d) Derived and base classes
PAGE 1
if you find any mistake so please inform us, our team will fix it as soon as possible.
Email: NadeemTrick88@gmail.com Facebook Group: Join Facebook Group, Website: VUSOLVED.COM
11. Which of the following is not type of inheritance in c++?
a) Public
b) Protected
c) Restricted
d) Private
12. If there is a pointer, p, to objects of a base class and it contains the address of an object of a derived class and both classes contain a
virtual member function, ding(),then the statement p-
>ding(); will cause the version of ding in the class to be executed.
a) Base
b) Derived
c) Virtual
d) Implemented
13. Target class of a function call is determined t run time.
a) Instance
b) Virtual
c) Operator
d) None of the given
14. To make a pure virtual, we need to give _after() of this function.
a) =0;
b) =1;
c) Null;
d) None of the given
15. If we have not given any constructor for the class, compiler generates which of the following constructors?
a) Emplicit Default Constructor
b) Implicit Default Constructor
c) Emplicit Parameterized Constructor
d) Implicit Parameterized Constructor
16. In c++ by default access of classes is .
a) Private
b) Protected
c) Public
d) None of the given
17. In public inheritance the public members of base class become in derived class
a) Private
b) Protected
c) Public
d) None of the given
18. A class hierarchy
a) Shows the same relationships as a organization chart
b) Describe “has a “relationship.
c) Describe “is a kind of” relationship.
d) Shows the same relationships as a family tree.
19. In private Inheritance the public members of the base class become in derived class
a) Public
b) Private
c) Protected
d) None of the given option
20. In the line No.2, which constructor of student class will be
a) Default constructor of student class
b) Copy constructor of student class
c) Both Default and Copy constructor of student class
d) No constructor will be called
21. Which of the following is Not casting operator in c++ standard?
a) Static-cast
b) Var-cast
c) Dynamic-cast
d) Reinterpret-cast
PAGE 2
if you find any mistake so please inform us, our team will fix it as soon as possible.
Email: NadeemTrick88@gmail.com Facebook Group: Join Facebook Group, Website: VUSOLVED.COM
22. Which of the following type of inheritance is used to model “Implemented in terms of” relationship?
a) Public
b) Private
c) Protected
d) Confidential
23. When we want to implement one class in terms of another class then we use,
a) Public inheritance
b) Protected inheritance
c) Private inheritance
d) None of these options
24. Public inheritance represents;
a) “IS A “relationship
b) “Has A” relationship
c) “IS Special kind of” relationship
d) None of these option
25. Suppose we have defined derived class copy constructor but have not defined base class copy constructor then compiler will,
a) Use base class default constructor
b) Generate base class copy constructor itself
c) Use base class assignment operator
d) Nine of these options is correct
26. Child class can call constructor of its
a) Direct base class
b) Indirect base class
c) Both direct and indirect base classes
d) None of these
27. We can have type of member functions in a class.
a) Public
b) Private
c) Protected
d) All of these options
28. Compiler generated copy constructor performs
a) Shallow copy
b) Deep copy
c) Both Shallow and Deep copy
d) None of these options
29. Target class of a function call is determined at run time.
a) Instance
b) Virtual
c) Operator
d) None of the given
30. Suppose person is a user defined class. In statement “Person*pPtr”, static type of pPtr is ----.
a) pPtr
b) pointer
c) person
d) None of the given
31. Which statement is true for concrete class?
a) It cannot be inherit from an abstract class
b) It can be instantiated
c) It cannot be instantiated
d) None of given
More CS304 files
- CS304 CURRENT PAPER BY Qalb-e-Momin.pdf (PDF · MCQ Bank)
- CS304 CURRENT PAPERS FALL 2021 SOLVED BY ADIL ALVI.pdf (PDF · MCQ Bank)
- CS304 Mega MCQS-1.pdf (PDF · MCQ Bank)
- CS304 Mega MCQS-2.pdf (PDF · MCQ Bank)
- CS304 Mega MCQS.pdf (PDF · MCQ Bank)
- CS304 Mega MCQS.pdf (PDF · MCQ Bank)
- CS304 Mega MCQS.pdf (PDF · MCQ Bank)
- CS304 Sample Paper Soled by Qalb-e-Momin.pdf (PDF · MCQ Bank)