Use Case Diagram: Exercise 5 and 6 Yong Choi BPA CSUB.

Slides:



Advertisements
Similar presentations
Context Diagram Yong Choi BPA CSUB.
Advertisements

GCSE ICT By the end of this session, you will be able to: Explain main features of ATM machines Identify features of credit cards, debit cards, smart cards.
Chapter 4: Requirements Engineering
Use Case Diagrams Damian Gordon.
1 Object-oriented design Part 2: OO tools & UML. 2 CRC cards Design tool & method for discovering classes, responsibilities, & relationships Record on.
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases Paul Ammann & Jeff Offutt
USE CASE – ATM EXAMPLE Actors: ATM Customer ATM Operator Use Cases: The customer can withdraw funds from a checking or savings account query the balance.
SWE 214 (071) Use Case Diagrams Slide 1 Use Case Diagrams Examples.
Sample Problems for Testing For “Program” Level Testing: –Triangle –Next Date –Sales Commission For “System” Level Testing: –ATM system –Currency conversion.
Extending the Requirements Model - techniques for detailing use cases
CPSC 333: Foundations of Software EngineeringJ. Denzinger Small Test: Bank account manager System has to run on an automated teller machine. User must.
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases Paul Ammann & Jeff Offutt
ATM User Interface V3. I/O Devices Input: Keyboardfor input, option select Keyboardfor input, option select Or Touch screen Or Touch screenOutput: Screenfor.
Sequence Diagrams. Introduction A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and.
ATM : A.T.M Done by Shakila Sattar. What is an A.T.M.? Automated teller machine Or Automatic teller machine.
Chapter 12 ATM Case Study, Part 1: Object-Oriented Design with the UML
Object Interaction Models - Review The use case and its scenarios serve as a vehicle for organizing the object interactions that take place. Each scenario.
In Class Exercises. TV  Think about your television as an object.  You send messages to it using the remote control. What messages can you send?  What.
Finite State Machines Control Circuits Example: Vending Machine Takes only quarters and dollar bills Won't hold more than $1.00 Sodas cost $.75 Possible.
Events & Messages Paul Ard Ales v2.0. Generic Exceptions  HardwareFail – the device does not respond  HardwareMalfunction – some part of the device.
Use Case Diagrams Examples.
{ How to Use An ATM A simple tutorial to teach how to use ATM Machines.
1 Lab Beginning Analysis and Design 4 Completion of first version of use case diagram initiates the processes of analysis and design. 4 UML provides.
INTERACTION DIAGRAMS Example Kingdom of Saudi Arabia Ministry of Higher Education Princess Noura bint Abdulrahman University College of Computer & Information.
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
Lesson 4-2 Example Solve. MONEY Casey and Jerald each purchased a ticket to the movies at $6.45 each. They used a different combination of bills.
From use cases to classes (in UML). A use case for writing use cases Use case: writing a use case Actors: analyst, client(s) Client identifies and write.
I wonder who has more money…. 1 dollar, 3 nickels, 5 dimes 6 dimes, 3 pennies, 5 quarters 8 pennies, 6 nickels, 3 dimes 2 half dollars, 5 pennies, 8 nickels.
Chapter 3 Use Cases.
Merijn Benjamin Christina
Glenn David Blank Computer Science & Engineering Department Lehigh University, Bethlehem, PA, USA With support from the National Science Foundation (Grants.
CS212: Object Oriented Analysis and Design Lecture 4: Objects and Classes - I.
Online Car Rental System A customer can browse available cars. A customer can create a new car reservation. The system validates credit card information.
ICT and Banks Banks use mainframe computers to maintain customer accounts. They store a record of each customer’s withdrawals and deposits. Each bank mainframe.
SFWR ENG 3KO4 Software Development Fall 2009 Instructor: Dr. Kamran Sartipi Software Requirement Specification (SRS) for the Automated Banking Machine.
Sample Problems for Testing
SFWR ENG 3KO4 Software Development for Computer/Electrical Engineering Fall 2009 Instructor: Dr. Kamran Sartipi Software Requirement Specification (SRS)
Faculty of Computer & Information
Day 1 - Warm-Up  1. $ $ $ $  2. $ $ $75.00  3. Find the total deposit: Currency: 7 one-dollar bills, 3 five-dollar.
Cash handling, change making and register operations These are competencies.
Who uses it?. We all use money to buy what we need to function in our world. Money Vocabulary Bills Dollars Coins Sliver Dollar Half Dollar Fifty Cent.
Counting Coins. The Basics Quarter 25 cents Dime 10 cents.
Canadian Money. Coins Penny 1 cent 1¢ Nickel 5 cents 5¢
Let’s Learn About Money!
Charlie Cards Save Money & Time Daily & Monthly Passes Save Even More.
Coin Problems.
Banks and Money Have you ever seen Canadian money? How many bills are there in Canada? –$5, $10, $20, $50, $100, $500, $1000 Do you know the names of all.
COP 4331 OO Processes for Software Development Lab1 © Dr. David A. Workman School of EE and Computer Science University of Central Florida May 11, 2005.
1 Chapter 5 Modeling System Requirements Finding the Use Cases Page
1 Graph Coverage (6). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Section
Übungen zur Qualitätssicherung von Software (SWQS) Prof. Dr. Holger Schlingloff Humboldt-Universität zu Berlin und Fraunhofer FOKUS : Modellbasierter.
ATM Adv. SW Engineering
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
Check It Out When you receive a paycheck, you may want to have a checking account. Do you have a checking account?
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
1 LAB What is Collaboration diagram? 4 Collaboration diagrams illustrate the interaction between the objects, using static spatial structure. 4.
Deposits pp SECTION. Click to edit Master text styles Second level Third level Fourth level Fifth level 2 SECTION Copyright © Glencoe/McGraw-Hill.
Deposits pp SECTION. Click to edit Master text styles Second level Third level Fourth level Fifth level 2 SECTION Copyright © Glencoe/McGraw-Hill.
RTM (Robotic Teller Machine) By Jonathan Daudelin Construction Time : February – June 2006 Parts used : 2 RCX’s, 4 Motors, 4 Sensors, Hundreds of Legos.
Lecture Outline Monday 23 rd February (Week 4) 3 – 3:10pm Review of Requirements Eng. and use cases 3:10 – 3:40pm Exercise on Use Case 3:40-4:40 Class.
UC Diagram & Scenario RKPL C & D. Using Use Case Diagram Use case diagrams are used to visualize, specify, construct, and document the (intended) behavior.
Money – Change Combinations &MathLine. Start with each ring representing a penny Money – Change.
Daar is geen woord Chinees bij. Follows the push model, messages are not initiated by the software 2.
HOW CAN I CONVERT MONEY? MCC.4.MD.1 Money. Conversions ____ pennies = 1 nickel ____ nickels = 1 dime ____ dimes = 1 dollar ____ quarters = 1 dollar.
1 Case Study and Use Cases for Case Study Lecture # 28.
ATM OO Design and Implementation Case Study
SECTION 4-1 pp Deposits.
Dynamic Modeling of Banking System Case Study - I
Use Case Document Example
(To be used when giving funds to Treasurer)
Presentation transcript:

Use Case Diagram: Exercise 5 and 6 Yong Choi BPA CSUB

 Decomposition of the system How many subsystems?  Define participating actors (but no roles..)  Benchmark chapter 7 SoundStage use case diagram

Tips  Apply common sense and think in terms of system’s perspective.  Physical processes is nothing to do with system’s processes. In other words, most of physical processes do not need to be descried. delivery of a can of soda or money by the system

Description: Vending Machine  This use case documents the event of a customer purchasing a can of soda from a vending machine. The soda machine has a coin slot and also a dollar bill receptacle. The machine accepts nickels, dimes, and quarters, at one coin at a time. The machine only accepts one-dollar bills, placed face up, with the top of the bill on the left. The machine has a coin return lever that can be depressed to cancel the purchase and the money returned via the coin return receptacle. The machine also has a product receptacle in which cans of soda are dispensed to the user. And finally the machine has a digital display that is used to display messages related to product prices, amount of money deposited, product out of stock, using exact change, out of service, plus user- friendly messages such as “Thank You,” etc.

Precondition : Vending Machine  Machine has been stocked with product and currency for change.

Trigger : Vending Machine  This use case is initiated when the customer deposits currency (or prepaid card) into the vending machine.

Description: ATM  This use case documents the event of a customer withdrawing money from an ATM machine. The ATM has a bank card reader, a numeric keypad, a display screen, a money dispenser, and a receipt printer plus user-friendly messages such as “Thank You,” etc.

Precondition: ATM  Machine has been stocked with money. The customer has a bank card

Trigger: ATM  This use case is initiated when the customer inserts the bank card into the ATM.