CS304P Quiz 2 by Iqra Azhar
- Type
- Quiz
- Course
- CS304P Object Oriented Programming (Practical)
- Size
- PDF 556 KB
- 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 of 3. Download the file for all 3 pages.
Information hiding can be achieved through ______________.
Encapsulation, Polymorphism Encapsulation, Abstraction Abstraction, Inheritance Abstraction, Overloading Encapsulation, Abstraction.
Interaction of different objects in OO model is known as
Inheritance Abstraction Association Encapsulation Association.
How many entities are involved in a ternary relationship?
less than 3 More than 3 3 or more exactly 3 entities There are two classes Cat and Dog. Behaviors of Cat class are eat() and meow().Behaviors of Dog class are eat() and bark().Which of the above behavior(s) could be extracted from this scenario as Generalization to create a new class?
bark() meow()
eat()
Is this conversation helpful so far?
Which problem arises due to multiple inheritance, when the parent classes are also derived from the grandparent class?
Loop Triangle
Diamond
Circle
Related CS304P files
All CS304P files →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.