Introduction to Objects MIS 3501: Management Information Systems Paul Weinberg Adapted from material by David Schuff, and Paul Weinberg.

Slides:



Advertisements
Similar presentations
Introduction to Object Orientation System Analysis and Design
Advertisements

Chapter 8 High-Level Programming Languages. 8-2 Chapter Goals Describe the translation process and distinguish between assembly, compilation, interpretation,
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
Chapter 7 Structuring System Process Requirements
Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
Visual Basic: An Object Oriented Approach 6: Object Modelling.
Introduction To System Analysis and Design
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. slide 1 CS 125 Introduction to Computers and Object- Oriented Programming.
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
© 2005 Prentice Hall8-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. slide 1 CS 125 Introduction to Computers and Object- Oriented Programming.
11/1/06 1 Hofstra University, CSC005 Chapter 8 (Part 3) High Level Programming Languages.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter Lecture 1 Introduction to Computers and Object-
Objectives Explain the purpose and objectives of object- oriented design Develop design class diagrams Develop interaction diagrams based on the principles.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Introduction to Software Design Chapter 1. Chapter 1: Introduction to Software Design2 Chapter Objectives To become familiar with the software challenge.
INTRODUCTION TO JAVA PROGRAMMING Chapter 1. What is Computer Programming?
C++ fundamentals.
Structured Vs. Object Oriented Analysis and Design SAD Vs. OOAD
BACS 287 Basics of Object-Oriented Programming 1.
Getting Started Example ICS2O curriculum
Introduction To System Analysis and design
Visual Basic Fundamental Concepts. Integrated Development Enviroment Generates startup form for new project on which to place controls. Features toolbox.
The Design Discipline.
INFO415 Approaches to System Development: Part 2
From Problem Statement to Design
Systems Analysis and Design in a Changing World, Fifth Edition
Microsoft Visual Basic 2005: Reloaded Second Edition
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and Elizabeth Drake Chapter 8: More About OOP and GUIs.
Design Patterns OOD. Course topics Design Principles UML –Class Diagrams –Sequence Diagrams Design Patterns C#,.NET (all the course examples) Design Principles.
BCS 2143 Introduction to Object Oriented and Software Development.
Introduction to Objects Adapted from “TEN STEPS TO OBJECT-SPEAK” a CPT Tech Talk by Joy Starks September 17, 1999.
Introduction To System Analysis and Design
An Introduction to Java Chapter 11 Object-Oriented Application Development: Part I.
Systems Analysis and Design in a Changing World, 3rd Edition
An Object-Oriented Approach to Programming Logic and Design Fourth Edition Chapter 6 Using Methods.
Object-Oriented Design Simple Program Design Third Edition A Step-by-Step Approach 11.
Part VII: Design Continuous
Dale Roberts Object Oriented Programming using Java - Introduction Dale Roberts, Lecturer Computer Science, IUPUI Department.
© 2000 McGraw-Hill Modified by C.W.Pang with author's permission Intro to OOP with Java--Wu Chapter Chapter 1 Introduction to Object-oriented Programming.
1 CSCD 326 Data Structures I Software Design. 2 The Software Life Cycle 1. Specification 2. Design 3. Risk Analysis 4. Verification 5. Coding 6. Testing.
Learners Support Publications Object Oriented Programming.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Slide 13.1 © The McGraw-Hill Companies, 2002 Object-Oriented and Classical Software Engineering Fifth Edition, WCB/McGraw-Hill, 2002 Stephen R. Schach.
Programming with Java © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 1 McGraw-Hill/Irwin Chapter 5 Creating Classes.
9-Dec Dec-15  INTRODUCTION.  FEATURES OF OOP.  ORGANIZATION OF DATA & FUNCTION IN OOP.  OOP’S DESIGN.
Final Review. From ArrayLists to Arrays The ArrayList : used to organize a list of objects –It is a class in the Java API –the ArrayList class uses an.
OOP Review CS 124.
Introduction to OOP CPS235: Introduction.
Next Back MAP MAP F-1 Management Information Systems for the Information Age Second Canadian Edition Copyright 2004 The McGraw-Hill Companies, Inc. All.
OOPS CONCEPT.  OOPS  Benefits of OOPs  OOPs Principles  Class  Object Objectives.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
Visual Basic Fundamental Concepts
Introduction to Object-oriented Programming
Visit for more Learning Resources
Introduction to Programming and Visual Basic
Chapter 8: More About OOP and GUIs
Object-Oriented Analysis and Design
Chapter Topics 15.1 Graphical User Interfaces
The Object-Oriented Thought Process Chapter 1
OBJECT ORIENTED PROGRAMMING overview
Visual Basic..
CIS16 Application Development Programming with Visual Basic
Chapter 19: Interfaces and Components
Chapter 11 The Accounting Information System
Chapter 22 Object-Oriented Systems Analysis and Design and UML
Presentation transcript:

Introduction to Objects MIS 3501: Management Information Systems Paul Weinberg Adapted from material by David Schuff, and Paul Weinberg

Complex technology projects are difficult to manage and often fail Complex projects are difficult to manage and frequently fail The problem is most frequently handled by breaking the project into small pieces. (Decomposition) Decomposition is used when analyzing a business but also when developing systems. There are two primary methods of decomposition

Decomposition Process decomposition Processes are made up of smaller processes, which are made up of smaller processes, etc. Visualized in class through Data Flow Diagrams (DFDs) and flowcharts Component (or object) decomposition Objects are collections of processes and data associated with the processes Visualized through the Universal Modeling Language (UML)

How decomposition is used Each piece can be developed independently by separate teams. The pieces are tested independently (unit testing), and then assembled to test larger units (system testing). The assembly process continues until the entire system is ready to be tested by the user (acceptance testing).

Process vs Component (Object) Decomposition Process Processes executed in order following a process flow. Processes use subprocesses at defined points. Normally the operation of a subprocess is not hidden from the outside world. Component Processes executed when a component receives a message from another component Processes can be executed when an event occurs Normally the operations of a component are hidden from the outside world. There is a mechanism for creating families of standardized components

Process vs Component (Object Decomposition) Process To use a process you need to know the items in a DFD Input Output What it does There is no mechanism for standardizing groups of processes Generally organized in a hierarchy Component To use a component, you need to know The messages to send to the component The messages it returns What it does There is a mechanism for creating families of standard components assuring that they all operate in a similar fashion Generally organized by use. (Which components use other components)

Decomposition Examples Process IRS forms Cookbooks Traditional (green screen) computer applications Component Airline reservation systems Windows applications and visual components Company franchises Service applications (like ATM networks) Personal Computer and TV construction

Methods and Objects Methods are mechanisms for implementing systems through process decomposition. Software objects are mechanisms for implementing systems by breaking them into components. Most modern programming languages are object- oriented Java, C++, C#, etc.

You have been using objects in this course... TextBox Class txtIncome Object txtTax Object Properties Text Location ReadOnly Size ,83 false 100,20 $ ,120 true 100,20 Methods Hide() Show() Paste()

Using Object Technology Create or obtain object classes An object class is a template (or pattern) from which an object is created Create (instantiate) one or more objects from the class Assemble the objects if necessary into larger objects Use the objects

Objects in computer programs are collections of data and procedures o The procedures affect the data and determine what the object does o The data items in an object are sometimes called properties o The procedures may be called functions or methods. o Functions and methods may respond to events

McDonalds Standards: Properties and data Grill specifications Financial goals General ledger reporting data Bread inventory Methods Cook a Big Mac Keep a Big Mac warm Set financial goals Report monthly financials Shinjuku Station, Tokyo, McDonalds 30th Street Station, Philadelphia, McDonalds Real World Objects - McDonalds Standards, processes, and structure Class Definition Objects

Shinjuku Station, Tokyo, McDonalds [local records] 30th Street Station, Philadelphia, McDonalds [local records] The McDonalds Example - Encapsulation McDonalds Parent Monthly Financial results

Object name: Object attributes/properties: Object functions/methods: Interest Rate Monthly Fees Pay Interest Compute Charges Print Quarterly Statement NumberBeginning Balance NameEnding Balance ClientCurrent Balance ManagerInterest Rate Date Opened Open AcctAccept Deposits Close AcctWithdrawal Pay Interest Lowest Balance in Month Bad Check Charges Authorized Signature Print Monthly Statement Send Bad Check Notice Pay Interest Budget Saver Savings Account Checking Money Market Senior CitizenCD Fixed Fee Student Volume Object-Oriented Design Encapsulation Object Hierarchies Inheritance Polymorphism

So far... We have used pre-defined classes which generate visible objects Forms Buttons TextBoxes ListBoxes The objects are created for you when you drag the class name to the design area from the toolbox. Some of the objects contain other objects (Forms contain Buttons, TextBoxes, etc) You use the objects following the object name with the property or method. For example: txtTax.Text txtTax.hide()

New concepts Creating classes Classes which create non-visible objects Accounts Airline Reservations Later: Objects in Arrays and ArrayLists Classes which inherit from other other classes.

Alice Exercise Alice is a programming system from Carnegie Mellon University for creating interactive 3-D worlds Alice was develop to introduce people to object technology. Examples of classes in Alice include: People, buildings, vehicles, animals

Alice Objects created from Alice classes have properties and methods If you want to know more about Alice... You can get your own (free) copy at A book is available but not required for this course... Learning to Program with Alice (Wanda Dunn, Stephen Cooper, Randy Pausch) --- Pearson, Prentice Hall Free tutorials are available at and other sites.