You are on page 1of 2

ATMIYA INSTITUTE OF TECHNOLOGY & SCIENCE SUB:-OOCP Question Bank

1 2

Explain any four characteristics of object oriented programming. List out the different storage class in C++?

3What is difference between #define and const keyword?


3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

What is difference between call by value, call by address and call by reference? Explain early(static) and late(dynamic) binding. What is OOP? Discuss it in contrast with procedure oriented programming language. What is reference variable? Explain return by reference. Explain different access specifiers in C++ with its derived class visibility. What are the differences between constant pointer and pointer to constant Explain pointers to pointers. What is pointer to void? Explain this pointer. Write the difference between static and dynamic memory allocation and explain malloc() and free() function. State the advantages of dynamic memory allocation What is default argument? Explain with example. Explain inline function. List out the situation where inline function can not be used? Compare inline function and macro. Explain friend function.. Discuss whether friend function violates data hiding concept of C++. Explain friend function and friend class with example. Explain static members. Explain constructors with example Explain overloaded constructor with example. Explain the copy constructor and overloaded assignment operator with suitable example. Explain constructor with default arguments? Explain destructor with example. Explain constructor with default arguments? Explain containership with example. Explain operator overloading with its advantages. List out the operators which can not be overloaded. What are the pitfalls of operator overloading. Explain function overloading and function overriding with suitable example. List and explain the reasons for overriding operations. What is inheritance? Explain its need

33 34 35 36 37 38 39 40 41 42 43

44 45 46 47 48 49 50 51 52

Explain all types if inheritance in detail. Explain private, public and protected inheritance Explain virtual function and virtual base class in detail. What is abstract base class? List rules for virtual function. Explain object model, dynamic model and functional model. Explain relation of functional to object and dynamic model Explain link and association. Give example of binary and ternary association Define following terms and give their notations. Process, data flow, actor, data store. Give one example of data flow diagram. Differentiate between generalization and aggregation. Prepare object diagram showing at last ten relationships among following object classes. Include associations, aggregations and generalizations. Use qualified association and show multiplicity balls in your diagram (file system, file directory, file name, owner, authorized user, ASCII file, executable file, directory file, disk drive, floppy, CD, track, sector, cylinder Define the following terms Method Attributes Constraints Operations Action Activity Events and state

You might also like