Introduction to
OOPS using Python
* OOPS is one of the most revolutionary
concepts in Computer Science , and its full form is called as Object Oriented
Programming System ( OOPS ) which is based on languages like Smalltalk ,
Simula-67 , C++ , Java , Python etc .
* The languages like C , Pascal , Fortran
etc are called as Procedure Oriented Programming which perform a given set of
tasks .
* While developing software , the main task
is divided into several sub tasks and each of the sub task can be represented
as a procedure or a function .
* The main task is therefore composed of
several procedures and functions and the approach for this is called as
Procedure Oriented Approach .
* Procedure Oriented Approach for OOPS
based programs . Languages like C++ , Java and Python use classes and Objects
in their programs and are called as + , Java and Python use classes and Objects
in their programs and are called as Object Oriented Programming Languages .
* A Class is a module which itself contains
data and methods (functions) to achieve the task.
* The main task is divided into several sub
tasks and they are represented as classes. Each class can perform several
inter-related tasks for which several methods are written in a class . This
approach is called as Object Oriented Approach .
* Programmers follow a Procedure Oriented
Approach for looking into problems that associate with problems related to
Procedure Oriented Programming .
No comments:
Post a Comment