Skip to content
VUBuddy

CS304 Solved Grand Quiz 2020

Object Oriented Programming PDF 156 KBUpdated 23 Oct 2026
Quiz CS304 Solved Grand Quiz 2020 PDF 156 KB
vubuddy.com
Type
Quiz
Course
CS304 Object Oriented Programming
Size
PDF 156 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 156 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 1, 2, 3 of 8. Download the file for all 8 pages.

CS304 Solved Grand Quiz 2020

Q1. a’A static member function can be called, when a class is not_____________.

  1. Declared
  2. Define
  3. Called

Q2. The ______________ relationship indicated that an object contains other objects.

  1. be
  2. is-a
  3. has-a

Q3. A generalization relation between classes are implemented using

  1. Data hiding
  2. Friend classes
  3. Encapsulation

Q4. A member function having the same name as that of a class and a ~ sign with it is called,

  1. Least independencies among modules
  2. Implementation independence
  3. All

Q5. For classes with common behavior, you can save effort by placing the common behavior in a

  1. Derived Class
  2. Deprived Class
  3. Name Class

Q6. Which of the following are an advantage of OOP?

  1. OOP makes it easy to re-use the code
  2. 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

Q7. A static member function cannot be declared

  1. Static
  2. Implicit
  3. Explicit

Q8. A C++ class is similar to:

  1. Library File
  2. Header File
  3. None

Q9. 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?

  1. The automatic assignment operator is used
  2. The copy constructor is used
  3. Run-time error

Q10. Which operator can not be overloaded?

  1. The relation operator (>=)
  2. Assignment operator ( = )
  3. Script operator ( [] )

Q11. We capture the object attributes and behavior in Object Oriented Programming using:

  1. Class
  2. Data Members
  3. Instances

Q12. A template provides a convenient way to make a family of

  1. Variables and data members
  2. Classes and exceptions
  3. Programs and algorithms
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.