OOP- OBJECT OBJECT PROGRAMMING By KRATI SHARMA 02 XI-B ✏✏✏✏ ☺☻☺☻☺☻☺ ✏✏✏✏

Slides:



Advertisements
Similar presentations
Object Oriented Programming
Advertisements

Understand and appreciate Object Oriented Programming (OOP) Objects are self-contained modules or subroutines that contain data as well as the functions.
Agenda Definitions Evolution of Programming Languages and Personal Computers The C Language.
Department of Computer Engineering Faculty of Engineering, Prince of Songkla University 1 5 – Abstract Data Types.
Chapter 8 High-Level Programming Languages. 8-2 Chapter Goals Describe the translation process and distinguish between assembly, compilation, interpretation,
1 OBJECT-ORIENTED CONCEPTS. 2 What is an object?  An object is a software entity that mirrors the real world in some way.  A software object in OOP.
Copyright © 2002 W. A. Tucker1 Chapter 1 Lecture Notes Bill Tucker Austin Community College COSC 1315.
Classes & Objects Computer Science I Last updated 9/30/10.
Introduction To System Analysis and Design
High-Level Programming Languages
Chapter 16 Programming and Languages: Telling the Computer What to Do.
1 Introduction to C++ Programming Concept Basic C++ C++ Extension from C.
WEL COME PRAVEEN M JIGAJINNI PGT (Computer Science) MCA, MSc[IT], MTech[IT],MPhil (Comp.Sci), PGDCA, ADCA, Dc. Sc. & Engg.
C++ fundamentals.
OBJECT ORIENTED PROGRAMMING IN C++ LECTURE
COMPUTER PROGRAMMING. Introduction to C++ History Merges notions from Smalltalk and notions from C The class concept was borrowed from Simular67 Developed.
Programming Languages – Coding schemes used to write both systems and application software A programming language is an abstraction mechanism. It enables.
Object Oriented Software Development
Object Oriented Programming Development
© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University.
GENERAL CONCEPTS OF OOPS INTRODUCTION With rapidly changing world and highly competitive and versatile nature of industry, the operations are becoming.
MT311 Java Application Development and Programming Languages Li Tak Sing( 李德成 )
Welcome to OBJECT ORIENTED PROGRAMMIN Date: 10/09/2014 Prepared By Prepared By : VINAY ALEXANDER PGT(CS) KV jhagrakhand.
O BJECT O RIENTATION F UNDAMENTALS Prepared by: Gunjan Chhabra.
An Object-Oriented Approach to Programming Logic and Design
Introduction To System Analysis and Design
Computer Concepts 2014 Chapter 12 Computer Programming.
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
An Object-Oriented Approach to Programming Logic and Design Fourth Edition Chapter 6 Using Methods.
 Programming Language  Object Oriented Programming  JAVA – An Introduction  JAVA Milestones  JAVA Features.
Principles of Software Development 1 Principles Of Software Design and Development Types of language / Choosing a language.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
C++ Programming Basic Learning Prepared By The Smartpath Information systems
MADE BY :-- SHAHNAWAZ KHAN RAVINDER SINGH ABHIJEET AUGSTINE MADE BY :-- SHAHNAWAZ KHAN RAVINDER SINGH ABHIJEET AUGSTINE PRESENTATIONONC++PRESENTATIONONC++
Learners Support Publications Object Oriented Programming.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
WEL COME PRAVEEN M JIGAJINNI PGT (Computer Science)
Introduction to OOP CPS235: Introduction.
Lecture 2: Review of Object Orientation. © Lethbridge/La ganière 2005 Chapter 2: Review of Object Orientation What is Object Orientation? Procedural.
1 CSE Programming in C++. 2 Overview Sign roster list Syllabus and Course Policies Introduction to C++ About Lab 1 Fill Questionnaire.
Lesson 1 1 LESSON 1 l Background information l Introduction to Java Introduction and a Taste of Java.
Basic Concepts of OOP.  Object-Oriented Programming (OOP) is a type of programming added to php5 that makes building complex, modular and reusable web.
Software Design and Development Languages and Environments Computing Science.
Welcome to OBJECT ORIENTED PROGRAMMING Prepared By Prepared By : VINAY ALEXANDER PGT(CS) KV jhagrakhand.
Programming Languages
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
Computational Thinking, Problem-solving and Programming: General Principals IB Computer Science.
Programming paradigms
Visit for more Learning Resources
Object Oriented Programming
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING
Concepts of Object Oriented Programming
OOP: Object-oriented programming
Programming Languages
CHAPTER 5 GENERAL OOP CONCEPTS.
Sections Basic Concepts of Programming
GENERAL OOPs CONCEPTS.
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP) & CONCEPTS
C++.
Introduction to Computer Programming
Object Oriented Analysis and Design
Computer Programming.
Subprograms and Programmer Defined Data Type
PROGRAMMING PARADIGMS
Procedural Programming
Component-Level Design
The Programming Process
Introduction to Object-Oriented Programming
Presentation transcript:

OOP- OBJECT OBJECT PROGRAMMING By KRATI SHARMA 02 XI-B ✏✏✏✏ ☺☻☺☻☺☻☺ ✏✏✏✏

Evolution of OOP’s There are many problems faced by users which leads to its evolution. Some kinds of problems faced are as follows:- 1. Large programs because of their complexities are more prone to errors. 2. Software errors can be expensive and even life- threatening. Two major types of programming languages :- 1. Low level languages (machine and assembly languages). 2. High level languages.

Machine language Instructions are written in binary code (using digits o and 1) is the only language computer can execute directly. Assembly language Instructions are written using symbolic names for machine operators and operands,makes programming less tedious than machine language programming. * Assembly language is then converted into machine language using Assembly software. High level language It offers English like keywords, constructs for sequence selection (decision) and iteration (looping) and use of variables and constants. Thus it is very easy to program with such languages as compared to low level languages.

A Programming language serves two purposes: i) It should provide a mode for the programmer to specify actions to be executed. ii) It should provide a set of concepts for the programmer to use when thinking about what can be done. Middle level languages The languages 'C' and 'C++' SERVES both the aspects i.e, are close to machine as well as programmer. Programming Pradigm It means a way of thinking or doing things. Paradigm: means organizing principal of a program. It is an approach to programming. Procedurel programming

A program in a procedural language is a list of instructions where each statement tells the computer to do something. Here focus is on processing. Languages support this paradigm by providing facilities for passing arguments to functions (subprograms) and returning values from functions. Modular programming With the increase in programm size, a single list of instructions becomes unwieldy Thus a large program is broken down into smaller units i.e, functions(sub- programs). Module A set of related procedure with the data they manipulate is called a module. This is also called data-hiding principle. It does model the real world very -well.

The object oriented programming It not only makes the program less complex but also makes the software reuse feasible and possible. It views a problem in terms of objects involved rather than procedure for doing that. Object It is an identifiable entity with some characterstics and behaviour. While using OOP's approach:- *Characterstics of an object are represented by its data. *Behaviour of an object is represented by its functions associated. Class A class is a template /blue -print representing a group of objects that share a common proreties and relations.

Basic concepts of OOP's 1.Data Abstruction 2. Data Encapsulation 3. Modularity 4. Inheritance 5. Polymorphism Data Astraction It refers to act of representing essential features without including the background details or explanations.

Encapsulation The wrapping up of data and operation /functions (that operate on the data ) into single unit (called class) is known as encapsulation. *Encapsulation is a way to calculate /implement data abstraction.It hides the details of the implementation of an object. In C++ encapsulation is implemented with the help of a class. Modularity It means decompose the tasks (the large system programs) into small correlated modules. It is implemented with the help of programs. Inheritance It is the capacity of one class to inherit(access) from one class.

Uses of inheritance: i) Insurance of the closeness with the real world- methods. ii) Reusability, derivation of a new class, reduction in amount of typing and effort. iii) Translative nature of inheritance. Polymorphism It is the ability for a message or data to be processed in more than one form. Advantages of OOP's: a) It models the real world well. b) With OOP's,programs are easy to be understood

c) OOP's offers classes reusability. d) OOP's faciliates quick development as parallel development of classes is possible. e) With OOP's,programs are easier to test,manage and maintain. Disadvantages of OOP's : a) With OOP's,classes tend to be overly generalised. b) The relations among classes becomes artificial at times. c) The OOP's program design is tricky. d) Also one needs to do proper planning and design for OOP's programming. e) To program with OOP's,programmer needs proper skills such as design skills,programming skills and thinking in terms of objects etc.

▒▒▒▒▓▒▒▒▒ ✏ ♫♫ ✏ Thank you ✏ ♫♫ ✏ ▒▒▒▒▓▒▒▒▒