- Type
- Quiz
- Course
- CS304 Object Oriented Programming
- Size
- PDF 857 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 of 2. Download the file for all 2 pages.
Q1. Which of the following is NOT an access specifier in C++?
Correct answer: hidden
Q2. Which of the following statements shows the inheritance relationship?
Correct answer: Doctor is a person.
Q3. cout is an object of ____ class.
Correct answer: ostream
Q4. “Object hides its information from others”, this concept is known as ________.
Correct answer: Information Hiding
Q5. Generalization is _________ approach.
Correct answer: Bottom-up
Q6. Inheritance is a way to _________________.
Correct answer: add features to existing classes without rewriting them
Q7. Generalization is implemented through ____________.
Correct answer: Inheritance
Q8. Identify the abstract class from the given statement: "Vehicle class is base class. Bus, Car, and Truck are derived classes."
Correct answer: Vehicle
Q9. In OOP, which of the following feature is used to derive a class from another class?
Correct answer: Inheritance
Q10. Static Data Member of a class is declared ___________.
Correct answer: Inside the class
Related CS304 files
All CS304 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.