Skip to content
VUBuddy

CS304 Quiz File by VU Topper RM

Object Oriented Programming PDF 1.4 MBUpdated 23 Oct 2026
Quiz CS304 Quiz File by VU Topper RM PDF 1.4 MB
vubuddy.com
Type
Quiz
Course
CS304 Object Oriented Programming
Size
PDF 1.4 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 1.4 MB

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 42. Download the file for all 42 pages.

Q1. (Marks:1) Vu-Topper RM (1 marks)

A language feature that combines variables and methods in a single package is called _____ Encapsulation

Q2. Vu-Topper RM (1 marks)

__is a methodology that organizes a program into a collection of interacting objects. OOP

Q3. Vu-Topper RM (1 marks)

Every object hides its state and show through behavior. this concept is known as Information Hiding

Q4. Vu-Topper RM (1 marks)

Capture only those details about an object that are relevant to current perspective Abstraction

Q5. Vu-Topper RM (1 marks)

Which is not feature of OOP in general definitions…. Duplicate/Redundant data

Q6. Vu-Topper RM (1 marks)

What is the additional feature in classes that was not in structures?

Member functions

Q7. Vu-Topper RM (1 marks)

Who invented OOP…. Alan Kay

Q8. Vu-Topper RM (1 marks)

if we extend our model, and the rest of the model is not affected then it is called—

Flexibility Class

Q9. Vu-Topper RM (1 marks)

Suppose there is an object of type Person, which of the following can be considered as one of its attributes?

Name and Age

Q10. Vu-Topper RM (1 marks)

Which of the following is not true about constant member function?

All

Q11. Vu-Topper RM (1 marks)

Subtyping means that derived class is behaviorally _____________ with the base class. Compatible

Q12. Vu-Topper RM (1 marks)

___ is represented by a line with an unfilled diamond head towards the container.

Q13. Vu-Topper RM (1 marks)

Minimum classes required for implementing multiple inheritance: 3

Q14. Vu-Topper RM (1 marks)

Destructor is a function which has the same name as that of class, but starts with a-----sign. Tilda (~)

Q15. Vu-Topper RM (1 marks)

A good model is ................ related to a real life problem. Closely

Q16. Vu-Topper RM (1 marks)

How many objects are involved in the N-ary association?

more than 3

Q17. Vu-Topper RM (1 marks)

Q18. Vu-Topper RM (1 marks)

Compiler generated default constructor is called-----and user written--- default constructor is called__________________. Implicit, explicit

Q19. Vu-Topper RM (1 marks)

Which of the following is an advantage of encapsulation?

Better understanding

Q20. Vu-Topper RM (1 marks)

If some of objects exhibit identical characteristics, then they belong to: Different classes

Q21. Vu-Topper RM (1 marks)

Abstraction hides the---------details. Relevant

Q22. Vu-Topper RM (1 marks)

Polymorphism makes the system: All of the given option

Q23. Vu-Topper RM (1 marks)

If class B inherits from class A then it contains all characteristics of _. Class A

Q24. Vu-Topper RM (1 marks)

How the information hidden within an object can be accessed?

Q25. Vu-Topper RM (1 marks)

Which of the following depicts the proper definition of class?

A class is a description of a kind of object

Q26. Vu-Topper RM (1 marks)

Which of the following statement best describes the Constructor?

Constructor is used to initialize the data members of a class

Q27. Vu-Topper RM (1 marks)

________ is automatically called when the object is created. Constructor

Q28. Vu-Topper RM (1 marks)

Consider the statement” room has chair” which of the following type of Association exists between whom and chair?

Q29. Vu-Topper RM (1 marks)

The—— tells the compiler what task the function will be performing Function definition

Q30. Vu-Topper RM (1 marks)

Which of the following is a tangible entity Car

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.