Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

SCAD GROUP OF ENGINEERING COLLEGES TIRUNELVELI, CHERANMAHADEVI, VAGAIKULAM 2010-2011 ODD SEMESTER INTERNAL ASSESSMENT TEST - I

B.E, Electronics and Communication Engineering, III SEM EC-33 Data Structures and Object Oriented Programming in C++ Time: 1.30 hours Marks: 50 Answer all questions PART-A (10 Marks) 1) 2) 3) 4) 5) Define Encapsulation. List out the application of OOPS. (2) (2) What is a Friend Functions? (2) What are templates? (2) What is the basic difference between private and protected? Max.

(2)

PART-B (40 Marks) 6) Explain Exception Handling. (OR) Explain the various tokens present in C++ (8) (8)

7) What is mean by Operator Overloading? Explain it types with separate programs. (16) (OR) Define a class to represent a bank account. Include the following members: (16) Data members: a. Name of the depositor b. Account number c. Type of account d. Balance amount in the account

Member functions: a. To assign initial values b. To deposit an amount c. To withdraw an amount after checking the balance d. To display name and balance Write a main program to test the program. 8) Explain the following with proper syntax: a. b. c. d. Class templates (4) Function templates (4) Overloading of template functions (4) Member function templates (4) (OR) Explain the following inheritance with suitable example program: a. Hybrid inheritance b. Multi-level inheritance (8) (8) (16) (16)

You might also like