X

CS2311 Object Oriented Programming Question Bank : valliammai.co.in

Name of the College : Valliammai Engineering College
Subject : Object Oriented Programming
Website : valliammai.co.in
Document Type : Question Bank

Download Model/Sample Question Paper :
Question Bank
: https://www.pdfquestion.in/uploads/valliammai.co.in/240-CS2311-Object%20Oriented%20Programming.pdf

Valliammai Object Oriented Programming Question Paper

V SEM EEE 1 & 2
QUESTION BANK

UNIT – I

PART-A
1. What are the programming paradigms currently available?
2. What is object oriented paradigm?
3. What are the differences between structures and classes in C++?

Related : Valliammai Engineering College EC2311 Communication Engineering Question Bank : www.pdfquestion.in/243.html

4. Differentiate Object Oriented and Object Based Programming Languages.
5. What is Object Oriented Programming? How is it different from the Procedure Oriented Programming?
6. List any two drawbacks of procedure oriented languages. 7. What is meant by prototype based programming?
8. What is a Class? What is an Object? Give an example for each
9. Define encapsulation.
10. Compare inheritance and delegation with respect to Object Oriented Programming.


11. Which feature of object oriented programming provides (a) data hiding (b) reusability?
12. Define (a) Object (b) class
13. What is the use of scope resolution operator :: in C++?
14. Can you have a class named main in C++? If yes how do you call its constructor?
15. What is an abstract class? 16. What is Object Orients Programming? List any four OOP languages.
17. What is meant by function overloading?
18. What are conditional constructor and destructor?
19. What is nameless object? 20. Give a note on access specifiers.

PART B-  UNIT I
1. Describe the basic concepts of Object Oriented Programming and bring out the advantages of OOP.
2. Explain the declaration and defining a class in C++. How will you define the member functions of a class? Explain.
3. What is the need for parameterized constructors? Explain the function of constructors with their declaration and definition inside a class.
4. Illustrate the reserved word inline with two examples.
5. Explain the constructors and destructors.
6. explain the relation between (i)structured Programming(POP) and (ii)OOPs
7. Differentiate Object Oriented and Object based Languages.(8)
8. Explain copy constructor? Explain with a suitable example.
9. Differentiate Object Oriented and Object based Languages. Give examples for both. List any 8 features of Oops. (Detailed explanation or examples are not required).
10. Explain the following terms with respect to OOPS .Give suitable examples
(i) Dynamic Binding (ii) Message Passing (iii) Reusability (iv) Polymorphism

UNIT II

PART-A
1. Define interfaces in java .How interfaces are implemented? How they can be accessed? How to apply interfaces? What is meant by extension of interfaces? Explain with an example.
2. What are threads? Synchronization? Explain the life cycle of thread with example
3. Explain life cycle of applet with example
4. Explain in detail exception handling in java
5. Explain in detail about JAVA I/O operations
6. Explain Inheritance in JAVA
7. Develop a real-life application program to illustrate the use of multithreads.
8. Explain with an example how multiple inheritances is achieved in Java.
9. How is synchronization of threads performed?
10. An educational institution wishes to maintain its employee’s database which is divided into a number of classes with minimum information as shown in figure. Specify all the classes and define methods to create the database and retrieve individual information as when required.
11. Explain the life cycle of an applet and write a simple applet to display a moving banner.
12. What is the purpose of garbage collection in Java, and when is it used?
13. Give the importance of operator overloading.
14. Differentiate overloaded and overridden functions.
15. What is the main purpose of a template in C++? Give an example.
16. Write a program to exchange values of two variables. Use template variables as function arguments.
17. What is hierarchical inheritance?
18. What are the operators of C++ that cannot be overloaded?
19. Can friendship between classes be symmetric or transitive? Justify your answer with an example.
20. What is the use of virtual function?

UNIT II – PART-B

1. What is operator overloading? How will you define it? Illustrate unary operator overloading with an example.
2. Describe the syntax of multiple inheritance. When do we use such an inheritance? Explain with an example.
3. Define friend class and specify its importance. Explain with suitable example.
4. Explain the operators used for dynamic memory allocation with examples.
5. Define functional overloading with example.
6. Explain in detail the various types of Inheritance with example programs
7. Explain virtual function in C++. Describe any two applications in which virtual functions may use. For each of these applications, specify the parent classes and derived classes.
8. What are inline functions? What are their advantages? Give an example .What is the rules to be followed while defining inline functions?
9. What is the need for and advantages of Templates? What is the difference between function template and class template?
10. What are the various type conversions? Explain each with a program

Muthukalee:
www.pdfquestion.in © 2022 Contact Us   Privacy Policy   Site Map