系统分析与设计HW4

1、简答题

  1. 用例的概念Use is a collection of related success and failure scenarios that describe an actor using a system to support a goal.
  2. 用例和场景的关系?什么是主场景或 happy path?
    Scenario A use case represents a collection of scenarios: primary, plus zero or more alternates. The primary scenariocorresponds to the main system interactions, usually the ‘success’ scenario. Alternate scenarios correspond to less frequent interactions and exceptions.
  3. 用例有哪些形式?
  • Brief(high level) :Terse one-paragraph summary, usually of the main success scenario. During early requirements analysis, to get a quick sense of subject and scope.May take onlya few minutesto create.
  • Casual(简便格式): Informal paragraph format. Multiple paragraphs that cover various scenarios.
  • Fully :dressed All steps and variations are written in detail, and there are supportingsections,such as preconditionsand successguarantees.
  1. 对于复杂业务,为什么编制完整用例非常难?
    场景多,用例复杂
  2. 什么是用例图?
    Use case diagram is an excellent pictureof the system context; It makes a good context diagram Showing the boundary of a system, what lies outside of it, and how it gets used. It serves as a communication tool that summarizes the behavior of a system and its actors.
  3. 用例图的基本符号与元素?
    用例图包6个元素,参与者,用例,关联关系,包含关系,扩展关系,泛化关系。
    在这里插入图片描述
  4. 用例图的画法与步骤
  • 确定参与者
    (1)谁将使用该系统的主要功能。  
    (2)谁将需要该系统的支持以完成其工作。 
    (3)谁将需要维护、管理该系统,以及保持该系统处于工作状态。  
    (4)系统需要处理哪些硬件设备。  
    (5)与该系统那个交互的是什么系统。 
    (6)谁或什么系统对本系统产生的结果感兴趣。
  • 识别用例 从分析系统的参与者开始,考虑每一个参与者是如何使用系统的。
  • 识别用例间的关系
    (1)关联关系
    在这里插入图片描述
    (2)包含关系
    在这里插入图片描述
    (3)扩展关系
    在这里插入图片描述
    (4)泛化关系
    在这里插入图片描述
  1. 用例图给利益相关人与开发者的价值有哪些?
  2. Use case diagram is an excellent pictureof the system context; It makes a good context diagram Showing the boundary of a system, what lies outside of it, and how it gets used. It serves as a communication tool that summarizes the behavior of a system and its actors.

在这里插入图片描述

  1. 因为相似系统的参与者,用例和用例间关系相似。

  2. 添加新的用例与系统,例如让顾客选择沐浴露和洗发露类型,以及早餐定做等等。在添加新的用例时,用例图用鲜艳的颜色来标定。
    在这里插入图片描述

  3. 在添加创新的用例和系统时,用例图用鲜艳的颜色来标定。

  4. 电影订票 backlog

IDNameImpEstHow to demo
1Select City502选择城市,显示城市
2Select Movie1004选择电影,地点,时间,位置,显示订票信息
3Payment301用户支付30元,看用户存款减少30元
  1. 电影订票项目用例点的估算
用例#事务#计算原因UC 权重
Select City21简单
Select Movie44平均
Payment11简单
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值