CS304 Final Term MCQs by VU Topper RM
- Type
- Final term past paper
- Course
- CS304 Object Oriented Programming
- Size
- PDF 633 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 2, 3, 4 of 28. Download the file for all 28 pages.
Q1. Vu-Topper RM (1 marks)
Which of the following statement is true about partial specialization?
Correct answer: Both class templates and function template can have partial specialization.
Q2. Vu-Topper RM (1 marks)
In C++ generic programming is done using_________ A. Packages
B. Templates
C. Procedures D. None of the given
Q3. Vu-Topper RM (1 marks)
When we want to have exactly identical operations on different data types, ______________ are used. A. Function Overriding
B. Function Template
C. Function Overloading D. None of the given options
Q4. Vu-Topper RM (1 marks)
Each ___________ of a template class by default becomes function template. A. Object B. Date member C. Type parameter
D. Member function
Q5. Vu-Topper RM (1 marks)
Which of the following may inherit from an ordinary class?
Correct answer: All of given option
Q6. Vu-Topper RM (1 marks)
___________ may inherit from a complete specialization.
A. All of the given
B. Ordinary class C. Partial specialization D. Complete specialization
Q7. Vu-Topper RM (1 marks)
In resolution order, compiler searches for _________ firstly. A. Generic template
B. Ordinary function
C. Partial specialization D. Complete specialization
Q8. Vu-Topper RM (1 marks)
In case of template specialization, if compiler cannot find required complete specialization then it searches for some
A. General template B. None of the given C. Complete template
D. Partial specialization
Q9. Vu-Topper RM (1 marks)
A class template ____________
A. Facilitates reuse of class
B. Does not support static members C. Dose not facilitates reuse of class D. Does not support generic methods
Q10. Vu-Topper RM (1 marks)
Which of the following represents partial specialization?
Correct answer: Template<classT,classu,int>
Q11. Vu-Topper RM (1 marks)
A template provides a convenient way to make a family of
A. Functions and classes
B. Classes and exceptions C. Programs and algorithms D. Variables and data members
Q12. Vu-Topper RM (1 marks)
We can change behavior of a template using __________. A. Class Templates B. Function parameters
C. Template parameters
D. none of the given options
Q13. Vu-Topper RM (1 marks)
_________________ class is a single class that provides functionality to operate on different types of data. A. Friend B. Ordinary
C. Template
D. None of the give options
Related CS304 files
All CS304 files →- CS304 Final Term Preparation MCQs by Qalb-e-Momin Final term PDF 17.1 MB
- CS304 Final Term MCQs Set 2 by VU Topper RM Final term PDF 634 KB
- CS304 Final Term Quiz Spring 2026 Final term PDF 602 KB
- CS304 Final Term Past Papers by Iqra Azhar Final term PDF 973 KB
- CS304 Highlighted Handouts Lectures 1-45 Set 2 Highlighted PDF 7.7 MB
- CS304 Quiz File 2023 by Danish Hanif Quiz PDF 5.6 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.