Object Oriented Programming: Chapter 5: Templates and Exception Handling

Templates and Exception Handling: Important Part B Questions

C++ Object Oriented Programming

Object Oriented Programming: Chapter 5: Templates and Exception Handling: Anna University Part B Important Questions and Answers

Object Oriented Programming

Chapter 5: Templates and Exception Handling


Part B Important Questions and Answers


1. Explain the usage of templates in C++.

2. Describe templates and its types.

3. Explain function templates with an example.

4. Explain the concept of templates arguments using C++.

5. Explain the terms container, iterators and algorithms.

6. What is mutating and non mutating algorithms ?

7. Explain major categories of containers supported by STL

8. Explain the components of standard template library in detail.

9. Discuss about exception and its advantages.

10. What is exception? Explain the try‒catch and throw blocks in C++.

11. Explain about exception handling with example program.

12. Write an Illustrative program to handle multiple exceptions in C++.

13. Explain the use of catch all in exception handling in C++.

14. What are user defined exceptions? Explain with the help of illustrative examples.

 

Object Oriented Programming: Chapter 5: Templates and Exception Handling : Tag: Oops, Computer Programming : C++ Object Oriented Programming - Templates and Exception Handling: Important Part B Questions


Object Oriented Programming: Chapter 5: Templates and Exception Handling



Under Subject


Object Oriented Programming (OOPs)

CS25C07 2nd Semester CSE, CSE(CY) Depts | 2025 Regulation | 2nd Semester 2025 Regulation



Related Subjects


English Essentials II

EN25C02 2nd Semester | 2025 Regulation | 2nd Semester 2025 Regulation



Linear Algebra

MA25C02 2nd Semester | 2025 Regulation


Applied Physics (CSIE) II

PH25C03 2nd Semester AIDS, CSE, IT, CSE(CY) Dept | 2025 Regulation | 2nd Semester 2025 Regulation


Digital Principles and Computer Organization

CS25C06 2nd Semester AIDS, CSE, IT, CSE(CY) Dept | 2025 Regulation | 2nd Semester 2025 Regulation


Basic Electrical and Electronics Engineering

EE25C01 2nd Semester | 2025 Regulation | 2nd Semester 2025 Regulation


Object Oriented Programming (OOPs)

CS25C07 2nd Semester CSE, CSE(CY) Depts | 2025 Regulation | 2nd Semester 2025 Regulation


Re-Engineering for Innovation

ME25C05 2nd Semester | 2025 Regulation | 2nd Semester 2025 Regulation


Object Oriented Programming (OOPs) - Laboratory

CS25C07 2nd Semester CSE, CSE(CY) Depts | 2025 Regulation | 2nd Semester 2025 Regulation