Explain the characteristics oops briefly explain the basic concepts oops
|
|
||
---|---|---|---|
•The basic element of object oriented programming is the data.
•The programs are built by combining data and functions that operate on the data.
• This programming is lengthy, increases the complexity of program, difficult to understand and modify the program.
• This technique is used in a conventional programming language such as C and Pascal.
•An object is a collection of set of data known as member data and the functions that operate on these data known as member function.
•OOP follows bottom-up design technique.
|
||||||
---|---|---|---|---|---|---|
|
Programming | & | Object | Oriented |
Procedural Programming | Object Oriented Programming |
---|---|
|
|
|
|
|
|
|
•Class •Polymorphism
•Data abstraction
•Data encapsulation •Inheritance
IInd COMMERCE (B) |
---|
Objects
•Objects are basic building blocks for designing programs.•An object is a collection of data members and associated member functions.
•The objects can interact with within an object.
one another without having to know details of data or functions
•Classes are user defined data types. A class can hold both data and functions.
• For example: Planets, sun, moon are member of class solar system.
3 | P a g e
IInd COMMERCE (B) |
---|
•The existing class is known as base class or super class.
•There are two types of overloading viz.
oOperator Overloading oFunction Overloading •When an existing operator operates on new data type is called operator overloading.
•Binding is the process of connecting one program to another.
•Dynamic binding is the process of linking the procedure call to a specific sequence of code or function at run time or during the execution of the program.
•Message passing involves specifying the name of the object, the name of the function (message) and the information to be sent.
Advantage of OOP’s
•Easier to develop complex software, because complexity can be minimized through inheritance.
•OOP can communicate through message passing which makes interface description with outside system very simple.
•Polymorphism and dynamic binding also requires processing time, due to overload of function
Application of OOP’s
•Computer graphics applications.5 | P a g e
|
IInd COMMERCE (B) |
---|---|
******************************************************************************** |
CHAPTER 6 – Basic Concept of OOP’s BLUE PRINT | ||||
---|---|---|---|---|
VSA (1 marks) | SA (2 marks) | LA (3 Marks) | Essay (5 Marks) | Total |
- | 01 Question | - | 01 Question | 02 Question |
- | Question No 13 | Question No 30 | 07 Marks |
5 Marks Question:
1.Distinguish between procedural and object oriented programming. 2.Explain the characteristics of OOP’s.