- Type
- Quiz
- Course
- CS304 Object Oriented Programming
- Size
- PDF 338 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 5. Download the file for all 5 pages.
CS304 Quiz No.2 Spring 2020 by MCS of Virtuallians
Q1. The parameters given in temple definition other than those used for mentioning templates types are called ________
Q2. Which of the following is the correct way to define a template class X?
Q3. In resolution order of function template, compiler searches for _______in the end
Q4. ___________may inherit from a complete specialization
Q5. Which of the following may inherit form the ordinary class?
Q6. Which of the following is a sequence container?
Q7. Each ____________of a template class by default becomes function template
Q8. When we specialize a function template, it is called __________________
Q9. Which of the following is NOT an associative container?
Q10. A ____________is a pointer which is declared outside the ________
Q11. Which of the following are collectively referred to as the first class containers?
Q12. ________ class is a single class that provides functionality to operate on different type of data
Q13. Which of the following can be passed as type argument to template?
Q14. Which of the following is known as Dereference operator in C++?
Q15. We can change behavior of template using___________
Q16. Which of the following represents partial specialization?
Q17. When we declare template function as friend of any class, then which of the following specialization(s) of template function also become friend of the class granting friendship?
Q18. In statement “template <class T, class U, int I = 5>” then non-type parameters is
Q19. Which of the following is the correct syntax for passing two type argument to a template?
Q20. Which of the following represents complete specialization?
Q21. Which of the following is/are the key component of standard template library?
Q22. Which of the following statement is true about partial specialization?
Q23. Which of the following is correct code portion to initialize static data member “value” of int type for class X?
Q24. When we want to have exactly identical operations on different data type, ________are used
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.