- Type
- Quiz
- Course
- CS304 Object Oriented Programming
- Size
- PDF 303 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, 3, 4 of 26. Download the file for all 26 pages.
CS304 QUIZ 1 SOLVED
Q1. A function call is resolved at run time in
Correct answer: Virtual member function
Q2. If the user does not specify the type if inheritance, then the default type of inheritance is
Correct answer: Private inheritance
Q4. Then int member i of base class is accessible in class,
Correct answer: derived 2 only
- In case of public inheritance, protected members of base class will be in derived class?
Correct answer: Protected
Q6. By default assignment operator (=) performs,
Correct answer: Shallow copy
Q7. In protected inheritance the public members of base class
Correct answer: Protected
Q8. Compiler can automatically generates the following constructor/s for a class,
Correct answer: Both of these
Q9. Friend’s functions of class are _ members of that class.
Correct answer: Private
Q10. Methodologies to the development of reusable software relate to .
Correct answer: Generic programming
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.