0% found this document useful (0 votes)
4 views3 pages

DOCS35B

The document outlines an examination paper for a C++ programming course, consisting of three sections: Section A with 10 short answer questions, Section B with 5 detailed questions, and Section C with 3 essay questions. Topics covered include classes, objects, inheritance, file handling, and exception handling. The exam is designed to assess students' understanding of both theoretical concepts and practical applications in C++ programming.

Uploaded by

jsree1119
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

DOCS35B

The document outlines an examination paper for a C++ programming course, consisting of three sections: Section A with 10 short answer questions, Section B with 5 detailed questions, and Section C with 3 essay questions. Topics covered include classes, objects, inheritance, file handling, and exception handling. The exam is designed to assess students' understanding of both theoretical concepts and practical applications in C++ programming.

Uploaded by

jsree1119
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

NOVEMBER/DECEMBER 2021

DOCS35B — PROGRAMMING USING C++

Time : Three hours Maximum : 75 marks

SECTION A — (10 × 2 = 20 marks)

Answer ALL questions.

1. Distinguish between Classes and Objects.

2. What are Manipulators?

3. Define the term – Function overloading.

4. What is Recursion?

5. Define the term – Friendly functions.

6. What are Array of Objects?

7. Mention the use of Inheritance mechanism.

8. What are Virtual functions?

9. How to open and close a File?

10. Define the term – Exception.

4163
SECTION B — (5 × 5 = 25 marks)
Answer ALL questions.

11. (a) Compare and discuss about Procedure-


oriented and Object-oriented Programming
paradigms.
Or

(b) Describe the structure of a C++ program


using example.

12. (a) Discuss on Call by Value and Call by


Reference using examples.
Or

(b) Explain the method of Passing Arrays to


Function with an example.

13. (a) Describe the importance of Array of Objects


using example.
Or

(b) Discuss on the method of using Objects as


Function arguments.

14. (a) Explain the Overloading of Unary operator


with example.
Or

(b) Describe the importance of Virtual Base


class and Abstract class.
2 4163
15. (a) Discuss on File I/O Streams and File stream
operations.

Or

(b) Discuss on Sequential Input and Output


operations on Files.

SECTION C — (3 × 10 = 30 marks)

Answer any THREE questions.

16. Explain the basic concepts of Object-oriented


Programming.

17. Describe the use of Inline functions and Functions


with default arguments using example.

18. Discuss on the types of Constructors.

19. Explain the Multilevel, Multiple and Hierarchical


Inheritance mechanisms.

20. Describe the method of Exception handling,


throwing, and catching Exceptions.

———————

3 4163

You might also like