Technical Specification Methods
更新时间:2023-06-10 15:10:01 阅读量: 实用文档 文档下载
- technical推荐度:
- 相关推荐
Technical Specification Methods
IS 1024 Information SystemsLecture 6Technical Methods For Specifying Requirements(From: Leffingwell Chp 24)
UML State Diagrams(From: Fowler Chp 10 &http://pigseye.kennesaw.edu/~dbraun/csis4650/A&D/UML_tutorial/state.htm)
Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods Key points– Some reqs too complex and/or critical for natural language – Several alternative techniques available – Most require special training – Use only when necessary since most users won t understand them – Use in combination with natural language
Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods If you can t afford a misunderstanding, supplement natural language with a technical specification
Pseudocode– Specification in a programming like language – Hybrid between natural language & programming language w/ strict syntax
Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods Pseudocode– No official version – Use Verb-Object imperative sentences – Small vocabulary of action-oriented verbs – Use understandable names – Decisions using IF-ELSE – Loops using DO-WHILE, FOR-NEXT – Sensible formatting for readability – Can be understood by most users if wellwrittenCopyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods Pseudocode– Very useful when specifying a calculation – Reduces programming errors – Can be incorporated into a UC as supplemental info
Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods
Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods Finite State Machines– Models how a system changes state based on system inputs and its internal processing on those inputs – System should always be in a defined state – System transitions between states via defined events or actions – Used extensively in CS and is well studied (used for decades in hardware design)
Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods Finite State Machines– State Machine Diagram is UML version Will defer details to Fowler discussion…
– Notation details vary, but basically Each valid state represented by a box States connected by directed lines Directed lines labeled with event/action that triggers the transition between states
Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods Finite State Machines– In a typical business system, most objects do not exhibit significant state changes – Key is identifying those that do & ensuring UC properly accounts for those state changes – State-based behavior typically cuts across multiple UCs – In a business system, can you think of an entity that exhibits important state changes? – How does this impact UC writing?Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods Finite State Machines– Can represent state in UCs using status – Consider UC: Rent Vehicle Can t rent a vehicle that is not available– System verifies that selected vehicle status is available
After rental process is complete, must ensure vehicle can t be rented until you return it– System changes vehicle status to rented
– Failure to properly specify state (status) is common error in UC writingCopyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods Decision Tables & Trees– Useful for the depiction of system responses regarding various input combinations that generate multiple outputs – IF-THEN-ELSE logic – Can be displayed in tabular form (Table 24-1 p. 283) or tree form (Fig. 24-3 p. 284) – Good when complex conditional logic is involved – Helps ID missed alternativesCopyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods
Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods
Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods Activity Diagram– Updated UML version of the venerable flowchart (Fig. 24-4, p. 285) – Very easy for users to understand when properly drawn – Simple notation, will defer to Fowler discussion – Excellent for depicting parallel workflows
Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods Entity-Relationship Diagrams (ERD)– The standard relational database modeling technique; an essential model artifact – Assumes knowledge of RDB principles Tables & records Primary & Foreign Keys Normalization
– Would get additional exposure in IS 1022 (database) – Easily confused with OO class diagramsCopyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
Technical Specification Methods Concluding advice– Technical specification methods should supplement natural language specifications – They are NOT a substitute – Mastery of these techniques will separate you from the pack
Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
IS 1024 Information Systems
UML State Diagrams
Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
State Machine Diagram State machines date from 1960s– Petri Nets (much more complex) – SMDs heavily influenced by Harel Statecharts
SMD can depict lifecycle of an entity or SW object Agile modelers aren t fans of SMDs– In typical business system, not many objects exhibit complex state changes – More common in control systemsCopyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
State Machine Diagram SMDs useful for modeling stateful entities across multiple use cases Use SMDs to model changes in state (i.e., status) of an entity in response to key events For example, a bank loan application– Must be verified as complete before it can be evaluated – Must be evaluated
before it can be approved/declined – Must be approved before funds can be lent – Must be paid off in full before it can be closed outCopyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
State Machine Diagram
Transition syntax– Trigger Event [guard] / activity to perform
Copyright 2005 by Glenn L. Ray, all rights reserved
Technical Specification Methods
State Machine Diagram
Copyright 2005 by Glenn L. Ray, all rights reserved
正在阅读:
Technical Specification Methods06-10
部编人教版七年级上册语文文言文含答案(Word版)04-17
部队遵章守纪保证书02-12
幼儿园玩教具制作点滴体会09-06
第六章 收益和风险 习题06-16
我国村民自治存在的问题与对策探讨03-24
新时期大学生犯罪心理原因及对策探讨04-20
ERP供应链管理业务流程介绍05-21
初二物理下学期教学案04-08
学校食堂安全教育培训记录04-06
- 1OCPP - 1.6 - JSON - Specification 中文 - 图文
- 2embedded work seriously familiar with drawings and specification requirements
- 3Poster 1039-Investigation the effect of different methods of
- 4DESIGN METHODS FOR FPGA-BASED IMPLEMENTATION OF COMBINATORIA
- 5Posters from various technical sessions remain on display in
- 6Java+Servlet+Specification - - ++Version+2.3
- 7Compare and contrast the theories and methods of Emile Durkheim and Max Weber
- 8Abstract Using Robots to Increase Interest of Technical Disciplines in Rural and Underserve
- 9IEEE standard for Terminology and Test methods for ADC Std 1
- 10OVERCOMING TECHNICAL FRUSTATIONS IN DISTANCE EDUCATION TELE-TASK
- 教学能力大赛决赛获奖-教学实施报告-(完整图文版)
- 互联网+数据中心行业分析报告
- 2017上海杨浦区高三一模数学试题及答案
- 招商部差旅接待管理制度(4-25)
- 学生游玩安全注意事项
- 学生信息管理系统(文档模板供参考)
- 叉车门架有限元分析及系统设计
- 2014帮助残疾人志愿者服务情况记录
- 叶绿体中色素的提取和分离实验
- 中国食物成分表2020年最新权威完整改进版
- 推动国土资源领域生态文明建设
- 给水管道冲洗和消毒记录
- 计算机软件专业自我评价
- 高中数学必修1-5知识点归纳
- 2018-2022年中国第五代移动通信技术(5G)产业深度分析及发展前景研究报告发展趋势(目录)
- 生产车间巡查制度
- 2018版中国光热发电行业深度研究报告目录
- (通用)2019年中考数学总复习 第一章 第四节 数的开方与二次根式课件
- 2017_2018学年高中语文第二单元第4课说数课件粤教版
- 上市新药Lumateperone(卢美哌隆)合成检索总结报告
- Specification
- Technical
- Methods
- 英语五下频率副词的意义与用法
- 五年级语文缩写句子练习题
- 老股民14年炒股经
- ANSYS-Workbench教程07 WB-Mech_120_Ch05_Modal
- “唤醒式”德育课堂教学模式
- 农村小学如何开展语文综合性学习
- 发展党员座谈会记录
- 星形胶质细胞和神经损伤
- 啤酒发酵度影响因素及提高对策
- 软件定义网络SDN的研究进展
- 中考状元考场发挥有窍门
- 2011年春季布局陈慧琴
- 第二章比较教育学的历史发展
- 朝华数字娱乐棋牌网络游戏运营方案0320
- 吉林省水利工程质量监督实施细则(吉水质监270号
- 新冀教版二年级上册数学第八单元探索乐园教学设计反思作业题答案
- 13电路初探_2电路的连接方式导学案2
- 金蝶KIS迷你版初始化操作流程
- 自动扶梯及自动人行道监督检验自检报告(2012年新版本)
- 初中地理会考复习资料(八年级上册)2