Wait a second!
More handpicked essays just for you.
More handpicked essays just for you.
Description of object oriented programming
Description of object oriented programming
Don’t take our word for it - see why 10 million students trust us with their essay needs.
Recommended: Description of object oriented programming
1
Object oriented programming
1.1 Introduction
Programming language
A programming language is a formal constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs to control the behavior of a machine or to express algorithms (Learn to Program with Ruby, 2015).
Thus use of programming language is a way for us to communicate with the computer and make it do certain things. While the old way was the use of binary digits 0 and 1, the new way is easier for us to understand.
There are two types of Programming language. They are as follows:
i. Low level language ii. High Level language
Object-oriented programming (OOP) is a programming paradigm based on the
…show more content…
Polymorphism:
Polymorphism is the process of creating objects or forms with same identical names. Polymorphism is the principle of OOP where multiple methods are manifested all with the same name and with different ways. There are two types of polymorphism. They are Run time polymorphism and Compile time polymorphism
“+” operator can be used to for binary addition as well as joining two or more strings together or concatenation. iii. Abstraction:
Data abstraction refers to, providing only essential information to the outside world and hiding their background details, i.e., to represent the needed information in program without presenting the details. (Tutorialspoint.com, n.d.) iv. Encapsulation:
Encapsulation refers to the bundling of data with the methods that operate on that data. (Rogers, 2014)
Encapsulation is used to hide the values or state of a structured data object inside a class, preventing unauthorized parties' direct access to them.
1.3. Characteristics of object oriented programming language
i. Classes & Objects
A class is simply a representation of a type of object. It is the blueprint, or plan, or template, that describes the details of an object. A class is the blueprint from which the individual objects are created. Class is composed of three things: a name, attributes, and operations (Codeproject.com,
What is encryption? Encryption is a technological technique that protects and secures the transfer of plain text information between two sources through the use of the internet. This is done by rearranging the text using a mathematical algorithm that renovates the message into an indecipherable form, which can only be unlocked and translated with a use of a key. The strength of the encryption key is measured by its length, which is determined by the number of bits and by the type of encryption program.
Johnson, R. and Foote, B. (1988) “Designing reusable classes”. In: Journal Of Object-Oriented Programming, v.1, n. 2, p. 22-35, Jun./Jul.
An onion is a data structure that is formed by wrapping a plaintext message with successive layers of encryption, such that each layer can be unwrapped or decrypted like the layers of an onion. The plaintext message is only viewable by the sender, exit node, recipient. This can be extended to end to end encryption so that the last intermediary cannot also view the message.
The first class stereotype is boundary class. The boundary class used to model interaction between the system's surroundings and its inner workings. The boundary class interaction is involves transforming, translating events and noting changes in the system presentation. This class also model the parts of the system that depend on its surroundings. There are also class’s uses to model the parts that are independent of the system's surroundings such as entity classes and control classes. With that, the changing of communication protocol (GUI) mean changing only the boundary classes, not the entity and control classes. The boundary class also use to clarify the system's boundaries. With that, this class make it easier to understand the system. This class also providing a good point of departure for identifying related services for aid d...
The programming language C++ can be used in many ways. It has exploded into the gaming community allowing PC game programmers to have access to a stabile, yet powerful, programming language, utilizing as little code as possible. It has also been used in other commercial software, such as word processors, audio players, screen savers, and other computer desktop tools.
As a result of these problems, to achieve high levels of reuse in OOP, one is often forced to write very small classes, which leads to an explosion in the number of classes in a system. (Krubner 2014, 41) The irony of all of this is that programmers reuse code without OOP—often by simply copying and pasting. There 's no need to superimpose some elaborate structure of interacting, instantiated objects, with all the messaging and fragility that it introduces into a program. (Mansfield 2005, 1)
Data encryption refers to the transformation of data into a structure that makes it unreadable by anyone without a secret decryption key. It ensures that messages can be read only by the planned recipient. Encryption is the procedure of obscuring information to create it unreadable without special information. Only organizations and individuals with an abnormal need for secrecy have actually made good use of it. Nowadays, encryption is one of the most important technologies for maintaining your privacy and the security of important information. This helps out greatly especially when E-Commerce is being used.
Most programming languages—such as C, C++, and Fortran—use compilers, but some—such as BASIC and LISP—use interpreters. An interpreter analyzes and executes each line of source code one-by-one. Interpreters produce initial results faster than compilers, but the source code must be re-interpreted with every use and interpreted languages are usually not as sophisticated as compiled languages.
Many different types of programming languages are used to write programs for computers. The languages are called "codes". Some of the languages include C++, Visual Basic, Java, XML, Perl, HTML, and COBOL. Each of the languages differs from each other, and each is used for specific program jobs. HTML and JAVA are languages used to build web pages for the Internet. Perl and XML can produce codes that block students from getting on certain inappropriate web pages on their school server. One of the most prominent programming languages of the day would have to be C++.
Object-orientated programming is methodology which is organized around objects and not actions. The perspective that this approach takes is that it is easier to compare objects. Object-orientated programming can be used in conjunction with UML, and within Object-orientated programming and there are various different methods. Object-orientated programming can be defined as constructing a model of a real world through combining data and actions.
When one thinks of computer programming, one might think of complicated problems and challenges. People may think that computer programming is hard, well it’s really rather easy if you have the right training and education. Someone may think that it requires a lot of work and years in college, when it really does not require much. There are many job opportunities opening every day for computer programmers. Computer
Language is a method in which individuals communicate in order to get their opinion across to the listening party. Language is the tool which ideas can be conveyed in various ways. Typically, language is referred to verbal communication, however, it ranges to all methods of communication i.e. sign language.
The field of Computer Science is based primarily on computer programing. Programming is the writing of computer programs using letters and numbers to make "code". The average computer programer will write at least a million lines of code in his or her lifetime. But even more important than writting code, a good programer must be able to solve problems and think logicaly.
Language is nothing but a media which expresses feelings, ideas, experiences and even pains properly to others. Cultural background is the origin of language. Language is one of the channels which promote human relations and human affections. Language always unites the people and sometimes language itself diverse the people. Without the language we cannot imagine the existence of human beings on the earth. Language is a system of words that people used to express thoughts, feelings each other. The word ‘language’ derived from Latin “lingua” which means ‘tongue, speech’. The word sometimes used to refer to codes, ciphers and other kind of communication systems. For example computer programming.
First of all I had no much computer programming skill from the past , but I do have some short-term programming courses completion. of course the basic idea from the past about python language programming is a big deal to me to prepared myself early for this class. Otherwise not easy to find out exactly what is going on around computer language program; programming a computer is not so simple and controlled within a short period of time, computer programming is need big time and a lot of effort.