Page 2 :
Introduction, , Object oriented programming is the principle of, , design and development of programs using, , modular approach., , » Object oriented programming approach provides, advantages in creation and development of software for, real life application., , ° The basic element of object oriented programming is the, data., , ° The programs are built by combining data and functions, that operate on the data., , » Some of the OOP’s languages are C++, Java, C #,, Smalltalk, Perl, and Python., , Prof. K. Adisesha
Page 3 :
Procedural programming, , Re ® The procedural programming focuses on, processing of instructions in order to perform a, desired computation., , ® The top-down concepts to decompose main, , ® functions into lower level components for modular, coding purpose., , ® Therefore it emphasizes more on doing things like, algorithms., , ® This technique is used in a conventional, programming language such as C and Pascal., , Prof. K. Adisesha
Page 4 :
| g Object oriented, | BE gramming inc (OOP) is a concept, , that combines both the data and the functions that, operate on that data into a single unit called the, object., , ® 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., , ® Class is the major concept that plays important role, in this approach. Class is a template that represents a, group of objects which share common properties, and relationships., , Prof, K. Adisesha
Page 5 :
Differences, , Procedural Programming Object Oriented Programming, , , , Large programs are divided into Programs are divided into, smaller programs known as objects, functions, , Data is not hidden and can be Data is hidden and cannot be, accessed by external functions —_ accessed by external functions, , Follow top down approach in the Follows bottom-up approach in, program design the program design, , Data may communicate with Objects may communicate with, each other through functions each other through functions., , Emphasize is on procedure rather Emphasize is on data rather than, than data procedure, , Prof. K. Adisesha