联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> C/C++编程C/C++编程

日期:2018-11-02 10:39

Lab 3

UML Exercise - Sample Solution

Peer-Olaf Siebers

</> Task

Produce the following for the new "Student-Internship Match" application:

– Use-case diagram for the described application

– Complete use case specification for a non trivial use case (e.g. "search for jobs")

– Activity diagram of the same use case

– Sequence diagram of the same use case

– Class diagram

Classes including key attributes and operations o Relationships

Multiplicity indicators

– Non trivial state machine diagram for one of the classes

Following are some diagrams that represent potential draft solutions to the task

COMP2013-Autumn 2018 2

</>

COMP2013-Autumn 2018 3

</> Sample Use Case Specification "Search Jobs" Use Case

Name: Search Jobs

Purpose: Search for suitable job for a student

Pre-condition(s): Student is logged in

Base case:

1. Student chooses "Search Jobs" option

2. Student chooses keywords that best describe the job (out of a given set of keywords)

3. Student clicks "OK" to start query search

4. Database does query search

5. Database sends query results

6. Student receives query results (one or more matching jobs)

Post condition(s): One or more jobs have been found and propagated to the student

Alternative path

– If in step 4 student does not receive a matching result for their job query they will be asked to change the

chosen keywords and sent back to Step 2

– If there are no job offers in the database there will be a message displayed after step 1 and the application

will return to the main window

COMP2013-Autumn 2018 4

</> Sample Activity Diagram for "Search Jobs" Use Case

COMP2013-Autumn 2018 5

</> Sample Sequence diagram for "Search Jobs" Use Case

COMP2013-Autumn 2018 6

</> Sample Class Diagram

COMP2013-Autumn 2018 7

</> Sample State Machine Diagram (for the database)


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp