ISAD1000 Java/Python

别再只把Jinja2当模板引擎了:用Python+Jinja2自动生成你的周报和数据分析报告 本文揭示了Jinja2在Python办公自动化中的强大潜力,从自动生成周报到数据分析报告的全流程应用。通过模板引擎的逻辑控制、数据过滤和继承体系,Jinja2能显著提升文档生成效率,与Pandas等工具无缝配合,实现10倍效率提升。特别适合需要定期生成标准化报告的场景。 阅读详情

Java Python Introduction to Software Engineering (ISAD1000/5004)
Semester 2, 2024
Due: Friday 18 October, 23:59 GMT+8
Weight: 50% of the unit mark
Note
This document is subject to clari1 Introduction
This is the 2 The Scenario
Your task will be to process output from a maze-generating program in order to create a
smoother, more appealing output for terminal display. The maze-generating program has
already been created for you; your task is solely to modify the output. Currently, the program
generates a simple maze and displays the maze in a format made up only of ‘+’, ‘-‘ and ‘|’
characters. While this is suitable for simple display, it is not the most intuitive to read for a
human and your task is to improve on this using Box-Drawing Characters (which are discussed
in more detail in section 2.1).
As an example, here is the kind of input you can expect (on the left) and how your program
should output the maze (on the right):Note that the primary display for this will be on the terminal. You may 2.1 Maze Structure
The Wikipedia article, but you will only need a
small subset of characters for this assessment. A maze may be made up of the following
characters (and their associated codes):
■  Full lines:
▸  ┃ (U+2503)
▸  ━ (U+2501)
■  Half lines (i.e. for open ends of walls):
▸  ╸ (U+2578)
▸  ╻ (U+257B)
■  Corners:
▸  ┏ (U+250F)
▸  ┛ (U+251B)▸  ┓ (U+2513 - Only used for the outside, top-right border)
▸  ┗ (U+2517 - Only used for the outside, bottom-left border)
■  Intersections:
▸  ┻ (U+253B)
▸  ┣ (U+2523)
If you happen to be familiar with mazes, this might not seem like a complete set, as the lines
are ever only being drawn up and right. However, the algorithm for creating the maze will
never generate a case where other characters (such as ╋ or ┳) would be used. Only the
characters listed above will be used.
The maze is structured as a 2D array, where each ‘cell’ is either linked or not linked to one of
its neighbours. As an example, if the program were to generate a “maze” where each cell was
linked to every neighbour it would generate (and your expected output would be):
… if no cell were linked, the following maze would be generated (and your expected output
would be):In order to determine which is the appropriate character, you will need to inspect a cell in this
2D array and look at each of its neighbours.
A full horizontal line can be determined in the following case, because the corner character
(‘+’) has walls (‘-‘) on the left and right, but not up or down:
NoteHINT: It is suggested that you read from the source maze and write to an output maze:
do not overwrite the source maze, as you will lose/overwrite information that may be
valuable for both earlier and later cells.
2.2 Maze Generating Program
As part of this assessment, you will be provided with a simple program that generates output
as outlined above. You are encouraged to use this program to become familiar with the
output and to use cases generated by this program to assist in testing (but they are NOT
suRuby. You do not need to learn this
language to use the program. There are four source code ■  binary_tree_demo.rb
■  binary_tree.rb
■  grid.rb
■  cell.rb
To run the program, you use the following command on either the lab machines or VMWare
Horizon:
ruby -I. binary_tree_demo.rb
The program will output the maze to the terminal and exit. You may wish to save the output to
a ruby -I. binary_tree_demo.rb > maze_output.txt
(Any name can be specimaze_output.txt)
3 The Tasks
For this assignment, you will create documentation for, and be assessed on, these tasks:
■  Version Control
■  Modularity Design
■  Modularity Implementation
■  Test Design■  Test Implementation
■  Summary of Work
ALL these tasks will primarily be assessed through your documentation. All code that you
create will, however, need to also be submitted to verify your work has been done.
3.1 Version Control
As part of this assignment, you are to apply version control to keep track of your work.
■  Create a short plan, identify what branches you will need, why you need them, and
when the branches will be merged.
■  Create a Git local repository for use throughout this assessment. The repository name
should be in the format of __ISE_Repo
▸  e.g. Brower_Arlen12345678_ISE_Repo
■  Commit all code and documents you create in the assessment
▸  You are expected to use meaningful commits; while there is no hard rule about
what each commit should contain, you are expected to show your ability to use
version control meaningfully. Marks are not awarded for number of commits.
■  Include evidence of your use of version control, such as an image of the log
Any other discussion or explanation on your use of version control should also be included in
the documentation.
Warning
Do not use GitHub, BitBucket, or any other similar online repositories. Doing so runs the
risk of potential collusion investigations. Similarly, do not upload your code to online
repositories even after the assignment due date; other students may have extensions or
deferred assessments.
3.2 Modularity Design
With the given scenario, you are to identify the most suitable modules you will need for your
software to achieve the required functionality, considering the good modularity principles
discussed in lectures/worksh ISAD1000、Java/Python eets. You are to:■  Write down module descriptions for each module you decide to implement.
Descriptions should include:
▸  A meaningful name
▸  A clear and detailed explanation on the intended task of the module
▸  Imports, if any
▸  Export, if any
■  Explain your design decisions and how they conform to good modularity principles
Note
It’s rare that you will get the design 100% ideal from the very start. Design is often
iterative. This is actually a very good, interesting thing to include in your documentation
for this assessment. If you 3.3 Modularity Implementation
You are to implement the software using your designs, review the code you have written, and
refactor it. As part of this task, you should:
■  Implement the modules designed in the previous section
▸  You may use Java or Python for your implementation
▸  Your code must run on the lab machines or VMWare Horizon
■  Create a short review checklist to determine if you have followed good modularity
principles. You are expected to cover all basic guidelines covered in lecture 7.
■  Review your code using the prepared checklist, identifying any issues. You must use the
format suggested in worksheet 7 to record your results. Each module must be
reviewed.
■  If you have identi▸  If you refactor your code, explain how it is improved;▸  If you do not refactor your code, justify your decision
■  After refactoring, revise your preliminary descriptions of your modules.
■  At every stage, you should be making changes and committing those changes to the
repo whenever you have made a step you are satis3.4 Test Design
You are to design tests using both black box and white box methodologies.
■  Black box test design:
▸  For each module, according to module descriptions, design suitable test cases.
▸  Describe how you decide upon your test values for each test case
▸  Test cases should each also describe their expected output or behaviour
■  White box test design:
▸  Identify at least two modules where white-box testing will be bene▸  Design test cases to cover functionality of the selected modules using white box
testing
▸  You must test at least two di▸  Describe how you decide upon your test values for each test case
▸  Again, be comitting these test cases to the repo as you write and are satis3.5 Test Implementation
Implement your test designs in either Python or Java. You may use test ■  Identify the actual results for each test case
■  Identify any failures, and attempt to improve your code
▸  Be sure to document this process, as it again makes for useful discussion for this
assessment3.6 Summary of Work
You are to produce a table clearly showing your overall module design and the ■  Each module should have one row
■  For each module, you should identify if the following work has been done:
▸  Whether or not the module is complete;
▸  Whether or not the module’s tests have been designed;
▸  Whether or not the module’s tests have been implemented;
▸  Whether or not the module’s tests are successful
Additionally, your submission must include a short video roughly two minutes in length
demonstrating that your code is working. More information on this video is included in section
5 of this document.
4 Documentation
As noted, your work will primarily be assessed through your documentation. All information
outlined above must be included in your documentation and your documentation must be
submitted to Turnitin as a .pdf ■  A cover page; include the assessment name, your name in Blackboard, your student ID,
and your practical date/time.
■  An introduction; brie■  Discussion; re▸  You may include other information if you feel it would be useful to clarify
anything about your submission
Additionally, marks are allocated for a neat and professional document.
5 Video DemonstrationYour submission must include a short, two minute video that demonstrates your code
working. As part of this video state your name and student number 6 Assessment Submission
You are to submit your assessment in three locations on Blackboard:
■  Declaration of Originality submission point
■  A Turnitin submission point
■  A general submission point
6.1 Declaration of Originality submission point
As part of this submission, you will submit a Declaration of Originality stating that this work is
your own, has not copied anyone else, and any sources are appropriately referenced. This
may be a .pdf, .odt, or .docx 6.2 Turnitin submission
Your Turnitin submission will only include the Documentation .pdf as outlined above. No
source code 6.3 General submission point
The general submission point should include all ■  Your documentation .pdf ■  A .zip (not .rar, not .7z, etc.) ▸  Note that your Git repository is NOT just your working directory (source ■  A single README ■  Your short 2 minute video demonstrating how to run the system and test cases
7 Marking
The allocation of marks for this assessment are as follows:
■  Test Design
Academic Integrity
Please see the Coding and Academic Integrity Guidelines on Blackboard.
■  Version Control [16 marks]
■  Modularity Design [7 marks]
■  Modularity Implementation [20 marks]
▸  Black Box [16 marks]
▸  White Box [9 marks]
■  Test Implementation [20 marks]
■  Summary of Work [5 marks]
■  Documentation-speciacademicintegrity.curtin.edu.au         

2025-03-21(DS复习): Databricks 的技术架构 Databricks 的技术架构以 ​为核心,构建了一套高度集成、可扩展且支持多云环境的统一分析平台。其架构设计注重存储与计算的深度融合,并通过丰富的服务层功能简化了数据工程、机器学习和数据科学的工作流。 阅读详情

相关推荐

使用STM32F103C8T6控制舵机丝滑运转附代码

使用STM32F103C8T6控制舵机丝滑运转原理和案例,附代码。

m0_63566592的博客 4239

ISAD1000/5004 Maze Structure

Note■ grid.rb■ cell.rbHorizon:WarningNotereviewed.testing7 Marking。

wechat99515681的博客 870

设计师必看!用Figma MCP自动生成开发文档的隐藏技巧

本文为设计师揭秘利用Figma MCP协议自动生成开发文档的隐藏技巧。通过将设计稿转化为结构化数据,实现设计规范的自动化输出、版本同步与动态更新,并借助AI助手提升协作效率,彻底告别繁琐的手动标注与沟通。

berry的博客 925

Introduction to Software Engineering (ISAD1000/5004) Semester 2 2024Java

.丄(U+253B)卜(U+2523)t may becells.■ grid.rb■ cell.rbWarningsimilaronlineDoingsoruns theo onlineNoteItsrarethatyouwillgetthedesign100%idealtheverystartDesignisoftenyourunisl.

validationt的博客 1336

VConsole动态加载

// 移动端真机调试工具 vconsole import VConsole from "vconsole"; import Vue from "vue"; // 动态使用VConsole if(process.env.NODE_ENV==='production'){ if(process.env.VUE_APP_BASEURL.includes('test')||process.env.VUE_APP_BASEURL.includes('pre')){ Vue.prototype

aliven1的博客 1044

python监听海康威视报警服务器

因为我使用海康威视摄像头是自带热成像的所以事件报警会上报两张图片,一张是RGB图像、另一张是热成像图像,因此使用。拿到的就是第一张RGB图像。可以点击测试,会显示。

qq_57018478的博客 1168

AI图像生成项目环境配置与实战指南:从零运行到批量处理

AI图像生成技术通过深度学习模型将文本描述转化为视觉内容,其核心原理基于扩散模型等生成式AI架构。这项技术的价值在于降低了艺术创作和内容生产的门槛,使非专业用户也能快速生成高质量图像,广泛应用于数字艺术、社交媒体内容创作、游戏设计和广告创意等领域。在实际工程实践中,成功运行一个AI图像生成项目(如风格化模型)需要系统化的环境配置与参数调优。首先需确保Python环境、CUDA兼容的GPU以及足够的显存资源,这是模型推理的基础。通过安装项目依赖、配置模型路径并执行最小化测试,可以验证环境可行性。进一步地,掌握

weixin_30323631的博客 310

基于STM32、HAL库的ADE7880ACPZ-RL电能计量芯片驱动程序设计

@retval 状态 (ADE7880_OK或ADE7880_ERROR)* @retval 状态 (ADE7880_OK或ADE7880_ERROR)* @retval 状态 (ADE7880_OK或ADE7880_ERROR)* @retval 状态 (ADE7880_OK或ADE7880_ERROR)* @retval 状态 (ADE7880_OK或ADE7880_ERROR)PA6 (MISO) <--> SDO (SPI数据输出)PB0 (CS) <--> /CS (片选,低有效)

corlin6688的博客 669

贪心算法之区间选点

区间选点的主要内容只有一句话:对区间的末端点进行排序! 然后便可以简单操作了! 题目: Radar 时间限制:1000 ms  |  内存限制:65535 KB 难度:3 描述 Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the oth

GraveDiggerKIng的专栏 734

9篇1章1节:中国居民健康与营养调查(CHNS)数据库的官网解析和数据下载(2026年版)

在探讨中国社会经济转型与人口健康变迁的学术领域中,中国健康与营养调查(CHNS) 是一个无法绕过的权威数据库。本文将带你深入了解CHNS的项目背景、庞大的数据体系,以及如何通过这两个核心网站获取关键的家庭、个人及社区层面的研究数据。

MD Code 1709

多物理场光学仿真软件:Ansys Lumerical_(8).CHARGE解决方案详解

CHARGE 模块主要用于求解 Poisson 方程和连续性方程,以模拟半导体器件中的电荷分布和载流子输运。通过 CHARGE 模块,可以分析器件的能带结构、载流子浓度、电流密度等关键参数。这些参数对于理解器件的工作原理和优化设计至关重要。

kkchenjj的博客 1394

线段树+扫描线

求面积 hdu 1542 Atlantis Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 21727 Accepted Submission(s): 8613 Problem Descrip...

weixin_30363817的博客 125

家庭弱电最实用的功能,网线面板如何接线

按照规范,我国宽带入户线按B接法,即568B标准,从后面看,从左到右:1橙白,2橙,3绿白,4蓝,5蓝白,6绿,7棕白,8棕,即和水晶头的接法一致。做水晶头的时候,要注意排好线序,把8根线的头剪齐,留下大约1.8公分,插入水晶头的时候,水晶头要尾巴向下,把线插到水晶头的底端,用网线钳子夹紧。具体是:第1脚——橙白、第2脚——橙色、第3脚——绿白、第4脚——蓝色、第5脚——蓝白、第6脚——绿色、第7脚——棕白、第8脚——棕色,除了四根带颜色的线橙、绿、蓝、棕外,每一根白线上都有线标橙、绿、蓝、棕。

qq_43416206的博客 1678

扫描线 + 线段树 HDU1542(覆盖矩形面积) + HDU1828(覆盖矩形周长)

Atlantis Atlantis Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 22879Accepted Submission(s): 9083 Problem Description...

Adolphrocs的博客 276

win10 跳过U8环境检测的IE WebControls.rar

win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。

ssm框架搭建

这个是一个在idea上成功跑起来的ssm框架项目,保存在这里方便以后使用直接下载

poj Fishnet 1408 (求最大四边形面积) 好题

Fishnet Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 1941   Accepted: 1245 Description A fisherman named Etadokah awoke in a very small island. He could see

yanghui07216的博客 431

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

山东省第一届ACM大学生程序设计竞赛 Emergency floyd变形

Emergency Time Limit: 1000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述 Kudo’s real name is not Kudo. Her name is Kudryavka Anatolyevna Strugatskia, and Kudo is only her nickname.

MY Blog 938

VC中sqlite的使用

在VC中对sqlite的使用,实现数据库大批数据的快速插入,读取数据库中的数据在ListCtrl中显示

山东省第一届ACM大学生程序设计竞赛--Emergency--变形Floyd算法

Emergency Time Limit: 1000MS Memory limit: 65536K 题目描述 Kudo’s real name is not Kudo. Her name is Kudryavka Anatolyevna Strugatskia, and Kudo is only her nickname. Now, she is facing an eme

随风的专栏 1281

sdutoj 2604 Thrall’s Dream

http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=2604 Thrall’s Dream Time Limit: 1000ms Memory limit: 65536K有疑问?点这里^_^ 题目描述   We never paid any ...

weixin_30511039的博客 187

Jackson 序列化 / 反序列化注解 完整版笔记

Jackson 序列化 / 反序列化注解 完整版笔记

handsome_sai的博客 309

Web 版翻译者资料库

本项目是桌面版《翻译者资料库》的 Web 移植版,基于 Spring Boot 3.3、Thymeleaf、Bootstrap 5.3 与 MySQL 8.0 构建。它面向翻译写作提供资料、词汇、句库、文本工具、对照制作、查找、备份恢复及旧库迁移等功能,完整继承桌面版核心业务规则,支持一键启动与离线访问。

howard2005的专栏 199

MCP 协议会成为前端 AI 工程的标准接口吗?

MCP(Model Context Protocol)正在成为连接 AI 模型与外部工具、数据源的一层通用协议。本文从 MCP 的核心机制出发,分析它在浏览器与前端工程中的落地边界,讨论它能否成为前端 AI 工程的标准接口,并给出当下更务实的架构选择建议。

m0_62937412的博客 388

LangGraph 本地 build 频频翻车,最终在服务器跑通流式对话

先说结论:我本地那个,一次都没成功过。三次,三次,全挂在拉镜像上。而顺得像刚上过油。这就很像我高中那辆自行车:骑着能走,一上锁就坏。那天晚上我盯着终端里那行红字看了很久,想的不是技术方案,想的是——为什么同一个工具,可以一边让我觉得自己很行,一边让我觉得自己不太行。

人工智能AI技术 323

带着小白学习-微服务-6 实战:网关

地址栏输入:http://localhost:8088/goods/index,这时候就不是到8100端口去调用了,而是8088直接通过路由转发,分别到nacos对应的goods对应的服务中区调用。** 可以看出,这里将前面已经正常运行的server-store子工程(库存服务,服务提供方),server-goods子工程(商品服务,服务消费方)。(1)uri: lb://store 代表要到nacos的注册中心的服务列表中找到服务名为store的微服务;,网关是做路由转发,不是服务调用;

wdyan297的博客 252

海外平台频繁弹验证?从 DNS、WebRTC 到浏览器指纹的环境异常排查清单

在运营多地区海外平台账号时,即使代理节点通畅、TCP 握手成功,仍可能遇到频繁人机验证、地区限制、播放失败等异常。核心结论是:这类问题往往不在网络传输层,而在浏览器环境参数与网络出口之间的逻辑自洽性。本文从 DNS 泄漏、WebRTC 穿透、时区与语言匹配、Canvas/WebGL 指纹、TLS 特征五个维度,给出一份可复现的环境异常排查清单,并对比个人手动配置与工程化环境管理方案的适用边界。适用于跨境运营、多账号运维团队。

P1Browser【p1指纹浏览器】的博客 240

智能问诊的流程

本文介绍基于FastAPI构建的医疗多Agent系统MediAgent,通过症状分析、诊断推理与治疗建议等模块协同,实现从问诊到报告生成的完整工作流。系统采用前后端分离架构,结合MySQL、RabbitMQ与Docker实现工程化部署,支持异步化验结果接入。虽当前状态暂存于内存,但已具备可扩展性,未来可通过Redis持久化、消息队列联动及医疗安全机制完善,应用于慢病管理、辅助决策等场景,推动AI在医疗流程中的落地应用。

Joey 的工作空间~ 791

SSD测试工程精通系列 17|TRIM与UNMAP洪峰下的GC竞争(命令风暴与后台任务调度)

本文深入探讨NVMe SSD在面临TRIM/UNMAP命令洪峰时,后台垃圾回收(GC)与前端IO的竞争机制。从协议解析、固件调度、硬件架构到物理层信号,全面剖析命令风暴对QoS和WAF的影响。结合Samsung、Micron、Kioxia等厂商实测数据与失效案例,提供从测试注入、仪器抓取到工程取舍的全链路验证方案,助力资深测试工程师攻克存储性能断崖难题。

专注分享DPU、RDMA智能网卡/SSD(固态硬盘)产品测试与优化 436
上一篇: data Python/c++
下一篇: CS209A Java
tygithub
博客等级 码龄2年 227粉丝 30原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值