- Type
- Quiz
- Course
- CS304 Object Oriented Programming
- Size
- PDF 1.2 MB
- 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 2, 3, 4 of 14. Download the file for all 14 pages.
FOR FINAL TERM VISIT MY SITE:
- A function template must have a parameter
- True
- False
- Child class can call constructor of its,
Direct base class
- Indirect base class
- Both direct and indirect base classes
Q3. Which statement will be true for concrete class?
- It implements an virtual concept.
It can be instantiated
- It cannot be instantiated
- A class D can be derived from a class C, which is derived froma class B, which is derived from a class A
- True
- False
- Adding a derived class to a base class requires fundamental changes to the
- True
- False
- A Class or class template can have member ___________ that are themselves templates.
- Variable
Function
- Objects
Q7. Which will be the Primary task or tasks of generic programming?
- Categorize the abstractions in a domain into concepts
- Implement generic algorithms based on the concepts
- Build concrete models of the concepts
All of given
- The default inheritance mode is,
- If there is a pointer, p, to objects of a base class, and it contains the address of an object of a derived class, and both classes contain a virtual member function, ding(), then the statement p->ding(); will cause the version of ding() in the __________class to be executed.
- Base
- Derived
Virtual
- Implemented
- Sender of the message does not need to know the exact class of receiver in________.
- Abstraction
Polymorphism
- Inheritance
- A template provides a convenient way to make a family of
variables and data members
functions and classes
classes and exceptions programs and algorithms
- A class template may inherit from another class template.
True
False
- 1Target of a _____ function call is determined at run time.
instance
virtual
operator
- A class hierarchy
shows the same relationships as an organization chart. describes “has a” relationships. describes “is a kind of” relationships. shows the same relationships as a family tree.
- Sender of the message does not need to know the exact class of receiver in______.
Abstraction
Polymorphism
Inheritance
Related CS304 files
All CS304 files →- CS304 Solution 1 by Junaid Quiz DOCX 83 KB
- CS304 Quiz 1 Lectures 1-10 by Junaid Quiz PDF 1.1 MB
- CS304 Highlighted Handouts Lectures 1-45 Highlighted PDF 7.7 MB
- CS304 Final Term Past Paper Spring 2010 Final term ZIP 15 KB
- CS304 Short Notes Quiz PDF 1.7 MB
- CS304 Solved Quiz 1 2021 by Elon Musk Quiz PDF 1.7 MB
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.