Solved IGNOU MCS 024 question 1(a). What is Object Oriented Programming? Explain advantages of Object Oriented Programming with the help of an example. Check out the solution for the IGNOU MCA second semester assignment question.
Objective
You will learn about the following in this guide / study material.
Solution to the IGNOU MCS 024 assignment question 1(a).
MCS 024 Assignment Question 1(a) Solution
Here is the complete solved IGNOU MCA MCS 024 question 1(a).
What is Object Oriented Programming?
Object oriented programming is centered on the concept of object. Everything is focused on objects. In the object oriented programming language, a program consists of two things: first, a set of objects and second the way they interact with each other. Computation in this paradigm is viewed as the simulation of real-world entities. The problem in obejct oriented programming is solved by dividing the problem into objects. Each object contains data and the functions that operate on the data. Objects can be used for interacting without having to know details of each other's data or functions. It is sufficient to know the type of response returned by the object.
Explain advantages of Object Oriented Programming with the help of an example.
Main advantages of object oriented programming are data abstraction and encapsulation, inheritence and polymorphism.
Object oriented programming offers several benefits to both the program developer and the user. The new technology provides greater programmer productivity, better quality of software and lesser maintenance cost.
Following are the major benefits of object oriented programming:
Ease in division of job
Since it is possible to map objects of the problem domain to those objects in the program, the work can be easily partitioned based on objects.
Reduced complexity
Software complexity can be easily managed using object oriented programming.
Provide extensibility
Object oriented systems can be easily upgraded from small to large system.
Eliminate redundancy
Through inheritance we can eliminate redundant code and extend the use of existing classes.
Saves development time and increases productivity
Instead of writing code from scratch, solutions can be built by using standard working modules.
Allows building secure programs
Data hiding principle helps programmer to build secure programs that cannot be accessed by code in other parts of the program.
Allows designing simpler interfaces
Message passing techniques between objects allows making simpler interface descriptions with external systems.
So here was the solution for question 1(a) of IGNOU MCS 024 course of MCA second semester.