CS304P Midterm MCQs 2024 by Miss Mehwish
- Type
- Midterm past paper
- Course
- CS304P Object Oriented Programming (Practical)
- Size
- PDF 434 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 1, 2, 3 of 5. Download the file for all 5 pages.
Q1. How many entities are involved in a ternary relationship?
exactly 3 ✔️ More than 3 less than 3 3 or more
- Interaction of different objects in OO model is known as
Abstraction Association ✔️ Encapsulation
- Which of the following class cannot exist standalone in an object model? Concrete Class
Friend Class Derived Class Abstract Class ✔️
- Which of the following is used to achieve information hiding? Composition
Encapsulation ✔️ Aggregation
- aaa is a concept to extract common behaviours by using Bottom to Top approach. Subtyping
Generalization ✔️ Specialization Extension
Q1. How many entities are involved in a ternary relationship?
Correct option: B) more than 3
Q2. Which problem arises due to multiple inheritance, when the parent classes are also derived from the grandparent class?
Correct option: B) Diamond
Q3. Information hiding can be achieved through ______________. Options:
Correct option: D) Encapsulation, Abstraction
Q4. A Classroom class holds Students. Which of the following relationships best describe the above statement?
Correct option: C) Composition
Q5. ___________ is a concept to extract common behaviours by using Bottom to Top approach. Options:
Correct option: C) Generalization
Q1. Chair is a(an) ______ object and patent is a(an) _____ object.
Correct option: B) Tangible, Intangible
Q2. Which of the following can be the attribute of the Employee class?
Related CS304P files
All CS304P files →- CS304P Quiz 3 Set 2 Quiz PDF 855 KB
- CS304P Final Term Lab Quiz 8 by Team Aiza Final term PDF 589 KB
- CS304P Final Term General Quiz 3 July 2023 by Miss Mehwish Final term PDF 545 KB
- CS304P Final Term Quiz 3 by Wasi Final term PDF 656 KB
- CS304P Final Term Past Papers by VU Stars Final term PDF 2.1 MB
- CS304P Final Term Lab Quiz 8 by Wasi Final term PDF 673 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.