- Explain looping statements in C++ with proper example.
- Explain function overloading. Write a program to illustrate the same.
- What are constructors? Write about types of constructors.
- What is a class? How classes provide data encapsulation?
- What are the various access specifiers in C++?
- Explain about different C++ unformatted I/O operations.
- Describe about rethrowing an exception in C++.
- Explain the overloading with function template.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
PART - B (4 x 15 = 60 Marks)
(Essay Answer Type)
Note: Answer all the questions.
- (a) Explain concepts of Object Oriented Programming with proper examples.
--- Content provided by FirstRanker.com ---
OR
(b) What is an array? Differentiate between one and two dimensional arrays. Write a C++ program to sort the given array numbers in ascending order. - (a) Explain Operator overloading as a concept of polymorphism. Write a program to overload operator + for adding two complex numbers.
OR
(b) Write in detail about friend functions and friend classes with proper programs. - (a) Write about inheritance and different types of inheritance in C++? Write a program to demonstrate multiple inheritance.
OR
(b) What are stream classes? Explain formatted I/O operations with example program. - (a) What is an exception? What happens if exceptions are not handled? Explain exception handling in C++.
OR--- Content provided by FirstRanker.com ---
(b) Write a C++ program to demonstrate class template.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: OU B-Sc Last 10 Years 2010-2020 Question Papers || Osmania University