LECTURE 14: USE CASE BASICS CSC 212 – Data Structures.

Slides:



Advertisements
Similar presentations
Topics in Python Blackjack & TKinter
Advertisements

Events Chapter 7. Interactive Real world is interactive User determines order of actions instead of programmer.
BLACKJACK SHARKS: Aabida Mayet, Omar Bacerra, Eser Kaptan March 15, 2010.
LAB 3 – Review of the Assignment. -- Clarifications Vikram Murali. TA : CSE 140L Prof. CK Cheng.
Computer Science 162 Section 1 CS162 Teaching Staff.
Functional Requirements – Use Cases Sriram Mohan/Steve Chenoweth (Chapters 14, 21 – Requirements Text) 1.
CSC 394: Tigers Group Back to Front iCasino Design Demo.
CS350/550 Software Engineering Lecture 1. Class Work The main part of the class is a practical software engineering project, in teams of 3-5 people There.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
Adding the Detail Filling in Use Case Templates. Use Case Template The use case diagram is important for visualizing a system and as a communication tool.
Training Math Tutors To Tutor Developmental Math Students
SELECT A LESSON 1. A WORLD AND CHARACTERS 2. PATHS AND ENEMIES 4. USING PAGES TO CHANGE THE RULES 5. GAME ANALYSIS AND DESIGN 6-7. CREATING YOUR OWN GAME.
Why planning? In order to make a successful project good communication is key! The process of planning and designing a project involves many people from.
PROFESSIONAL OUTSOURCED CUSTOMER SUPPORT On your website at affordable price. EU & America– Save up to 30% on your current customer support based Agents.
Notes on the Game Development Process
WEBINAR SERIES: ACCESSIBLE INTERACTIVE DOCUMENTS Week 3: Accessible Web Forms Norman Coombs
April 2009 BEATING BLACKJACK CARD COUNTING FEASIBILITY ANALYSIS THROUGH SIMULATION.
Friday January 11, 2013 Continue working on your literary essay rough draft. Remember you need to complete the rough draft on your plot diagram that.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 07: Forms - Spring 2011.
Noadswood Science,  To know the basics of Python coding and decoding Monday, September 07, 2015.
Tele-Sales Force (TSF) Lead Generation Campaign Script.
WML, WMLS More acronyms than you can shake a stick at!
CS 0004 –Lecture 8 Jan 24, 2011 Roxana Gheorghiu.
P LAGIARISM Week 9. F INAL PROJECTS AND STUFF Next week is the last day you can hand it any late work. Your final projects are due next Tuesday. I will.
Tweets on Deck Moving beyond traditional models of sports coverage Avery Holton, Ph.D. Student, University of Texas at Austin
CSC 213 – Large Scale Programming Lecture 2: Object-Oriented Analysis & Object-Oriented Design.
Introduction to JavaScript + More on Interactive Forms.
11 Finding Winners Using Arrays Session 8.2. Session Overview  Find out how the C# language makes it easy to create an array that contains multiple values.
SWEN 302: AGILE METHODS Roma Klapaukh & Alex Potanin.
CSC 213 – Large Scale Programming Lecture 3: Object-Oriented Analysis.
Putting together a complete system Chapter 10. Overview  Design a modest but complete system  A collection of objects work together to solve a problem.
1 Project Information and Acceptance Testing Integrating Your Code Final Code Submission Acceptance Testing Other Advice and Reminders.
SE 320 – Introduction to Game Development Lecture 8: Animations, GUIs, Debugging and IDEs Lecturer: Gazihan Alankuş Please look at the last two slides.
Events (2) (Alice In Action, Ch 6) Slides Credit: Joel Adams, Alice in Action CS 120 Lecture September 2012.
Bug Session Four. Session description Objectives Session activities summary Resources Prior knowledge of sequencing instructions using Bug Bug website.
Requirements Analysis via Use Cases SE-2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission.
1 CMPT 275 Software Engineering Requirements Gathering Activity Janice Regan,
Tutorial 8 Programming with ActionScript 3.0. XP Objectives Review the basics of ActionScript programming Compare ActionScript 2.0 and ActionScript 3.0.
CSC 213 – Large Scale Programming. Today’s Goal  Improve design skills to make usable designs  Noun extraction & UML class diagram reviewed  Connections.
Question of the Day  On a game show you’re given the choice of three doors: Behind one door is a car; behind the others, goats. After you pick a door,
Question of the Day  On a game show you’re given the choice of three doors: Behind one door is a car; behind the others, goats. After you pick a door,
2. GATHERING REQUIREMENTS Object-Oriented Analysis and Design NTPCUG.
Originated by K.Ingram, J.Westlake.Edited by N.A.Shulver Use Case Scripts What is a Use Case Script? The text to describe a particular Use Case interaction.
CSC172 Class Design Pepper. Goals How to design classes How to think in terms of objects StarUML Code Generation.
CSC 395 – Software Engineering Lecture 14: Object-Oriented Analysis –or– Ripping the Band-Aid Off Quickly.
Welcome to HS 310 Understanding Diversity, Self Awareness and Change.
SE 320 – Introduction to Game Development Lecture 3: Unity’s Interface and Concepts Lecturer: Gazihan Alankuş Please look at the last two slides for assignments.
CSC480 Class Design Pepper. Goals How to design classes StarUML Code Generation.
Introduction to JavaScript CS101 Introduction to Computing.
1 Chapter 5 Modeling System Requirements Finding the Use Cases Page
Events (Alice In Action, Ch 6) Slides Credit: Joel Adams, Alice in Action CS 120 Lecture September 2012.
Staffordshire UNIVERSITY School of Computing Version Jan 08 original by K.Ingram & J.Westlake1 Use Case Scripts The text to describe a particular Use Case.
CMSC 202 A Design Exercise. 2 OO design activities Finding the Objects Defining the responsibilities –Services –Attributes Discovering relationships.
Intermediate 2 Computing Unit 2 - Software Development.
1 What is the Software Life Cycle? The stages of developing a software application Requirements Analysis High-level Design Plan Low-level Design Implementation.
Sega 500 Scripted events and Sequences Jeff “Ezeikeil” Giles
SCRIPT PROGRAMMING WITH FLASH Introductory Level 1.
SE 320 – Introduction to Game Development Lecture 2: Introduction to Unity Lecturer: Gazihan Alankuş Please look at the last two slides for assignments.
The Interactive Media Industry Organisational Structures and Job Roles Research: Skillset.org.
CS12230 Introduction to Programming Lecture 6-2 –Errors and Exceptions 1.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
YEAR 6’S GUIDE TO STAYING SAFE ON THE INTERNET. CHATTING When you are chatting to people online, try not to give out any personal information about yourself.
Discrete Optimization MA2827 Fondements de l’optimisation discrète Dynamic programming (Part 2) Material based on.
GAME TESTING REQUIREMENTS AND METHODS GAME DESIGN.
Development Environment
Program Documentation
CSCI1600: Embedded and Real Time Software
Task 2 Implementation help
For Tutors Introduce yourself.
Presentation transcript:

LECTURE 14: USE CASE BASICS CSC 212 – Data Structures

Why Should We Care? Without requirements or design, programming is the art of adding bugs to an empty text file. --Louis Srygley

Helping Local Economy  Write code for JackBot2000  Shuffles & deals cards for games of blackjack  Accepts and pays out on all bets  Allows dealers to chat up guests  Should boost blackjack profits greatly  Vital that software work correctly  Regulators promise large fines for any errors

Helping Local Economy  Write code for JackBot2000  Shuffles & deals cards for games of blackjack  Accepts and pays out on all bets  Dealers chat up betters & keep happy  Concept should boost profits greatly  Vital that software work correctly  Regulators promise large fines for any errors

Where to Begin?  Use industry standard for starting large project Use Cases

How To Do This?  Stories are your hammer  Unrelated technical details limited  Interaction specified & nailed down  Creates easy testing script for end  Clearly fixes actions and the results  Provides insight into client’s goals  Reasons behind result documented  People stories  Document stories at multiple levels  Visual, explanatory, outline are all important

 Must be of some real value  Serious requirements documented only  Important system uses from user’s perspective  Needs to define clear starting & stopping events  What event starts this use of the system?  What happens to let user know it’s over?  Actor/External initiator triggers start  User  Fluffy  Gravitational wave Use Case Basics

Deal First Card Use Case  Dealer presses the Deal button  Place card, face up, before each player & dealer

Deal Second Card Use Case  Deal one card, face up, to each player  Deal one card, face down, to the dealer Where is the external initiator? What event starts this use case? Why should the user care?

Deal Cards Use Case  Dealer presses the Deal button  Place card, face up, before each player & dealer  Place card, face up, before each player  Place card, face down, before dealer What if someone has blackjack? When should we check?

Play Hand Use Case  Dealer presses the Deal button  Place card, face up, before each player & dealer  Place card, face up, before each player  Place card, face down, before dealer  Check if dealer has blackjack  Remember that we are telling a story  2 behaviors possible, but still need to tell a story

Off the Beaten Path  Main path shows simplest case to follow  What else might happen shown in alternate paths  Showing the possibilities is part of use cases value  Client walks through what happens  Opportunity to ask what if questions & check solution  All details should be made as clear as possible  Easy test generation given this walk through  Good way to check problem understood

 Dealer presses the Deal button  Place card, face up, before each player & dealer  Place card, face up, before each player  Face-down card placed before dealer 4.1 Dealer’s cards total 21 (he has blackjack) ‏ 4.2 Mark all players lost and take their money Player hits blackjack & the dealer does not Mark player won and pay out at 1.5 times bet Play Hand Use Case Is this use case complete? Have the users finished with this interaction? Have we reached a clear end point?

For Next Lecture  Week #5 homework available on web/Angel  As with all weekly assignments, due next Tuesday  Reading for Monday is available on web  How to represent relationships between use cases?  How do we turn use cases into programs?  Can we generate test cases directly from use cases?