Uploaded by Banu Priya M

CIA 11

advertisement
P.K.R. ARTS COLLEGE FOR WOMEN
(Accredited with ‘A’ Grade by NAAC)
An Autonomous Institution – Affiliated to Bharathiar University
Gobichettipalayam-638 476
PROGRAMMING IN C++
Class: I BSC (CS), IT, BCA
MAX MARKS: 75
SECTION – A
1. Define: Object oriented programming
2. List out the applications of oop.
3. Write any four oop languages.
4. What are memory management operators?
5. Define: Constructor
6. What do you mean by copy constructor?
7. What are the C++ operators cannot be overloaded?
8. What is inheritance?
9. What is pointer?
10. What do you mean by Abstract class?
TIME: 3 Hrs
10 * 2 = 20
SECTION – B
5 * 5 = 25
11.a) Differentiate procedure oriented and object oriented programming. (OR)
b) Write down the benefits of oop.
12.a) Explain the user defined data types. (OR)
b) With suitable examples, explain various if statements.
13.a) Explain about Inline function . (OR)
b) Write an example, explain multiple constructors in a class.
14.a) Explain Unary operator overloading . (OR)
b) Write a note on single inheritance.
15.a) Write down the rules for overloading operators . (OR)
b) What is Array of pointers? Explain.
SECTION – C
3 *10 = 30
Answer any Three questions
16. Explain the basic concept of object oriented programming.
17. Discuss about various looping structures with examples.
18. Give a brief note on the following: i. Array of objects ii. Friendly functions
19. Explain the overloading binary operators using friends.
20. With suitable examples, explain multilevel and multiple inheritance.
********** ALL THE BEST**********
Download