Code No. 3038
B.Sc. II-Semester (CBCS) Examination, May / June 2019
--- Content provided by FirstRanker.com ---
FACULTY OF SCIENCE
Subject : Computer Science
Paper - II
Programming in C++
Time : 3 Hours
--- Content provided by FirstRanker.com ---
Max. Marks: 80
PART - A (5 x 4 = 20 Marks)
Note : (Short Answer Type)
Answer any FIVE of the following questions.
- Explain Inline function with program.
- Explain the types of aggregation.
- State the rules associated with virtual functions. Explain.
- Explain the different types of stream.
- What is a template? Write the syntax of template in C++.
- What is an Exception? List out built-in exception names.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
PART - B (4 x 15 = 60 Marks)
Note: Answer ALL questions.
- (a) Explain about catching multiple exceptions with suitable program.
OR
(b) What is function template? Write a C++ program to swap two numbers using function template.
--- 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
--- Content provided by FirstRanker.com ---