1)What is OOPS?
➔ Object Oriented Programming
➔ Paradigm which makes use of the concept of Object and
Class to deal with real world problems.
➔ The complex programs can be easily understood and managed
using the OOPs.
➔ It provides readability, understandability,
maintainability and reusability of the code.
➔ SIMULA is
the first OOP language.
Example of OOPs Languages:
★ Java
★ Javascript
★ Python
★ Ruby
★ PHP
★ R
2)Need for OOPs?
➔ OOPs makes it easier for the developer to deal with
complex real world problems.
➔ Implementation of the object can be changed without
affecting the functionality of other code.
➔ flexibility(Polymorphism).
➔ Data Security(Encapsulation).
➔ Reusability of the code(Inheritance).
➔ Simplicity(Abstraction).
3)What is Pure Object Oriented Language?
The terms "pure
object oriented language" or "complete object oriented
language" refers to the languages that support or have
features that consider every component of a programme as an object.
EXAMPLE:
★ SmallTalk
➢ First purely Object Oriented Language.
➢ Developed by Alan Kay.
★ Ruby
★ Python
4)Programming
Paradigms other than OOPs
★ Imperative Programming Paradigm
★ Declarative Programming Paradigm
NOTE: Paradigm-Set
of ideas,Standard or Method.
Programming Paradigm-Method of classification
of Programming Languages based on their
features.
5)What is the Imperative Programming
Paradigm?
★ Oldest programming paradigm.
★ Based on Von Neumann Architecture.
★ They mainly focus on “how the problem is to be solved”
★ Contains sequence of steps to solve the problem.
REAL TIME EXAMPLE:
Imperative
programming is like listening to a stylist how to design a cloth,the stylist
giving step by step instructions to stitch or design a cloth.
Example: Java,C,C++ and Fortan.
Types of Imperative Programming Paradigm:
1. Procedural
Programming Paradigm
2. Object-Oriented
Programming Paradigm
3. Parallel
Programming
6)What is the Declarative Programming Paradigm?
● Also
called non procedural or very high level programming languages.
● It
specifies “What is to be done” rather than how the problem to be solved.
● Does
not explicitly mention the control flow.
REAL TIME EXAMPLE:
Declarative Programming is like asking your stylist to design a costume,
you don’t know the steps involved, just the costume(output/result) is enough.Here
you just mention what type of cloth to be used,selecting the design for your
costume.
Example: HTML, CSS, XML, Prolog.
Types of Declarative Programming:
1. Logical
Programming Paradigm
2. Functional
Programming Paradigm
3. Database
Programming Paradigm
7)Main Features of OOPS
★ Encapsulation
★ Abstraction
★ Inheritance
★ Polymorphism
Read More: Features Of OOPS.
0 Comments