Lecture-1 :- Procedure Oriented Programming in Object Oriented Programing

Lecture-1 :- Procedure Oriented Programming in Object Oriented Programing
INTRODUCTION
-Procedure-oriented programming (pop) follow the sequence of things to do like reading, calculating and printing.
-To calculate these tasks, a number of function are written.
-POP focuses on functions.
-POP consists of a list of computer instructions to be followed and organized into groups knows as functions.
-Most important data items are placed as global in a multi-function program so that all the function can be accessed.
-Each function may have local data of its own.
-Global data is more vulnerable to an inadvertent change by a function.
-It isn’t very good model of real world problem.

CHARACTERISTICS OF POP
-Data can be transformed form one function to another.
-It follow Top-Down approach for writing program.
-Large programs are split into smaller components knows as functions.
-Most of the function share global data.
-Data transfer from function to function openly around the system.

USE OF POP
-The standard approach used in traditional computer language like C, Pascal, FORTRAN & BASIC is procedure programming.
-The basic idea is to have a program that specifies the sequence of steps to implement a specific algorithm.
-Procedural programming produces a step-by-step program that guide a sequence of instructions for the application.
-Every instruction is executed in order.
-Data and function are stored in a different memory location while data and function are stored in the same memory location in OOP.

ADVANTAGES OF POP
1.Its relative simple, and ease of implementation of compilers and interpreters.
2.The ability to re-use the same code at different place in the program without copying it.
3.It is an easier way to keep track of program flow. i.e. step by step.
4.The ability to be strongly modular or structured.
5.It required only less memory.

DISADVANTAGE OF POP
1.The data is exposed to the entire program and therefore there is no data security.
2.It’s hard to related to objects in the real world.
3.New data types are difficult to create, reducing expandability.
4.It gives importance to data operation rather than data.
5.It does not support run time checking.

Object Oriented Programing #PLAYLIST.
#Subscribe the Channel Link :- #bansodetechsolution #ajupgrading
IF any Query or Doubt DM on #Instagram :- #bansode_ajay_2102
@AjUpgradingBANSODETECHSOLUTION

LinkedIn Profile

Link for slides, code samples and text version of the video #blogger

Comments

Popular posts from this blog

Load Data From Excel To Grid View in Asp.net C#

Code Analysis | IDE0054 In C# Application

10.5. Identity and Access Management (IAM) in Cloud Computing