You are on page 1of 14

PRESENTATION BY

GROUP I
BY KHANT SI THU
YE YINT NAING
KYAW KHANT LU
KAUNG KHANT KYAW
AUNG KAUNG MAW
LIN HTUT WIN
PARTS OF IMPERATIVE
PROGRAMMING PARADIGM

• Procedural programming • Object-oriented


programming(OOP)
AGENDA

• Programming Paradigms
1. What
2. Features
3. Pros and Cons
4. Right programming language
5. Differences
WHAT IS PROCEDURAL PROGRAMMING

• A set of instructions for specific purposes


• Take input return output
• Work like complier
FEATURES

• Split one big complex program into many small simple


programs(procedures)
PROS AND CONS

PROS CONS

• Simple and easy • Not always up-to-date


• Easily track down the program flow • Procedures are not always reusable
• Effective and efficient
RIGHT PROGRAMMING LANGUAGE

•C Programming Language/C#/C++
•Pascal
•Java
WHAT IS OBJECT-ORIENTED
PROGRAMMING(OOP)

• Organizes software design around data, or objects


• Data field that has unique attributes and behavior
• 4 pillars of OOP
1. Encapsulation
2. Abstraction
3. Inheritance
4. Polymorphism
FEATURES

• Classes
• Objects
• Methods
• Attributes
4 MAIN PILLARS

• Encapsulation – it is a protective shield that prevents the data from being


accessed by the code outside this shield
• Abstraction – the process of identifying only the required characteristics of
an object, ignoring the irrelevant details
• Inheritance – one class is allowed to inherit the features (fields and
methods) of another class
• Polymorphism – ability of object-oriented programming languages to differentiate
between entities with the same name efficiently
PROS AND CONS
PROS CONS
• Reusable codes • Difficult and complicated to write
• Greater productivity instructions
• More secure • Slower running time
• Low maintenance cost • Take time to get used to
• Easily upgradable from small to large
• not suitable for all types of
program
problems
• Easy to work with different
programming languages as a team
RIGHT PROGRAMMING LANGUAGE

•Python
•Java
•C++
DIFFERENCES BETWEEN
PROCEDURAL PROGRAMMING AND OOP
PROCEDURAL OBJECT-ORIENTED
PROGRAMMING PROGRAMMING
• Simple to understand •Require Advanced understanding
• divided into small parts called functions •divided into small parts called objects
• Cannot support different programming •Support different programming languages
languages
• follows a top-down approach •follows a bottom-up approach
• Function is more important than the data •Data is more important than function
• there is no concept of data hiding and •the concept of data hiding and inheritance is
inheritance
used
• Less security •High security
• based on the unreal world •based on the real world
• used for designing medium-sized programs •for designing large and complex programs
Thank You!

You might also like