Paul Deitel, CEO Deitel & Associates, Inc.. Contact Information  Paul Deitel, CEO  Deitel & Associates, Inc.  Twitter:  Facebook:

Slides:



Advertisements
Similar presentations
Use Case Diagrams Damian Gordon.
Advertisements

Use Case & Use Case Diagram
ARCH-05 Application Prophecy UML 101 Peter Varhol Principal Product Manager.
UML Diagrams Jung Woo. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems, business.
Chapter 4 - Object-Oriented Analysis and Design in a Nutshell1 Chapter 4 Object-Oriented Analysis and Design in a Nutshell.
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases Paul Ammann & Jeff Offutt
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
Systems Analysis and Design 8th Edition
Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
Unified Modeling Language
Ch 12: Object-Oriented Analysis
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases Paul Ammann & Jeff Offutt
CS3773 Software Engineering Lecture 03 UML Use Cases.
Chapter 12 ATM Case Study, Part 1: Object-Oriented Design with the UML
ATM User Interface Design. Requirements A bank customer is able to access his or her account using an automatic teller machine. To be able to use an ATM.
Tutorial 2. What is a UML Use Case Diagram? Use case diagrams model the functionality of a system using actors and use cases. Use cases are services or.
Object-Oriented Analysis and Design
Introduction To System Analysis and Design
Lecture 4 Class Responsibility Collaboration Cards
C++ Training Datascope Lawrence D’Antonio Lecture 11 UML.
© 2005 course technology1 1 1 University Of Palestine UML for The IT Business Analyst A practical guide to Object Oriented Requirement Gathering Hoard.
CS /31 Illinois Institute of Technology CS487 Software Engineering Midterm Review David Lash.
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
1COM6030 Systems Analysis and Design © University of Sheffield 2005 COM 6030 Software Analysis and Design Lecture 4 - System modelling Dr Richard Clayton.
Systems Analysis and Design in a Changing World, Fifth Edition
Software Engineering CS B Prof. George Heineman.
E-Learning Material Web Application Design 2. Web Application Design Use cases Guidelines Exceptions Interaction Sequence diagrams Finding objects.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
Case Study :. Introduction The ATM network will consist of a large number of ATM machines distributed over a wide geographical area. The network must.
Unified Modeling Language, Version 2.0
Requirements Determining the requirements of software involves determining the needs of the users of the software. Determining the requirements of software.
1 Object-Oriented Analysis Use Case Driven. 2 The outline method for OOA 1.Identify object classes within the problem domain 2.Define the behaviour of.
Faculty of Computer & Information Software Engineering Third year
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 8 Slide 1 Object-oriented and Structured System Models.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
5 Systems Analysis and Design in a Changing World, Fifth Edition.
2131 Structured System Analysis and Design By Germaine Cheung Hong Kong Computer Institute Lecture 8 (Chapter 7) MODELING SYSTEM REQUIREMENTS WITH USE.
Introduction To OOP 1.0 Fundamentals Of Java Programming Language 2.0 Exception Handling 3.0 Classes, Inheritance And Polymorphism © 2011 | PN AZRINA.
Lecture OO05 Object Scenarios Object Interaction Diagrams
1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
Unified Modeling Language User Guide Section 4 - Basic Behavioral Modeling Chapter 16 - Use Cases Chapter 17 - Use Case Diagrams.
January Ron McFadyen1 January 2004 Assignment 1 Due: Friday Jan 23, Implement the ProductSpecification and Payment classes in any OO.
Chapter 13 ATM Case Study Part 2: Implementing an Object-Oriented Design Java How to Program, 8/e (C) 2010 Pearson Education, Inc. All rights reserved.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
UML (Unified Modeling Language)
Chapter 3: Introducing the UML
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
Chapter 7 Part II Structuring System Process Requirements MIS 215 System Analysis and Design.
Chapter 11 Inheritance © 2008 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. Marilyn Bohl/Maria Rynn Tools for Structured and Object-Oriented.
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
CHAPTER 6 OBJECT ANALYSIS.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 14 Slide 1 Object-Oriented Design.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
Using Use Case Diagrams
UML Diagrams By Daniel Damaris Novarianto S..
Paul Ammann & Jeff Offutt
ATM OO Design and Implementation Case Study
Object-Oriented Analysis and Design
Storyboarding and Game Design SBG, MBG620 Full Sail University
Dynamic Modeling of Banking System Case Study - I
Unified Modeling Language
UML Diagrams Jung Woo.
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Paul Ammann & Jeff Offutt
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Software Design Lecture : 15.
Using Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Presentation transcript:

Paul Deitel, CEO Deitel & Associates, Inc.

Contact Information  Paul Deitel, CEO  Deitel & Associates, Inc.  Twitter:  Facebook:    Source Code:

Our Early OO Days  1991  Our first C++ corporate seminar  Lots of Live-Code examples  Complete working programs  Prove that features work

Our Early OO Days  OO presentation  Create one or more classes  Create one or more objects of those classes  Call the objects’ methods to do stuff

Missing Piece of the Puzzle  How do objects interact with one another?

ATM Case Study  Popular example—people can relate to it  Available in 4 languages  Java, C++, Visual Basic and Visual C#  “How to Program” books  Fully solved  Encourages instructors to work it into first or second programming courses that cover OO  Encourages students to study on their own if it’s not part of a course

Corporate Trainers  Case study often helps us close a deal  Especially for non-OO audiences  Students comment on evals that it ties the OO concepts together in a meaningful way  3 to 4 hours to present in detail

Simplifying Assumptions  Bank has one ATM  Emulate what an ATM does  One account per user  Username and PIN entered by user at keyboard—no card reader  Use software to simulate certain hardware  Use an object to represent the database  Separate system validates deposits  …

Case Study Coverage  Starts with System Requirements  Presents 6 UML diagram types  Use case, class, state machine, activity, communication, sequence  Others overviewed in an appendix  Simplified design process  Requirements document  Relate this to the final code we generated from it

Diagrams  Use case diagrams  Interactions between a system and its external entities (actors)  View Account Balance, Withdraw Cash and Deposit Funds  Class diagrams  Model classes used in a system.  Specify structural relationships between system parts  State machine diagrams  Model how an object changes state  Indicated by the values of object attributes at a given time

Diagrams  Activity diagrams  Model workflow during program execution  Model actions and order in which they’re performed  Communication diagrams  Model interactions among objects  Emphasis on what interactions occur.  Sequence diagrams  Model interactions among objects  Emphasis on when interactions occur

Parts of Our Design Process  Chapter 12  Examine the Requirements Document  Identify the Classes  Identify Class Attributes  Identify Objects’ States and Activities  Identify Class Operations  Indicate Collaboration Among Objects

Parts of Our Design Process  Chapter 13  Start to Program the Classes  Incorporate Inheritance and Polymorphism into the design

Final Class Diagrams

The Implementation  Implement the ATM System  Discussion focuses on how we used the design to  Determine each class’s name, attributes, behaviors and relationships to other classes  Determine the objects to create  Implement interactions between objects as member- function calls  Also how we determined additional attributes, behaviors and interactions that were not in the original design

How I Present It  Read the Requirements Document  Explain the simplifying assumptions  Discuss the simplified design process  Discuss each UML diagram  Purpose  How it helps you write the code that implements the system

Contact Information  Paul Deitel, CEO  Deitel & Associates, Inc.  Twitter:  Facebook:    Source Code: