Skip to content
VUBuddy

CS304P Midterm MCQs 2024 by Miss Mehwish

Object Oriented Programming (Practical) PDF 434 KBUpdated 23 Oct 2026
Midterm past paper CS304P Midterm MCQs 2024 by Miss Mehwish PDF 434 KB
vubuddy.com
Type
Midterm past paper
Course
CS304P Object Oriented Programming (Practical)
Size
PDF 434 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 434 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 5. Download the file for all 5 pages.

Past Papers for Mids./Finals are also Available · Cs304P · (Object Oriented Programming (Practical) )

Q1. How many entities are involved in a ternary relationship?

exactly 3 ✔️ More than 3 less than 3 3 or more

  1. Interaction of different objects in OO model is known as

Abstraction Association ✔️ Encapsulation

  1. Which of the following class cannot exist standalone in an object model? Concrete Class

Friend Class Derived Class Abstract Class ✔️

  1. Which of the following is used to achieve information hiding? Composition

Encapsulation ✔️ Aggregation

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

  1. less than 3
  2. more than 3
  3. exactly 3

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?

  1. Circle
  2. Diamond
  3. Loop
  4. Triangle

Correct option: B) Diamond

Q3. Information hiding can be achieved through ______________. Options:

  1. Encapsulation, Polymorphism
  2. Abstraction, Inheritance
  3. Abstraction, Overloading
  4. Encapsulation, Abstraction

Correct option: D) Encapsulation, Abstraction

Q4. A Classroom class holds Students. Which of the following relationships best describe the above statement?

  1. Aggregation
  2. Association
  3. Composition

Correct option: C) Composition

Q5. ___________ is a concept to extract common behaviours by using Bottom to Top approach. Options:

  1. Subtyping
  2. Specialization
  3. Generalization

Correct option: C) Generalization

Q1. Chair is a(an) ______ object and patent is a(an) _____ object.

  1. Tangible, Tangible
  2. Tangible, Intangible
  3. Intangible, Intangible
  4. Intangible, Tangible

Correct option: B) Tangible, Intangible

Q2. Which of the following can be the attribute of the Employee class?

  1. Roll Number
  2. Course
All CS304P files →
CS304P Object Oriented Programming (Practical) All CS304P 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.