Lab 5 On-site programming of team projects.
On-site programming of team projects.
On-site programming
Deadline:2021-10-18 23:59pm
Introduce
The on-site programming requires the development of a oral calculation program, which covers students of all ages in primary schools and improves the quick calculation ability of pupils' addition and subtraction (multiplication and division).
Functional requirement
-
Applicable age range of oral calculation software: primary school students of all ages (primary school grade 1 to primary school grade 6);
-
Different difficulty levels are set according to students of different ages. The difficulty levels are as follows:
-
Grade 1 to grade 2: addition and subtraction of integers within 100;
-
Grades 3 to 4: addition, subtraction, multiplication and division of integers;
-
Grades 5 to 6: addition, subtraction, multiplication and division including decimals.
-
-
The test questions are automatically and randomly generated by the software;
-
The number of test questions is determined by the user;
-
After the answer is finished, the software automatically judges the user's scores.
Reference sample
Sample 1 :
Output: Please enter your grade? Input: grade 2 Output: Please enter the number of questions? Input: 2 Output: 10+24=? Input: 34 Output: 33+44=? Input: 87 Output: end! Wrong question, your score is 50
样例2:
Output: Please enter your grade? Input: grade 6 Output: Please enter the number of questions? Input: 3 Output: 10.2+21.55=? Input: 31.75 Output: 12.4 * 22=? Input: 272.8 Output: 150/3=? Input: 50 Output: end! All right, that's great! Your score is 100
Note: The words Input: and Output: in the sample do not need to be displayed in the specific coding
Implementation requirements
-
The team needs to learn and use Github to collaborate, and everyone needs to have their own submission record. Note: Github Learning Link:
https://www.cnblogs.com/schaepher/p/5561193.html https://www.cnblogs.com/schaepher/p/4933873.html
-
The software can be presented by command line or interface display.
Blog requirements (published as a team)
-
Basic format [see lab1];
-
Give the division of responsibilities of team members;
-
Give the program running environment;
-
Give a screenshot of the software running;
-
Give at least 3 events that take a long time in coding, arguing, reviewing and other activities and give you great gains;
-
Team programming experience;
-
PSP and Learning Progress Bar Reference: http://www.cnblogs.com/vertextao/p/7469789.html;
-
Give GitHub link and commit record.
Grading standards
Teaching assistant rating:
-
Code function completion (50%)
-
Github collaboration data and indicators (30%)
-
Presentation effect and blog description (20%)
The team leader should grade each student's contribution. The rule is that the total score of the whole group = scores of each group * number of people. And the scores of each student in the group cannot be the same.
Time management
| Time | Arrange |
|---|---|
| 10/18 15:50 | Release the content of on-site programming, and each team can prepare in advance. |
| 10/18 15:55 | Start programming. |
| 10/18 18:30 | TA tests software functions and scores |
相关推荐
科技中介服务机构在为客户提供技术评估服务时,如何避免信息不对称带来的风险?.docx
科易网基于AI模型+行业大数据,在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,推出科技创新领域的AI+工具与数智化解决方案,推动科技创新与产业创新智能化发展。
VSCode-win32-x64-1.143.1.zip
VSCode-win32-x64-1.143.1.zip
基于多VSG独立微网的多目标二次控制MATLAB仿真模型(Simulink仿真实现)
内容概要:本文介绍了一种基于多虚拟同步发电机(VSG)独立微网的多目标二次控制MATLAB仿真模型,利用Simulink平台构建系统并实现动态仿真,重点解决无主电网支撑下的频率与电压协同调控问题。模型融合一致性理论,采用分布式协同控制策略,实现多台VSG间的功率精确均分与动态性能优化,有效提升独立微网的运行稳定性与电能质量。研究涵盖了控制器设计、系统动态响应分析及多目标优化机制,具备较强的工程应用价值,尤其适用于复杂工况下的微网能量管理与控制策略验证。; 适合人群:具备一定电力系统基础知识和MATLAB/Simulink仿真能力的高校研究生、科研人员及从事微电网、新能源并网控制等相关领域的工程技术人员。; 使用场景及目标:①研究多VSG并联系统中的二次频率与电压协同控制策略;②为微网中分布式电源的自主调节、功率分配与系统稳定性分析提供高可信度的仿真验证平台;③支持学术论文复现、科研课题开发及工程项目前期技术论证; 阅读建议:建议读者结合“一致性算法”与“多目标优化”理论,深入理解控制架构设计逻辑,配合Simulink模型逐步调试运行,重点关注控制器参数整定与系统动态响应之间的关系,并参考提供的完整资源链接获取配套代码与案例以增强实践效果。
产业园区运营负责人如何实现创新资源的高效整合与精准配置?.docx
科易网基于AI模型+行业大数据,在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,推出科技创新领域的AI+工具与数智化解决方案,推动科技创新与产业创新智能化发展。
T型三电平逆变器MPC模型预测控制(电流预测+功率预测)中点电位平衡控制仿真(Simulink仿真实现)
内容概要:本文围绕T型三电平逆变器的模型预测控制(MPC)展开,重点研究了基于Simulink的电流预测与功率预测控制策略,并深入探讨了中点电位平衡控制的实现方法。通过搭建完整的系统仿真模型,实现了对逆变器输出电流和功率的精确预测与控制,同时有效解决了T型三电平逆变器中存在的中点电压波动问题,提升了系统的稳定性和电能质量。该仿真方案结合了先进的控制算法与工程实践,为多电平逆变器在新能源、电力电子变换等领域的应用提供了可靠的技术参考。; 适合人群:具备电力电子与电力系统基础知识,从事新能源发电、电机驱动、智能电网等相关领域研究的研究生、科研人员及工程技术人员。; 使用场景及目标:① 掌握T型三电平逆变器的工作原理及其中点电位失衡机理;② 学习并实现模型预测控制在电流环与功率环中的具体应用;③ 完成中点电位平衡控制策略的设计与Simulink仿真验证,提升系统动态响应与稳定性; 阅读建议:建议结合Simulink仿真模型逐步操作,重点关注MPC控制器的设计流程、预测模型构建、成本函数选取以及中点电位反馈调节机制,配合相关文献深化对控制策略的理解与优化。


