Object-Oriented Programming Nova Southeastern University Cristal Locke This presentation is copyrighted by Cristal Locke, December 12, 2002. All rights.

Slides:



Advertisements
Similar presentations
Computers Are Your Future
Advertisements

Introduction Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL
Object-Oriented Programming OOP John Gilligan School of Computing DIT Kevin St.
Object Oriented System Development with VB .NET
Basic C++ lectures 1 and 2MSc Bioinformatics Basic C++
Tuesday, December 05, 2006 I hear and I forget, I see and I remember, I do and I understand -Chinese Proverb.
The Object Oriented Programming Languages (OOPL). Done by: Tayeb El Alaoui Supervised by: Dr Driss Kettani.
Principles of Object-oriented Programming Programming Language Paradigms August 26, 2002.
1 Key Concepts:  Why C?  Life Cycle Of a C program,  What is a computer program?  A program statement?  Basic parts of a C program,  Printf() function?
Trey Mack James Moore Osa Osar-Emokpae
Liang, Introduction to C++ Programming, (c) 2007 Pearson Education, Inc. All rights reserved X 1 Chapter 1 Introduction to Computers, Programs,
OOP Class Lawrence D’Antonio Lecture 2 History of OOP and C++
1 SD1042: Introduction to Software Development SD1042 Introduction to Software Development SCHOOL OF COMPUTING AND TECHNOLOGY Getting Started MODULE TEAM.
C++ fundamentals.
C + 1 == C++ ce153c Introduction2programming © 2006 NematAllah Ahmadyan.
 2000 Prentice Hall, Inc. All rights reserved. 1 Introduction to Computers and C Programming Outline Introduction What Is a Computer? Computer Organization.
Introduction to Object-oriented Programming Introduction to Object-oriented Programming CMPS 2143.
COMPUTER PROGRAMMING. Introduction to C++ History Merges notions from Smalltalk and notions from C The class concept was borrowed from Simular67 Developed.
Programming Languages Lecture 12. What is Programming?  The process of telling the computer what to do  Also known as coding.
Introduction 01_intro.ppt
Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Object Oriented.
OBJECT ORIENTED DESIGN Mohammad Amin Kuhail M.Sc. (York, UK)  Introduction to Object Oriented Design & Analysis  University of Palestine  Faculty of.
C++ Programming. Table of Contents History What is C++? Development of C++ Standardized C++ What are the features of C++? What is Object Orientation?
Programming Languages
Programming C# in comparison to C++, Java and Smalltalk by Anne Holzapfel.
Sadegh Aliakbary Sharif University of Technology Fall 2011.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Introductory Lecture Advanced Computer Programming.
Instructor: Tina Tian. About me Office: RLC 203A Office Hours: Wednesday 1:30 - 4:30 PM or .
 2003 Joel C. Adams. All Rights Reserved. Calvin CollegeDept of Computer Science(1/10) An Overview of Objects and the Java API Joel Adams and Jeremy Frens.
Object Oriented Programming Elhanan Borenstein copyrights © Elhanan Borenstein.
Introduction to C++ Programming Language
Programming Concept Chapter I Introduction to Java Programming.
Guided Notes Ch. 9 ADT and Modules Ch. 10 Object-Oriented Programming PHP support for OOP and Assignment 4 Term project proposal C++ and Java Designer.
CS CS CS IA: Procedural Programming CS IB: Object-Oriented Programming.
Prepared by: Elsy Torres Shajida Berry Siobhan Westby.
C++ Programming Basic Learning Prepared By The Smartpath Information systems
Monday, Jan 6, 2003Kate Gregory with material from Deitel and Deitel CO 204 Object Oriented Programming 2003 Trent University Kate Gregory.
CT1513 Introduction To java © A.AlOsaimi.
Introduction to c++ programming - object oriented programming concepts - Structured Vs OOP. Classes and objects - class definition - Objects - class scope.
Software Engineering Lecture 6 Vladimir Safonov, Professor, head of laboratory St. Petersburg University WWW:
Programming in C++ Dale/Weems/Headington Chapter 1 Overview of Programming and Problem Solving.
ECE 264 Object-Oriented Software Development Instructor: Dr. Honggang Wang Spring 2013 Lecture 1: Introduction.
Hello World Basic Tutorial Nova Southeastern University Cristal Locke This presentation is copyrighted by Cristal Locke, August 5, All rights reserved.
Introduction To OOP 1.0 Fundamentals Of Java Programming Language 2.0 Exception Handling 3.0 Classes, Inheritance And Polymorphism © 2011 | PN AZRINA.
Introducing C++ to Java Programmers by Kip Irvine updated 2/27/2003.
Learners Support Publications Introduction to C++
1 Copyright Flying Kiwi Productions Inc. An Introduction to Object-Oriented Analysis Objects and UML in plain English. Chapter.
LThe C++ programming language Department of Information Engineering INFORMATION TECHNOLOGY dr. László Dudás 4./0. lThe object oriented view of the world.
Cs205: engineering software university of virginia fall 2006 David Evans Object-Oriented Programming.
Sadegh Aliakbary Sharif University of Technology Fall 2010.
Hello World Basic Tutorial
CMPT 201 Computer Science II for Engineers
Foundations of Computer Science C & C++ programming lecture 2
Embedding Word Tutorial
LESSON 1 Introduction to Programming Language
OBJECT ORIENTED PROGRAMMING overview
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP) & CONCEPTS
C++.
Power and Electrical Training in Hyderabad. About Us Hyderabad Institute of Electrical Engineers offers Electrical Design Course to Electrical engineers.
Computer science By/ Midhat Mohiey. Introduction to Programming using C ++ 2.
جامعة البحر الاحمر كلية العلوم التطبيقية قسم الفيزياء التطبيقية الفصل الداسي الثاني IIالمقرر: حاسوب د. خالد عثمان العالم.
OOP vs Structured Programming
Ada – 1983 History’s largest design effort
جامعة البحر الاحمر كلية العلوم التطبيقية قسمي الحاسوب وتقنية المعلومات الفصل الداسي الثاني المقرر: اساليب برمجة 1 محاضرة رقم 1 د. خالد عثمان العالم.
Your first C and C++ programs
Introduction to Computer Programming
CS IA: Procedural Programming CS IB: Object-Oriented Programming
The C++ programming language
Introduction to Development Frameworks CIM2564
Introducing Java.
Presentation transcript:

Object-Oriented Programming Nova Southeastern University Cristal Locke This presentation is copyrighted by Cristal Locke, December 12, All rights reserved.

Definition of Object Oriented Programming (OOP)  Object-oriented programming combines structured programming techniques and sophisticated data structures. It offers developers the ability to combine data and processes (called methods) into one component called an object. In other words, an object contains everything required to perform a set of functions or behaviors, including data. Excerpt from Using Turbo C++ by David Linthicum and Larry Klein

Structured Programming vs Object- Oriented Programming (OOP)

Structured Programming  In structured programming, programmers break the program into smaller programs called modules.

 The main program calls the module and it does its job. The module may be programmed to call additional modules. Structured Programming

MModules may be shared by other modules. For example, one module’s job may be to change the color of the background. Many other modules (or little programs) may call upon this one module.

 If one module has to be changed, all modules that call this one (including the main program) must be changed as well. Structured Programming

 OOP does not require any breakdown of programs.  It is a combination of structured programming and data structures. Object-Oriented Programming

 Programmers combine small programs called methods and data into one component called an object.

Object-Oriented Programming AA class defines what the object is. For example, if the object is called “wallpaper,” the class tells the object what it means to be “wallpaper.” You are a dog. You have 4 legs, a tail, and you bark.

Object-Oriented Programming  The methods tell the object what to do. For example, if the object called “wallpaper” is intended to change the color of the wallpaper, the method is what tells the object to change. Ok, Dog… Beg!

Object-Oriented Programming  The programmer creates objects that can then be stored into a library.  The library is accessed whenever the program needs to complete a routine.

Hello World Sample Codes

Structured Hello World (Pascal) program helloworld; begin writeln ( 'Hello World!' ); writeln ( 'This is my first Pascal program.' ); readln; end.

OOP Hello World (C++) #include int main() { std::cout << "Hello world!\n"; }

Brief History of Object- Oriented Programming

OOP 1960’s  It all started with SIMULA and SIMULA 67, which came about in the 1960’s. Both languages used objects and classes.

OOP 1970’s  Smalltalk was then introduced by Xerox in the 1970’s. It was developed using SIMULA’s format.

OOP 1980’s to Present  In 1983, Bjarne Stroustrup, a member of the Information and Systems Software Research Lab at AT&T Bell Laboratories, developed C++, which is an extension of C Programming Language. C++ was C (a structured programming language) that uses classes.

 1993, Microsoft released Visual C This was an upgrade to C After numerous upgrades, Visual C++ is now called Visual C++.net.  In the early 1990’s, Sun developed Java, which solely uses objects and classes. OOP 1990’s to Present

Talking Programmers

Bibliography  Linthicum, D. & Klein, L. (1994). Using turbo C++ (1 st ed.). Que; ASIN:  Ross, J. & Zhang, H. (1997, October) Structured programmers learning object-oriented programming. SIGCHI. Retrieved December 7, 2002, from tml#HDR2 tml#HDR2  Dahl, O. & Nygaard, K. How object oriented programming started. Retrieved December 7, 2002, from MAPPE/F_OO_start.html MAPPE/F_OO_start.html

Contact Information Cristal Locke can be contacted through at or through d.htm This tutorial was created on December 15, 2002.

Permissions  Permission is hereby given to Nova Southeastern University students, who are taking WebCT courses, to use this presentation.  Cristal Locke, December 15, 2002