- Type
- Quiz
- Course
- CS304 Object Oriented Programming
- Size
- PDF 1.4 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
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
Related CS304 files
All CS304 files →- CS304 Highlighted Handouts Lectures 1-45 Set 2 Highlighted PDF 7.7 MB
- CS304 Midterm MCQs Set 2 by VU Topper RM Midterm PDF 537 KB
- CS304 Quiz 2 by Smile Quiz PDF 467 KB
- CS304 Slides Lectures 1-45 Quiz RAR 14.4 MB
- CS304 Quiz 3 by VU Topper RM Quiz PDF 874 KB
- CS304 Solved Sample Paper by Qalb-e-Momin Quiz PDF 119 KB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.