CS304 Solved Grand Quiz 2020.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
- Type
- Quiz
- Coverage
- Quizzes & Objective Exam Scope
- Tags
- SOLVED, GRAND-QUIZ
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
- 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 Solved Grand Quiz 2020.pdf for free?
You can preview and download "CS304 Solved Grand Quiz 2020.pdf" (CS304 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs304-solved-grand-quiz-2020-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
For More Visit VUStudents.pk
CS304 Solved Grand Quiz 2020
Question No 1
a’A static member function can be called, when a class is not_____________.
Select Correct Option
✓ Declared
✓ Define
✓ Instantiated…………………(For More Visit VUStudents.pk)
✓ Called
Question No 2
The ______________ relationship indicated that an object contains other objects.
Select Correct Option
✓ be
✓ is-a
✓ has-a
✓ None of the above…………………(For More Visit VUStudents.pk)
Question No 3
A generalization relation between classes are implemented using
Select Correct Option
✓ Data hiding
✓ Friend classes
✓ Encapsulation
✓ Inheritance…………………(For More Visit VUStudents.pk)
Question No 4
A member function having the same name as that of a class and a ~ sign with it is called,
Select Correct Option
✓ Least independencies among modules
✓ Implementation independence
✓ Information hiding…………………(For More Visit VUStudents.pk)
✓ All
For More Visit VUStudents.pk
For More Visit VUStudents.pk
Question No 5
For classes with common behavior, you can save effort by placing the common behavior in a
________________.
Select Correct Option
✓ Derived Class
✓ Base Class…………………(For More Visit VUStudents.pk)
✓ Deprived Class
✓ Name Class
Question No 6
Which of the following are an advantage of OOP?
Select Correct Option
✓ OOP makes it easy to re-use the code
✓ It provides an ability to create one user defined data type by extending the other.
✓ It provides the facility of defining Abstract data types through which real world entities
can be defined better
✓ All of the above…………………(For More Visit VUStudents.pk)
Question No 7
A static member function cannot be declared
Select Correct Option
✓ Static
✓ Implicit
✓ Explicit
✓ Virtual…………………(For More Visit VUStudents.pk)
Question No 8
A C++ class is similar to:
Select Correct Option
✓ Library File
✓ Structure…………………(For More Visit VUStudents.pk)
✓ Header File
✓ None
For More Visit VUStudents.pk
For More Visit VUStudents.pk
Question No 9
Suppose that the Test class does not have an overloaded assignment operator. What happens
when an assignment a=b; is given for two Test objects a and b?
Select Correct Option
✓ The automatic assignment operator is used
✓ The copy constructor is used
✓ Compiler error…………………(For More Visit VUStudents.pk)
✓ Run-time error
Question No 10
Which operator can not be overloaded?
Select Correct Option
✓ The relation operator (>=)
✓ Assignment operator ( = )
✓ Script operator ( [] )
✓ Conditional operator ( ?: ) …………………(For More Visit VUStudents.pk)
Question No 11
We capture the object attributes and behavior in Object Oriented Programming using:
Select Correct Option
✓ Class
✓ Function…………………(For More Visit VUStudents.pk)
✓ Data Members
✓ Instances
Question No 12
A template provides a convenient way to make a family of
Select Correct Option
✓ Variables and data members
✓ Function and classes…………………(For More Visit VUStudents.pk)
✓ Classes and exceptions
✓ Programs and algorithms
For More Visit VUStudents.pk
For More Visit VUStudents.pk
Question No 13
What is true about function templates?
Select Correct Option
✓ The compiler generates only one copy of the function template
✓ The compiler generates a copy of function respective to each type of data
✓ The compiler can only generate copy for the int type data
✓ None of the given
Question No 14
If there is a pointer p to objects of a base class, and it contains the address of an object class and
both classes contain a novvirtual member function. Ding(), then the statement p->ding(); will
cause the version of ding() in the _________ class to be executed.
Select Correct Option
✓ Derived
✓ Base
✓ Abstract
✓ Virtual…………………(For More Visit VUStudents.pk)
Question No 15
Which is not the advantage of inheritance?
Select Correct Option
✓ Providing class growth through natural selection
✓ Facilitating class libraries…………………(For More Visit VUStudents.pk)
✓ Avoiding the rewriting of code
✓ Providing a useful conceptual framework
Question No 16
What problem(s) may occur when we copy objects without using deep copy constructor?
Select Correct Option
✓ Dangling pointer
✓ Memory Leakage
✓ System crash
✓ All of the given…………………(For More Visit VUStudents.pk)
For More Visit VUStudents.pk
For More Visit VUStudents.pk
Question No 17
To convert from a user-defined class to a basic type, you would most likely use.
Select Correct Option
✓ A built-in conversion operator
✓ A one-argument constructor
✓ An overloaded = operator…………………(For More Visit VUStudents.pk)
✓ A conversion operator that’s a member of the class
Question No 18
Friend functions are ____________ function of a class.
Select Correct Option
✓ Object member
✓ Non-member…………………(For More Visit VUStudents.pk)
✓ Data member
✓ None of the given
Question No 19
The statement objA=objB; will cause a compiler error if the objects are of different classes.
Select Correct Option
✓ True…………………(For More Visit VUStudents.pk)
✓ False
Question No 20
In object oriented programming, a class of objects cans___________ properties from another
class of objects.
Select Correct Option
✓ Utilize
✓ BorrowMore CS304 files
- CS 304 Quiz 1 27-Nov-2023 Sufyan JUTT.pdf.pdf (PDF · Quiz)
- CS 304P Quiz 1 21-Nov-2023 Sufyan JUTT.pdf (PDF · Quiz)
- CS304 GRAND QUIZ BY JUNAID.pdf (PDF · Quiz)
- CS304 GRAND QUIZ BY JUNAID.pdf (PDF · Quiz)
- CS304 GRAND QUIZ BY JUNAID.pdf (PDF · Quiz)
- CS304 GRAND QUIZ BY JUNAID.pdf (PDF · Quiz)
- CS304 Grand Quiz Spring 2021 Solved by Riz Mughall.pdf (PDF · Quiz)
- CS304 Grand Quiz Spring 2021 Solved by Riz Mughall.pdf (PDF · Quiz)