EE308 LAB9

The24601 2021-12-30 16:45:58
The Link Your Classhttps://bbs.csdn.net/forums/MUEE308FZ?category=0
The Link of Requirement of This Assignmenthttps://bbs.csdn.net/topics/603386400
MU STU ID and FZU STU ID19105151 831901204

Requirement

  1. Please issue your Lab Blog on CSDN.

  2. The Link of your blog of this lab and This Lab Sheet (This word file) must be submitted to Moodle, or you will lose the score of this Lab. (VERY IMPORTANT: You should submit TWO things)

  3. Modeling must use professional tools.

  4. You should EXPLAIN your diagrams in words if necessary.

Question

Live-streaming sale, through some Internet platforms, is a new way of service using live-streaming technology for close commodity display, consultation response, and shopping guide. Merchants can open their own live broadcast room, or employ professional anchors to recommend goods. At present, not only many celebrities flock into this field, but some big companies’ executives are also frequently involved. Please try to design a comprehensive live-streaming sale system.

(1)List some actors that interact with this system. Explain the relevance of each actor.

Actor:Professional anchors,such as many celebrities and some big companies’ executives ,who need to supervise the content of merchants' live broadcast to comply with regulations, and also supervise the legality of merchants' goods sold

Actor:Merchants,who apply for livestreaming permission from the administrator and sell items to customers on the livestreaming platform

Actor:Customers,who are watching the live broadcast and buying the goods through the Live-streaming sale system.

(2)Prepare a use case diagram for this system

 

img

 

(3) Prepare a normal scenario for each use case. (i.e. describe each use case in words)

Registration: Business administrators and customers need to register their accounts and passwords here for the first time

Login: merchant administrator and customer Login, including account and password;

Exit: The merchant administrator and customer exit;

Watch the live broadcast: Customers Watch live broadcast, including live broadcast links and product links;

Browse Products: Customers view product information, including prices, live links and store information;

Consolt Customer Service: Ask for store information;

Purchase a product: The Purchase of a product, including customer balance, product information;

Open a live: Enables live streaming, including live links;

Display products: show the information of products , including price and so on;

Shopping guide: talk with customer;

Review the product: check the products if it is pass the requirements, including price , product type an so on;

Review speech content: check the Living information, including the speech and frames

(4) Prepare sequence diagrams or activity diagrams for primary scenarios. By the way, each scenario can be described by a sequence diagram or an activity diagram, but both diagrams must be used in this question.

 

img

 

 

img

 

(5) Prepare a class diagram for this system. Explain which principles of object-oriented are applied in your design.

 

img

 

(6) Prepare state diagrams for primary classes.

 

img

 

(7) Write the skeleton code corresponding to the class diagram in C++, Java, Python, or C#.

 

img

 

 

img

 

 

img

 

 

img

...全文
1180 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
源码链接: https://pan.quark.cn/s/a4b39357ea24 在本研究中,我们将详细研究如何借助Python执行数据可视化,旨在剖析2018年期间中国四个主要城市——北京、上海、广州以及深圳的空气质量状况。通过绘制反映空气质量指数(AQI)与细颗粒物(PM2.5)变化趋势的图表,我们能够深入理解这些大都市全年的空气环境质量,并明确评估其优良天气所占的比重。 我们必须首先进行数据准备工作。在当前提供的压缩文件内,名为"2018天气"的文件极有可能是数据来源,其中可能收录了涉及四个城市每日空气质量监测的详细信息。这些数据通常涵盖日期、城市名称、AQI数值、PM2.5含量等核心参数。在Python编程环境中,我们惯常运用pandas库来对这类结构化数据进行高效的处理和分析。 1. **数据导入与初步处理**: - 利用`pandas.read_csv()`方法来导入存储为CSV格式的数据资料。 - 数据整理:对数据中的空白项、非正常数值进行修正,保证数据的精确性。 - 调整日期字段的格式,确保其能够适用于时间序列分析的需求。 2. **数据深度分析**: - 针对每个城市的AQI和PM2.5数据执行统计性描述,例如计算平均值、中位数、标准偏差等指标。 - 确定空气质量良好天气的天数,即那些AQI值低于75(依据中国的空气质量评估标准)的日数。 3. **数据呈现**: - 运用matplotlib或seaborn工具绘制折线图,直观展示四个城市在2018年全年的AQI和PM2.5变化动态。 - 可通过采用不同的颜色方案和线条类型来区分不同城市的数据系列。 - 添加必要的图示元素,如日期坐标轴、城市名称标注、图表标题及图例说明,以提升图表的可读...

183

社区成员

发帖
与我相关
我的任务
社区描述
福州大学 梅努斯国际工程学院 软件工程 教学
软件工程 高校
社区管理员
  • 单步调试
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧