Skip to content
VUBuddy

CS304 Midterm Subjective by VU Topper RM

Object Oriented Programming PDF 440 KBUpdated 23 Oct 2026
Midterm past paper CS304 Midterm Subjective by VU Topper RM PDF 440 KB
vubuddy.com
Type
Midterm past paper
Course
CS304 Object Oriented Programming
Size
PDF 440 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 440 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 2, 3 of 3. Download the file for all 3 pages.

Very Important Topics with Question.

  1. Super class.
  2. Inheritance.
  3. Association.
  4. Aggregation.
  5. Friend function.
  6. Classes objects.
  7. Binary operator.
  8. Types of pointers.
  9. Conceptual schema.

10) What’s Encapsulation.

11) Constructor destructor.

12) Example of specialization.

13) Syntax default constructor.

14) Polymorphism with example.

15) What is behavior and attribute.

16) Static and non-static data member.

17) Correct syntax of operator overloading.

18) Write Program b/w equality and inequality.

19) What symbol is used to get input stream (>>).

20) Which symbol is used to get the address of a pointer

variable. 21) Behavior and u must find only common attributes and

behavior.

22) Classes of circle, triangle, and rectangle were given

with attributes.

23) Write a program X and Y were given. Asked to apply

24) Country, city, Pakistan, Karachi, USA, China, New

York create inheritance diagram.

25) Info was given, differentiation was asked b/w classes

in terms of base and derived class.

26) What is better struct aur class to be best barrier for

change propagation and explain how?

27) Program was given, there was an error of self-

assignment, asked to find it and explain the solution for it.

28) Write C++ code for overloaded Equality (==) and

Inequality (!=) operators in the context of Distance class.

All CS304 files →
CS304 Object Oriented Programming All CS304 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.