Anskaffelse og kravspecifikation SR4_FuncDetail. Russisk MIG.

Slides:



Advertisements
Similar presentations
Software requirements 3. Functional requirement styles
Advertisements

User Interface Design 5. Analysis, visions and domain description.
Anskaffelse og kravspecifikation SR9_Checking. SR9: Checking and validation Kilder SR: Soren Lauesen: Software requirements - Styles and techniques. Addison-Wesley,
Accounting System Design
Robert B. Jackson Brigham Young University John W. Satzinger
Lecture 5 UML and Modelling Behaviour. UML Unified Modelling Language Successor to a number of Object-Oriented Analysis and Design methods the 3 Amigos:
Object-Oriented Analysis and Design
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall.
Introduction To System Analysis and Design
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 5: Restaurant.
Plancher til Anskaffelse og kravspecifikation, Forår 2007 Lauesen: Software requirements - Styles and techniques 4. Functional details Plancherne stammer.
Anskaffelse og kravspecifikation SR4_FuncDetail. Russisk MIG.
Plancher til Anskaffelse og kravspecifikation, Forår 2007 Lauesen: Software requirements - Styles and techniques 9. Checking and validation De fleste af.
Anskaffelse og kravspecifikation SR3_Functions - undtagen tasks.
Slides for: Software requirements - Styles and techniques Soren Lauesen 2. Data requirement styles January 2007 Slides covered by the compendium are omitted.
Accounting Interface:
Chapter 2: Developing a Program Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved.
Slides for: Software requirements - Styles and techniques Soren Lauesen 3. Functional requirement styles January 2007 Slides covered by the compendium.
Marcelo Santos – OOAD-CDT309, Spring 2008, IDE-MdH 1 Object-Oriented Analysis and Design - CDT309 Period 4, Spring 2008 More on use cases System sequence.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Regal Web Booking Engine Group Booking User Guide.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 31 Slide 1 Service-centric Software Engineering 2.
Slides for Software requirements Styles and techniques Soren Lauesen 9. Checking and validation August 2006 © 2002, Pearson Education retains the copyright.
IS550: Software requirements engineering
Microsoft Office 2003: Advanced 1 ADVANCED MICROSOFT ACCESS Lesson 17 – Utilizing Advanced Management Tools.
Developing Use Cases in a Group Carolyn L. Cukierman Face-to-Face Technology Conference March 27, 2000.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 21. Review ANALYSIS PHASE (OBJECT ORIENTED DESIGN) Functional Modeling – Use case Diagram Description.
Slides for User interface design A software engineering perspective Soren Lauesen 12. User documentation and support August 2006 © 2005, Pearson Education.
Chapter 14. Activity Modeling for Transformational Systems
Slides for User interface design A software engineering perspective Soren Lauesen 7. Function design August 2006 © 2005, Pearson Education retains the.
Requirements Artifacts Precursor to A & D. Objectives: Requirements Overview  Understand the basic Requirements concepts and how they affect Analysis.
1 CSE 3345 User interface design A software engineering perspective Chapter 2: Prototyping and Iterative Design.
CSC 395 – Software Engineering Lecture 13: Object-Oriented Analysis –or– Let the Pain Begin (At Least I’m Honest!)
Slides for User interface design A software engineering perspective Soren Lauesen 9. Reflections on user interface design August 2006 © 2005, Pearson Education.
SE: CHAPTER 7 Writing The Program
© 2011 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Stewart Venit ~ Elizabeth Drake Developing a Program.
Slides for User interface design A software engineering perspective Soren Lauesen 2. Prototyping and iterative design August 2006 © 2005, Pearson Education.
Modeling Shari L. Pfleeger and Joanne M. Atlee, Software Engineering: Theory and Practice, 4 th edition, Prentice Hall, Hans Van Vliet, Software.
CS 4850: Senior Project Fall 2014 Object-Oriented Design.
9-1 © Prentice Hall, 2004 Chapter 9: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Chap 28 UML Activity Diagrams and Modeling
The Software Development Process
UML’s StateChart FSM, EFSM in UML Concurrent states Tool support.
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
Algorithms and Pseudocode
Analysis Classes. What Is an Analysis Class?  A class that represents initial data and behavior requirements, and whose software and hardware-oriented.
Modeling Shari L. Pfleeger and Joanne M. Atlee, Software Engineering: Theory and Practice, 4 th edition, Prentice Hall, Hans Van Vliet, Software.
Slides for User interface design A software engineering perspective Soren Lauesen 13. More on usability testing August 2006 © 2005, Pearson Education retains.
Copyright © 2011 Pearson Education Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall & Kendall Global Edition 9.
Analysis. This involves investigating what is required from the new system and what facilities are available. It would probably include:
The overview of Hotel Management System Currently at the Okinawa International hotel, routine procedures like; vacant room inquiry, reservation and cancellation.
Use Cases UML. Use Cases What are Use Cases?  A statement of the functionality users expect and need, organized by functional units  Different from.
Object Design Examples with GRASP
A software engineering perspective
Analysis Classes Unit 5.
A451 Theory – 7 Programming 7A, B - Algorithms.
Anskaffelse og kravspecifikation
Technical Methods for Specifying Requirements
IT316 Software Requirement Engineering
Use Cases and Scenarios
Software acquisition and requirements SR3_Functions - except tasks
UML’s StateChart FSM, EFSM in UML Concurrent states Tool support.
Service-centric Software Engineering
Accounting System Design
A software engineering perspective
Modeling Shari L. Pfleeger and Joanne M. Atlee, Software Engineering: Theory and Practice, 4th edition, Prentice Hall, Hans Van Vliet, Software Engineering:
Accounting System Design
CS 8532: Advanced Software Engineering
Chapter 6: Architectural Design
Chapter 14. Activity Modeling for Transformational Systems
Presentation transcript:

Anskaffelse og kravspecifikation SR4_FuncDetail

Russisk MIG

SR4: Functional details Kilder SR: Soren Lauesen: Software requirements - Styles and techniques. Addison-Wesley, UID: Soren Lauesen: User interface design - A software engineering perspective. Addison- Wesley, Fra kapitel 5. SL-07: Søren Lauesen: Vejledning til kravskabelon SL-07. Samfundslitteratur, Ekstra: Nye slides som ikke har noget sidestykke i bøgerne. Mange slides er vist i dansk oversættelse. © 2002, 2005, Pearson Education retains the copyright to the slides from the books, but allows restricted copying for teaching purposes only. It is a condition that the source and copyright notice is preserved on all the material.

5. SR4.1 Complex and simple functions Domain obvious FindFreeRoom PrintInvoice Checkin if booked if non-booked if add room Fastest truck route Voice recognition: "Up two lines" Domain non-obvious Simple program Interaction complexity Hard to program Possible requirement styles: A.(Leave to intuition) B.Natural language or tables C.Process description (algorithm) D.Performance specification (quality) E.Refer to laws and agreements Suitable choices? From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002 A B C E D B+D+E Discount calculation Business rules Tax calculation Payroll Optimize roster Voice recognition: "Show possible leaks"

6. SR4.2A Business rules, informal table R1.The product shall suggest the following discount rates if a customer asks for discount: 1.Double room used as single25% 2.Family with more than one room, discount for additional rooms10% 3.Discount at immediate checkin: 3a.Before 6pm and hotel less than 50% booked, fair weather25% 3b.Before 6 pm and hotel less than 50% booked, bad weather 0% Case 1 and 2 cannot apply in the same stay. R2.Managers shall be able to change the rates From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

7. SR4.2B Business rules, decision table R1. The product shall suggest the following discount rates if the customer asks for discount: 1. Dble room used as singleYNY 2. Family, additional roomsNYY 3. Immediate checkinYY 4. Before 6 pmYY 5. Less 50% bookedYY 6. Fair weatherNY a. Room discount 25%v? b. Room discount 10%v c. Early discount 25%v d. Early discount 0%v e. Errorv R2.Managers shall be able to change the rates and the rules From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002 Or-condition between cells. Action taken only once.

8. SR4.3 Process description, pseudo-code The product shall provide the following functions: 1.1 FindFreeRoom (type, period) List rooms of the requested type that are free in the period requested. Allow the user to select some of them as CurrentRooms in the requested period. 1.2 CreateNewStay (partial guest data, guest record) Create a temporary CurrentStay. If guest record exists then fill CurrentStay with recorded guest data else fill CurrentStay with partial guest data. Note: The product should look for similar records too. 1.3 Checkin (CurrentStay, CurrentRooms) If CurrentStay is booked, record rooms in stay as occupied. If CurrentStay is not recorded, check CurrentRooms free. If guest not recorded, check guest data complete, record guest. record CurrentRooms as occupied, record stay. If... From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002 Ends up in many code pieces Each function should cover: Input expected state state changes output

9. Extra: Structured natural language Certification Specification for Aircraft Engines (CS-E): Raw extract of CS-E The Engine Control System must be designed and constructed so that in the Full-up Configuration, the system is essentially single Fault tolerant for electrical and electronic Failures with respect to LOTC/LOPC events. [Loss Of Thrust/Power Control] From: Mavin et al.: EARS (Easy Approach to Requirements Syntax) To appear in Proceedings of Requirements Engineering 09 Normal eventUnwanted event Structured natural language While in a Full-up Configuration, the Engine Control System shall be Essentially Single Fault Tolerant with respect to LOTC/LOPC events. Other structured examples from CS-E While the aircraft is on-ground, when reverse thrust is commanded, the control system shall enable thrust reverser deployment. While the aircraft is in-flight, if reverse thrust is commanded, then the control system shall inhibit thrust reverser deployment.

10. SR4.4 State diagrams Rooms have a RoomState for each day in the planning period. The status shows whether the room is free, occupied, etc. that day. R12:RoomState shall change as shown in Fig. 12. Fig. 12. RoomState freebooked occupied repair book checkinchangeRoom checkin checkoutchangeRoom event cancel repair done create ? From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002 Life cycle of an object

11. SR4.5 State-transition Matrix From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002 States: Event:

From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley SR4.6A Activity diagram, workflow, BPMN Action Petri-net Synchronization

13. SR4.6B Fork and join From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

14. SR4.7A UML Class Diagram Stay stay# paymethod checkout recordService printConfirm Room State date #persons state setState getState set... Room... Service date count set... get... ServiceType name price set... Guest name address passport book * * 0..* 1 Program: curRoomState.setState(occupied) Class name Operations Association = relationship From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

15. SR4.7B Object-Oriented Business Application Guest name... set... Stay stay#... set... Room date... set... SQL-driven database Service (empty) checkout book... Rooms window Display attr. Update Stay window Display attr. Update Data objects (trivial functions) Service and Observer functions (little data) User interface objects (GUI) Observe (empty) update From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002 Practice: SQL statements. Different for each window. Volatile. SOA: Provide universal services? Hide data model? Call and reply

16. SR4.8 Collaboration diagram Stay Room State Room Service Type 1.1: * get- Service 1.1.1: get- ServicePrice 1.2: * getRoom 1.2.1: getRoomPrice 1: checkOut From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

17. SR4.9 Sequence diagram Product Account system OK Transfer OK Data 1 Data 2 Done Event + message + reply Message + reply Asynchronous message User Product free rooms FindRooms SelectRoom Event + message + reply Event + asynchronous message From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

Stay Guest E/R model Retrieve booking Display guest... Display error [found] Flow chart 18. Diagrams - major ones Booking request Booking Guests guest data Data Activity (process) Data store Activity (action) Next (algorithm) Dataflow model free booked book checkin cancel State diagram (for one object) State Transition (event) Data Relation Retrieve booking Display guest... Display error [found] Activity diagram Next (algorithm) Data Data store