Professional Documents
Culture Documents
E2UC202C Unit 1 Lec 1 - Introduction To OOP
E2UC202C Unit 1 Lec 1 - Introduction To OOP
E2UC202C Unit 1 Lec 1 - Introduction To OOP
UNIT I
Introduction: Basic Terminology
What is Programming?
• COMPUTER PROGRAMMING is a step by step process of
designing and developing various sets of computer
programs to accomplish a specific computing outcome.
• The process comprises several tasks like analysis, coding,
algorithm generation, checking accuracy and resource
consumption of algorithms, etc.
• The purpose of computer programming is to find a
sequence of instructions that solve a specific problem on a
computer.
Object oriented programming concepts
Types of Programming
There are two types of programming –
• Procedure-Oriented Programming
Procedure-Oriented Programming
• In the procedure oriented approach, the problem is viewed as the sequence of
things to be done such as reading, calculating and printing such as cobol,
fortran and c. The primary focus is on functions.
• Languages used in Procedural Programming:
• FORTRAN, ALGOL, COBOL, BASIC, Pascal and C.
• Some Characteristics exhibited by procedure-oriented programming are:
• Emphasis is on doing things (algorithms).
• Large programs are divided into smaller programs known as functions.
• Most of the functions share global data.
• Data move openly around the system from function to function.
• Functions transform data from one form to another.
• Employs top-down approach in program design.
Object oriented programming concepts
Object-Oriented Programming
• Object oriented programming can be defined as a programming model which is
based upon the concept of objects. Objects contain data in the form of
attributes and code in the form of methods.
• In object oriented programming, computer programs are designed using the
concept of objects that interact with real world.
• Object oriented programming languages are various but the most popular ones
are class-based, meaning that objects are instances of classes, which also
determine their types.
• Languages used in Object Oriented Programming:
• Java, C++, C#, Python, PHP, JavaScript, Ruby, Perl, Objective-C, Dart, Swift, Scala.
Object oriented programming concepts
Dr Akhilendra Khare
Akhilendra.khare@galgotiasuniversity.edu.in