- Type
- Quiz
- Course
- CS304 Object Oriented Programming
- Size
- PDF 568 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 10. Download the file for all 10 pages.
WMIg3Q
CS304 QUIZ 1 SOLVED
Q1. Suppose we have defined derived class copy constructor but have not defined base class copy constructor then compiler will.
Correct answer: Use base class default constructor
Q2. In case of dynamic memory allocation in our class we should use
Correct answer: User defined assignment operator
WMIg3Q
Q3. The C++ code statement class A: public B shows ___ relationship.
Correct answer: Inheritance
Q4. Which of the following is TRUE.
Correct answer: Derived class pointer can be used as Base class pointer
Q5. Public Inheritance represents.
Correct answer: “IS A” relationship
WMIg3Q
c) “IS Special Kind of” relationship d) None of these options
Q6. In protected Inheritance the public members of base class become ___
Correct answer: Protected
Q7. Static casting is
Correct answer: C++ way of calling base class functions from derived class
Related CS304 files
All CS304 files →- CS304 Highlighted Handouts Set 4 by VUBuddy Highlighted PDF 3.8 MB
- CS304 Final Term Past Paper Spring 2005 Final term ZIP 15 KB
- CS304 Solution 1 by Junaid Quiz DOCX 83 KB
- CS304 Grand Quiz by Junaid Quiz PDF 267 KB
- CS304 Assignment 3 Solution Fall 2022 by VUBuddy Assignment DOCX 82 KB
- CS304 Notes by Sonu Ilyas Quiz PDF 832 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.