StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

Object Oriented Programming - Research Paper Example

Cite this document
Summary
This research paper talks about the object oriented programming paradigm, its main concepts and principles (encapsulation, polymorphism, abstraction, dynamic binding and message passing) and how the paradigm may be applied to computer software or computer applications design…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER92.9% of users find it useful
Object Oriented Programming
Read Text Preview

Extract of sample "Object Oriented Programming"

Object Oriented Programming Object oriented programming (OOP) refers to a form of programming style or paradigm whose foundation is the representation of the programming concepts as objects. In OOP, the represented objects have specific data fields such as rows and columns in the design of databases (Ramsin and Richard 27). These fields are used in OPP as characteristics of an object that is presented through a programming language with object oriented attributes. In addition, objects within object oriented programming are represented via specified methods or procedures which are used to ensure that these objects are orderly and consistent depending on the purpose of the design or programming (Hadar and Uri 41). When programmers design computer software or computer applications, they achieve this by methods which cause objects to relate or interact with one another. Each object in this form of interaction is referred to as an instance of a particular class of objects. In object oriented programming, objects are those instances that are used to represent concepts. For example, the names Ruth, Jackie, Alice and Monica can be represented as objects in the design of a program for students in a girls’ school. On the other hand, classes in OOP represent concepts. For example “Girl” is a class within which the aforementioned objects fall. This illustrates that a class is used to capture the properties that are shared by objects in the process of object oriented programming. Therefore, classes are normally instantiated from the objects that are represented by a program design. In OOP, classes are visible within the source code of the program and this code is normally not duplicated (Ramsin and Richard 32). On the other hand, objects play the role of activating a program that is currently running as a result they occupy memory locations. Furthermore, a set of operations as presented within the class are owned by objects which means that objects in OOP own a copy of specific data that is held within the program. When a specific class within a program is a subtype of another higher level or general class, the subtype class in OOP is said to be inherited from the general class (Hadar and Uri 43). The subclass therefore inherits both member functions and the data members of the base class. In object oriented programming, inheritance particularly refers to the method of reusing a specific code that is held by various objects with an aim of establishing a lower level or subtype class below a general class. The creation of subtypes however depends on the supporting platform of the programming language that is used to design or program the application. The general classes in inheritance are referred to as base classes and it is from these classes that the subtype classes inherit various attributes. Base classes are also referred to as parent classes or super classes (Pefkaros 219). The subclasses that are derived from the parent classes are therefore referred to as child classes or derived classes. This illustrates that the patent and child classes are related within a structure which leads to a hierarchy. Encapsulation is a concept and principle in object oriented programming in which the designer of a program hides the manner in which an object behaves from the approach of implementation. Encapsulation also includes separation of the looks of an object or it appearance from the methods through which its behavior is implemented. Encapsulation emanates from the fact that objects within a program have well defined interfaces (Ramsin and Richard 31). These are the publicly accessible methods and fields. Therefore when information about objects is hidden below or behind a specific interface, it is then said that the design of a program has implemented encapsulation. This situation is also referred to as information hiding. It therefore is notable that in object oriented programming, programmers use interfaces as the most effective way through which behavior of objects are described. Polymorphism is another principle within object oriented programming process which refers to the process of dealing with a particular object without any need for awareness of the class within which it falls. Polymorphism is obviously therefore an extension of the concept of inheritance. Furthermore, polymorphism can also arise as a consequence of the process of inheritance in the design of a program or application. Polymorphism can also be understood as the property of a program in which it is able to take more than one forms. This means that a polymorphic program can be employed to represent objects of diverse or divergent types (Hadar and Uri 45). An operation within a program can for example depict divergent behaviors depending on the instances within which it is used. However, the behavior of such operation is reliant on the type of data which is being processes by the program. An addition operation is a good example that can demonstrate the meaning of a polymorphic program. The addition operation will generate a sum of two numbers in computing. However, if the given operands are in form of strings, the addition operation will come up with a third string through the process of concatenation. Data encapsulation and abstraction are related concepts in object oriented programming. Encapsulation refers to the processes through which functions and data are wrapped into one unit called a class. This concept is very important in OOP because the most significant characteristic of a class is the encapsulation of data (Giacaman and Oliver 238). Data encapsulation plays the role of ensuring that a specific set of data is only accessible by the functions of a program that are wrapped within a specific class. In this sense therefore the external world cannot access data from a different class. Therefore, encapsulation ensures that data is hidden and direct access to it by a specific program is restricted or limited. This concept is also known as data hiding. On the other hand, abstraction is the process through which essential features of a program without necessarily including or explaining any background details (Ramsin and Richard 25). Classes which employ abstraction are often described in line with their abstract characteristics or attributes. These attributed include function operate, weight, size and cost. These abstracts are also referred to as data members because of their role in holding data or information. Member functions or methods in object oriented programming are used to operate these abstracts and the related data sets. Dynamic binding is a concept within object oriented programming which describes the process of associating a specific procedure call to a code that requires be implementing or executing. This process often occurs in response to the procedure call (Hadar and Uri 46). Therefore, dynamic binding acts to ensure that the code of the procedure call is hidden until the run time and time of the actual call. This concept also has a close correlation to inheritance and polymorphism. For example, the type of dynamic reference determines the function call of a specified polymorphic reference point. Dynamic reference plays a significant role in interlinking and defining relationships within classes as defined by the inheritance methods and polymorphic points. Within an object oriented program, there is a concept called message passing. This reflects the group of object within a program which operates by communicating with one another. Object oriented programming process involves the creation of classes and the related objects in addition to the establishment of the method through which they communicate. This communication is achieved through the processes of transmitting and receiving data or information within the process or concept of message passing (Pefkaros 220). The design and development of information systems by programmers employs the concept of message passing to a large extent because of the role of such systems in the exchange and communication of data and information. In the modeling of systems, the message passing concept is applied in ensuring that the model is designed to match it real world application program or system. Objet oriented programming is a common and popular paradigm in the design and development of programs and systems because of its benefits. For example, inheritance allows programmers to achieve successful elimination of all redundant codes from programs. The working modules within object oriented programming also allow the designers and developers of systems or application programs to create them in a manner which make them appropriately to interrelate and communicate information or data in an effective manner (Dubey and Ajay 2726). Secure programs in object oriented programming are achieved through the concept of data hiding. Furthermore, object oriented programming is advantageous because interference in communication is prevented though the possibility of multiple instances in objects (Giacaman and Oliver 254). The capturing of a model’s details before it is implemented is made possible through object oriented programming paradigm through its data centered approach or design. More importantly, the management of software complexity is effective in the program development paradigm which employed object oriented approach. The common programming languages that are object oriented include C++ and Java. These languages are used with a view of implementing the concepts of OOP (Khoo 124). Therefore, a programming language must be able to illustrate absolute support for the various concepts within the OOP paradigm in order for it to be referred to as an OOP language. C++, which is a newer version and extension of C programming language, is object oriented and versatile. Because of this, it is used to develop large programs. C++ is also effective in implementing a wide variety of programming tasks. The various tasks in object oriented programming which are effectively achieved through C++ include databases, editors, communication systems, compilers and real life systems or applications (Dubey and Ajay 2728). C++ allows programmers to come up with objects that are related within a specific hierarchy and mapping problems within the real world. The benefits of programs or applications that are generated via C++ programming language are that these programs are both expandable and maintainable. This means that new features can easily and effectively added into a program or system that was generated through the implementation of C++ to achieve object oriented programming. Java is an OOP language whose syntax is derived from its predecessors C and C++. In the implementation of this program, class files are employed by programmers and these can be able to be run by any form of Java Virtual Machine regardless of the specific architecture or platform that is employed within a computer system (Khoo 123). This programming language was designed with a purpose of minimizing the dependencies of its implementation and in this sense, Java is a class based, general purpose and concurrent OOP language which allows programmers generate programs once for use within any platform. This means that there is no need for a recompilation for a program when the platform of its use changes (Giacaman and Oliver 235). In its different versions, Java depicts common principles which represent its benefits. These include its simplicity, robustness, security, portability and architectural neutrality in the programs that are designed through this OOP language. In addition, through Java, high performance is achieved within applications and programs. Works Cited Dubey, Sanjay Kumar, and Ajay, Rana. "A Comprehensive Assessment Of Object-Oriented Software Systems Using Metrics Approach." International Journal On Computer Science & Engineering (2010): 2726-2730. Web. 17 Dec. 2012. Giacaman, Nasser, and Oliver, Sinnen. "Parallel Iterator for Parallelizing Object-Oriented Applications." International Journal of Parallel Programming 39.2 (2011): 232-269. Web. 18 Dec. 2012. Hadar, Irit, and Uri, Leron. "How Intuitive Is Object-Oriented Design?" Communications Of The ACM 51.5 (2008): 41-46. Web. 17 Dec. 2012. Khoo, Benjamin. "A Process-Based Analysis of Object-Oriented System Analysis and Design." International Journal of Management and Information Systems 15.1 (2011): 123-130. Web. 19 Dec. 2012. Pefkaros, Kenneth. "Using Object-Oriented Analysis And Design Over Traditional Structured Analysis And Design." International Journal Of Business Research 8.2 (2008): 219-227. Web. 17 Dec. 2012. Ramsin, Raman, and Richard, Paige. "Process-Centered Review Of Object Oriented Software Development Methodologies." ACM Computing Surveys 40.1 (2008): 1-89. Web. 18 Dec. 2012. Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Object Oriented Programming Research Paper Example | Topics and Well Written Essays - 1750 words”, n.d.)
Retrieved from https://studentshare.org/information-technology/1465490-object-oriented-programming
(Object Oriented Programming Research Paper Example | Topics and Well Written Essays - 1750 Words)
https://studentshare.org/information-technology/1465490-object-oriented-programming.
“Object Oriented Programming Research Paper Example | Topics and Well Written Essays - 1750 Words”, n.d. https://studentshare.org/information-technology/1465490-object-oriented-programming.
  • Cited: 2 times

CHECK THESE SAMPLES OF Object Oriented Programming

Computer Programming: The Advantages of Object Oriented Programming

The author also analyzes the statement that 'to operate' a computer is far easier, yet less powerful, than 'to program' a computer and discusses the advantages of object-oriented programming.... hellip; An entry-level programming job is preferred by the students, new graduates, and part-time workers.... In this scenario, the entry-level programming job offers a basic step towards the enhancement of personal skills regarding the concerned profession....
6 Pages (1500 words) Assignment

Procedural programming languages and object oriented programming language

Procedural programming is simply an approach to programming and the… However it should be noted that it is possible to write an object oriented code using a procedural language like turbo C, similarly it Procedural programming languages and Object Oriented Programming language Introduction: Object oriented languages and procedural programming languages are basically two different paradigms based on two different thought processes.... Procedural programming is simply an approach to programming and the languages that support this methodology are called procedural programming languages, as is the case with Object Oriented Programming languages....
2 Pages (500 words) Essay

Object Oriented Programming

There are two paradigms that are followed to write computer programs: ‘procedural' or of the of the of the Object Oriented Programming INTRODUCTION A Computer Program is a series of instructions that tells a computer what tasks it needs to perform and in what sequence.... The three main principles that lie at the core of Object Oriented Programming are encapsulation, inheritance and polymorphism.... EXAMPLESPractical present day examples of Object oriented languages are narrated by Emden and Somoson (2006) as: “Pizza and GJava are examples of Multi-Paradigm Object Oriented Programming Languages....
1 Pages (250 words) Research Paper

Object Oriented Programming

Finally, the system behavior is modeled after the interactions of these data items of the of the of the Object Oriented Programming Object Oriented Programming is a programming methodology, where data and its interactions are of central focus rather than processes.... When confronted with a complex programming task, the programmer can make use of Object Oriented Programming methodology to simplify the process.... In object –oriented programming, the… These data elements are modeled as classes and they are active entities that can manipulate the data contained in themselves and in other classes....
1 Pages (250 words) Essay

Object-oriented vs traditional structured

Structured verses object oriented programs Structured verses Object Oriented Programming Introduction A program relates to a set ofinstructions that shows how to solve a predefined problem or task.... It is indispensable to note that Object Oriented Programming remains as the most high-level, flexible, and reusable program compared to structured programming.... Object Oriented Programming (OPP), is much advanced than the structured programming languages since it incorporates three important principles of software development like encapsulation for data hiding which is not common in structured system....
2 Pages (500 words) Essay

OBJECTS AND OBJECT ORIENTED PROGRAMMING: CLASSES & OBJECTS, CLASSES & FUNCTIONS, CLASSES & METHODS

Class in which it is found is called the enclosing Objects and Object Oriented Programming Introduction as used in Object Oriented Programming is a group of things or objects that have the same characteristics.... onclusionIn Object Oriented Programming, behaviors of the objects instantiated in the parent class are the methods.... Python 3 Object Oriented Programming: Harness the power of Python 3 objects.... Methods have a unique feature known as overwriting that allows objects to activate their behavior or action to a receiving object....
1 Pages (250 words) Essay

Object Oriented Programing Languages

This report "Object Oriented Programing Languages" discusses object-oriented programming languages that are dominant in terms of programming languages.... The system which was effectively divided into a number of compositional subsystems was not very effective thus creating the need to formulate object-oriented programming languages such as C++, C#, PHP, Python, Java, Perl, Ruby etcetera (Budd, 2008).... As a result, object-oriented programming has led to programs that are easier to understand, easier to maintain, and most importantly, adaptable to evolution (Clark, 2013)....
15 Pages (3750 words) Report

Object-Oriented Programming Paradigm

The paper "Object-oriented programming Paradigm" will begin with the statement that class is a description of the behaviors of an object.... It's an atom of object-oriented programming that covers the state and the behavior of data processing systems.... Property: Properties in most of the objected oriented programming languages are found between member data and member code of a class.... Role: Role in the programming field represents the functionality of an object....
11 Pages (2750 words) Assignment
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us