SWEN90004代写、代做Java编程设计
The University of Melbourne
School of Computing and Information Systems
SWEN90004 Modelling Complex Software Systems
Assignment 1b, 2024
Released: Thursday 21 March, 2024. Deadline: 23:59, Monday 15 April, 2024.
Objective
To use a higher-level modelling language to specify and reason about a concurrent system.
Background and context
Assignment 1 has two parts. The first part, 1a, was worth 12.5% of your final mark; this
part, 1b, is worth 12.5%. In the first part (which you should complete before attempting this
part) you designed and implemented (in Java) a concurrent simulation of a hospital emergency
department. Now your task is to model that system using FSP, to use LTSA to check your
model, and to identify and mitigate any problems that you discover through modelling.
The tasks
1. Model: The first task is to model your implementation from Assignment 1a in FSP. That
is, reverse engineer an FSP model from your Java implementation. Your model should
contain comments that explain the design and its components. NB: If your implementation
in Assignment 1a was incomplete, or too incorrect to form the basis of an FSP model, you
may wish to construct your model based on the system description in the Assignment 1a
specification.
2. Check: Specify what you believe are the relevant safety and liveness properties for your
FSP model. Note: for liveness, it may be the case that only a small number of properties
are required. Use LTSA to check these properties.
3. Modify: You will most likely have discovered, either while completing Assignment 1a, or
while completing Tasks 1 and 2 of this Assignment, that there is a potential issue with the
operation of the system.)
Propose at least one modification to the design of the system that mitigates this problem
and update your FSP model. If you wish, you may also implement this modification in
your original Java implementation of the system, and satisfy yourself that it now behaves
“correctly” (ie, does not violate safety or liveness properties). Note: You do not need to
re-submit your Java code!
Be sure to create a copy of the file containing your original FSP model. You are required
to submit both the original model from Task 1, and the modified model from Task 3 as
separate files.
4. Discuss: Discuss your original and modified models. Points you may wish to address
include:
• What (if any) problems did you find in your original model as a result of using LTSA?
• Had you identified these in your Java implementation?
• If not, why do you think you picked these up now and not before submitting Assignment 1a?
• What was the reasoning behind the changes you suggested in your modified model?
Are there any trade-offs in system performance associated with your suggestion?
• If you did not find problems with your original implementation, were you convinced
when you submitted Assignment 1a that no problems existed? Why did you believe
this? Do you still believe there are no problems?
Keep your discussion to no more than 500 words
Procedure and assessment
The assignment should be completed by students individually. A late submission will attract a
penalty of 1 mark for every calendar day it is late. If you have a reason that you require an
extension, email Nic well before the due date to discuss this.
To tackle the assignment, first work through (and understand) the examples from lectures,
and do the workshop exercises. FSP is not difficult—it is simpler than most programming
languages, and much simpler than languages like Java. However, as with other languages, the
way to master it is to use it, and to learn by doing. Trying to do the assignment straight up
means you may struggle. Work through some easier examples first.
Submit a single zip file via the LMS. The file should include
• A file called model.lts with your initial FSP model, including the safety and liveness
properties from Task 2.
• A file called model_modified.lts with your modified/corrected model, including the
safety and liveness properties from Task 2.
• A plain text file called discussion.txt, containing the discussion of issues. Please ensure
that this is a plain text file; ie, not a doc, docx, rtf, or other file type that requires specific
software to read.
All model files and your discussion file should contain, near the top of the file, your name
and student number.
We encourage the use of the subject discussion board for discussions about the project.
However, all submitted work is to be your own individual work.
This project counts for 15 of the 50 marks allocated to project work in this subject. Marks
will be awarded according to the following guidelines:
Criterion Description Marks
Clarity & Abstraction FSP models are at a suitable level of abstraction. All behaviours relevant to interaction are specified, and there is
sufficient detail to implement the system from the model.
3 marks
Completeness The model is complete. All components have been modelled
and all expected behaviour is present. Suitable safety and
liveness properties have been described.
3 marks
Correctness The original FSP model accurately reflects the original Java
implementation (or specification). The modified FSP model
behaves is free of any problems identified in the original
model, does not violate any safety properties, and demonstrates all liveness properties.
3 marks
Formatting The FSP source adheres to the code format rules from Assignment 1a where this makes sense, including the use of
comments to document model components and properties.
2 marks
Discussion The discussion shows understanding of the subject material. 1.5 marks
Total 15 marks
Nic Geard
19 March 2024
Why backwards?
A valid question: Why are we modelling the system after implementing it? Should it not be
done the other way? Well, yes and no. Many people use modelling to understand an existing
code base (just look at the number of tools for reverse engineering UML models from code
bases). Reverse engineering is a great way to understand problems with an existing system. It
is true, however, that in many cases, it would be cheaper and easier to do the modelling first.
The other reason why the assignment is “backwards” is that trying to model a new system
using a new type of notation, such as FSP, will often end in disaster. We hope that, having gone
through the Java programming stage, you feel familiar with the system to be modelled and thus
can concentrate on the use of FSP. The exercise should be one of applying abstraction—a skill
that is of utmost importance in any engineering discipline.
请加QQ:99515681 邮箱:99515681@qq.com WX:codinghelp
- 全线高端 智能焕新,东软医疗强势亮相2024CMEF
- TG、WS、Zalo、line海外营销乐乐信息 代筛料子软件有哪些?
- Ins拉群营销软件,Instagram引流工具,让你的营销如虎添翼!
- 时尚推广,前沿技术!尝试 跨境电商WhatsApp协议号注册器云控群发软件,品牌曝光不再是难题
- 杭州威雅学校:2024届90%毕业生获得世界排名前50大学录取!
- Ins群发脚本营销软件,Instagram一键群发工具,让你打造营销新格局!
- 葡萄牙黄金居留计划基金移民:获欧盟身份的金钥匙
- 海尔生物医疗发布生命科学战略——向深而行 撬动产业高质量发展
- 代做Multicore Computing、代写JAVA编程设计
- 登上国际顶刊的鼻喷,一位英国医学科学院院士的科研成果转化之旅
- 市场风向标WhatsApp工具成功博主推崇助你准确揭示市场趋势实现业务成功
- 专业导师心选WtApp工具专业海外营销高手如何揭示市场趋势谱写商业传奇
- 数字迷境大揭秘:科技魔法师的Telegram协议号营销工具,引发好奇的科技探秘
- 安徽谷器数据荣获“2023年度数字化服务创新引领奖”
- Ins引流营销助手,Instagram打粉工具,助你轻松拓展市场!
- Ins/IG群发营销助手大揭秘!Instagram暴力批量私信软件推荐!
- 轻松蜕变 他使用WhatsApp拉群营销工具 品牌形象在国际市场上树立了崭新的标杆
- 《智慧城市“一网统管”运营研究报告2024》发布,新点软件参编助力
- Instagram群发工具,Ins引流助手,让你的营销无往不利!
- 时光隧道中的创新 WhatsApp拉群工具是科幻魔法师实现业务穿越的神奇法杖
- 共谋数字化转型新篇章|谷器数据应邀出席绵阳市数字化服务商座谈会
- TG/Telegram自动采集群发软件,TG批量拉群发助手,纸飞机炒群工具
- 客户询盘飙升不可阻挡:怎么找到靠谱的WhatsApp协议号卖家
- 共享首个铸造3D打印设备操作维保培训班报名开始
- 未知商机的星际探险者:全球app云筛为海外市场提供本地化的市场洞察
- TG群发推广秘器,电报自动采集拉群软件,Telegram营销加速器
- 2024 Instagram新款营销软件,ins群发工具/ig一键采集助手
- WhatsApp如何养号,ws群发操作/ws协议号活用/ws频道号应用/ws劫持号信息
- TT语音公司六次上榜中国互联网综合实力百强企业
- WhatsApp拉群之谜 外贸小白为何对这个营销工具心生好奇
推荐
- 智慧驱动 共创未来| 东芝硬盘创新数据存储技术 为期三天的第五届中国(昆明)南亚社会公共安 科技
- 如何经营一家好企业,需要具备什么要素特点 我们大多数人刚开始创办一家企业都遇到经营 科技
- 全力打造中国“创业之都”名片,第十届中国创业者大会将在郑州召开 北京创业科创科技中心主办的第十届中国创业 科技
- B站更新决策机构名单:共有 29 名掌权管理者,包括陈睿、徐逸、李旎、樊欣等人 1 月 15 日消息,据界面新闻,B站上周发布内部 科技
- 创意驱动增长,Adobe护城河够深吗? Adobe通过其Creative Cloud订阅捆绑包具有 科技
- 丰田章男称未来依然需要内燃机 已经启动电动机新项目 尽管电动车在全球范围内持续崛起,但丰田章男 科技
- 升级的脉脉,正在以招聘业务铺开商业化版图 长久以来,求职信息流不对称、单向的信息传递 科技
- 苹果罕见大降价,华为的压力给到了? 1、苹果官网罕见大降价冲上热搜。原因是苹 科技
- 疫情期间 这个品牌实现了疯狂扩张 记得第一次喝瑞幸,还是2017年底去北京出差的 科技
- 老杨第一次再度抓握住一瓶水,他由此产生了新的憧憬 瘫痪十四年后,老杨第一次再度抓握住一瓶水,他 科技