Page 2 :
9, What is an object?, as ‘object is a real world entity. A pro;, c gramming model that combines data and functions into single unit, , Ob}, , , , , , ine class., is a template / blue print that :, Tepresents, , different OOP characteristics. group of objects which share common properties and relationships. :, , 4, , Message passing =, , 2 . B pla es one OOP characteristics., , (a) Modularity abstracti, , eo : ion (c) Data encapsulation (d) Inheritance (e) Polymorphism (f) Dynamic, fides separation of duties in object-based program development by decomposing large and complex, , , , , in to smaller units called modules. Thus team work is easy., Exa culato program, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subprogram 1 s, Main Program jubprogram 2, Addition (+) | Addition Subtraction, tere | Subprogram 3 Subprogram 4, gram, , , , , , , , , , Multiplication ( * ), ao” Multiplication P | Divisi, , essential features without including the background details or, , , , ion — The process of representing the, , ion is called abstraction., ; J n Mobile features such as Bluetooth, camera, message etc,, are used wit es, , knowledge of how it, , sm of combining the data and, in C++, We can access the data through, , But data cannot be accessed directly., state of a structured data object it, , ysulation — It is a mechani, ons called member functions, the data and return the value,, is used to hide the values or, , d access., to the object or public. If itis, , code, data or both may be private ;, vot. When iti public, ean be accessed NER ou, , not outside the obj, ism by which classes can inherit (acquires) properties, are called base classes: 4 4, , a =
Page 4 :
yeevith Publications, bp, 15. explain the advantages of OOP pr. 3,, + @) Improved software- Pics ang, ‘4 a a Bod “sate oe productivity: Object-oriented programming is, S Bi Extensible a ea of duties in object-based program development, team work is easy., ” fig ae ae ie ae be extended to include new attributes and behaviors., Reusabi as “, their own programs. This is call a written and debugged, it can be distributed to other programmers for use in {, reusability Bee oriented ‘pr . reoeehiy Because of these three factors — modi, @ Oe cofware En, gramming provides improved software-development p), Impro ility: eg, jssues Without making large-scale toe the design is modular, part of the sysion ©, ..) Raster development: ,, ses of backs mess faster development. Object-oriented programming langua, Gy Eawer . veloped during projects is also reusable in future projects., is pubinto Peebjectcrieated ae reuse of software also lowers the cost of development. Typically,, . eh ysis and design, which lowers the overall cost of development., 16. ee x -advantages of OOP programming., + teep learning ci : a, Ans: me g curve: The thought process involved in object-oriented programming may not be natural, for some people, and it can take time to get used to it. b, {ii Ibis complex to create programs based on interaction of objects, , jularity, extensibility, and, roductivityan be updated in case of, , ges come with, , more effort, , iii of the k i ;, (iii) Some ie key programming techniques, such as inheritance and polymorphism, can be challenging to, , comprehend initially., (iy) Lar Ber program size: Object-oriented programs typically involve more lines of code than procedural, , programs., 17. List the applications of OOP programming., ‘Ans: (a) Image processing, , (b) Pattern recognition, , (c) Computer Aided Design (CAD) and Computer, (@) Web based applications, , (e) Mobile computing, , ) Object oriented databases, , Aided Manufacturing (CAM), , L224