Skip to content
VUBuddy

CS304 Grand Quiz by Junaid

Object Oriented Programming PDF 267 KBUpdated 23 Oct 2026
Quiz CS304 Grand Quiz by Junaid PDF 267 KB
vubuddy.com
Type
Quiz
Course
CS304 Object Oriented Programming
Size
PDF 267 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 267 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, 4 of 14. Download the file for all 14 pages.

CS304 GRAND QUIZ · SR · NO · MCQS QUESTION · ANSWER

In expression c1*c2+c3-c4 which of the following will be executed in first order C1*c2

Inheritance is a way to Add features to existing classes without rewriting them --------------- represent “IS A ”relationship Constructor without any parameter is called: Default constructor

Which of the following stores the address of a variable? Pointer

A Post-fix unary operator is implemented in C ++ using Member function with 1 dummy int argument

Which of the following statement(s) describe constant member functions? composition is a strong relation relationship because Composed object cant exist independency How many interactions are there in the following scenario Imran has the car. he drive the car and car has four wheels and doors if we extend our model ,and the rest of the model is not affected then it is called------ Flexibility

choose correct declaration of overload*=1 operator for class complex as Member function Complex and operator*=(const complex & c) Consider the following class A{int a,b,c; A,b,c public: A():B(10),C(0)a(7) }; Class is a blue print of Objects Suppose we have a class student which of the following statement is correctly declaring the pointer to the object of student class? Student*object

In c++ composition is relationship between -------and------objects Whole, part

Which of the following Depicts the proper definition of class? a class is description of a kind of object in class attributes are represented by ---- and------ respectively data member, Member function which of the following represents the two Association Employee works for the company Entities in OO model are represented by Rectangle Which of the following features of OOP is used to derive a class from another? In C ++ which of the following is defined as a stream insertion operator? choose the correct declaration of overloaded equality (==)operator for class string as a Member function Bool operator==(const string and s)

---- is the relationship between the part object and the whole object object hides its information from others this concept is known as

in abstraction provides information according to user perspective

which of the following is not an object Association which of the following classes are used by amphibious vehicle to inherit both land and water vehicle characteristics both states and

choose correct declaration of overloaded inequality operator for class string as non friend pool operator ! =(const string &s1,const string &2) How many objects of a given class may be constructed in an application? as many as the application ask for how many objects of a given class may be constructed in an application as many as the application ask for Which of the following statements describe constant member functions? student *ptr=new student(" Ali"); is an static memory allocation in------- base class can be replaced by the derived class extension

Which of the following is a correct way of declaring constant variable ROLLNO? cosnst int Roll no;

which of the following operator doesn't take argument hit overloaded none of the given choices which of the following is part of the Class diagram a child inherits characteristic from its parent which of the following issues can be caused by the use of friend function programming Bugs

which of the following is not true about constant number function Which one is not the main features of object oriented programming? exception handling

messages

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.