代做IDEPG001、代写C++/Python程序
Programming
NCUK INTERNATIONAL YEAR ONE ENGINEERING
IDEPG001 Programming
Coursework
The marks for each element are clearly indicated in the attached marking
scheme.
This assignment constitutes 70% of the total marks for this subject.
Programming
Programming V1 2324 © NCUK Ltd. 2023 Page 2 of 8
The brief
As part of a climate change project, a nature reserve near the city of Durham, North East
England requires a program to record and analyse rainfall data. The data are collected
from rain gauges and entered manually into a test file. The program will load and analyse
the data.
Your program should perform the following functions:
1. Load data from a text file. The format, and sample data are shown below.
2. Display formatted data onto the screen, for example:
3. Perform data analysis in the following way, displaying results on the screen in a
suitably formatted way.
a. For a specific year which is entered by the user: The rainfall for each month,
total annual rainfall, mean monthly rainfall, the month with least rainfall (&
its value), the month with the most rainfall (& its value).
i. NB To demonstrate you can use structures, the statistics (should be
calculated and stored in a suitable data structure (C struct).
b. For a specific period between 2 years (which are entered by the user): The
mean annual rainfall, year with least rainfall (& its value), the year with
most rainfall (& its value).
c. For a specific period between 2 years (which are entered by the user): a
sorted list of years and annual rainfall.
d. For a specific period between 2 years (which are entered by the user): the
driest month and wettest month in the period (with year, month & values).
e. For a given year, the variance from the long term mean of annual rainfall.
4. The options should be offered as a menu on the screen, Option 3 should provide a
sub-menu for the analysis options. There should be options to exit the sub-menu
and program. A simple text menu, such as the following is appropriate: Programming
Programming V1 2324 © NCUK Ltd. 2023 Page 3 of 8
5. Validation of inputs should be included as follows:
a. Menu choices should be limited to integers in the range of options
b. Years that are entered should be limited to integers in the range of the fullyear
data.
c. Where two years are entered (for a range), the second year must be greater
than the first.
Guidance
1. Your program should be well structured and commented, with meaningful variable
names. Constants and user-defined functions should be used in appropriate places
for clarity and to reduce duplication.
2. The program should be developed in an incremental way, we recommend that you
start by creating the menus, and validation of the menu choices before moving
onto the more complex elements.
3. Functions should be used to break the program up into meaningful (and reusable)
modules.
4. Look carefully at the marking scheme and grading rubric to ensure you meet the
requirements of the assignment in full. Ask your tutor if there are any aspects that
you do not understand.
5. Note that the results of the single-year analysis must be stored in a data structure
(struct).
6. At the end, it is recommended that you put your program through a pretty printer
to ensure it is consistently formatted.
Data
The data to be used by the program is shown below. This should be copied into a text file
for the program to read. The name of the text file can be hard coded into the program in
this assignment.
Programming V1 2324 © NCUK Ltd. 2023 Page 5 of 8
Marking scheme
Part 1 – Design (30%)
It is expected that you will follow the guidance provided in the lectures to produce
your models. Flowcharts and Pseudo code are alternative ways of process
modelling. To demonstrate that you can use both representations, you should
provide models as follows:
Pseudo code (10%) should be provided for the analysis options 3a (single
year analysis) and 3c (sorted list).
Flow chart (10%) should be provided for the Load data option.
STD (10%) A State Transition Diagram should be provided for the menu
system.
Part 2 – Test plan (20%)
Details of what is to be tested, why, what was the expected outcome, remedial
action if required. All tests should be supported by a screen shot proving the test
was completed.
Part 3 – Application (40%)
All source code provided in a numbered listing with a consist use of comments,
appropriate naming convention and pretty printing.
The code must be suitably demonstrated for the marks to be awarded for this
element. You are expected to be able to answer questions about your program
and handle the tutor modifying the source data.
Part 4 – Review (10%)
A suitably written reflective report communicating your learning through the
assignment, the skills you have developed and areas that need further
improvement.
All submissions are to be in the format detailed by your tutor.
请加QQ:99515681 邮箱:99515681@qq.com WX:codinghelp
- 代写FINM7008、代做Python/c++程序设计
- MAX7463USA+: Enhancing Video Signal Filtering for Superior Image Quality | ChipsX
- 国家重点研发计划“儿童罕见病诊断关键技术与治疗靶点发现及转化医学研究”项目启动
- 群发大数据时代WhatsApp群发云控让您的推广更具针对性
- 再突破!仁济医院嘉定分院完成国产单孔机器人医源性输尿管狭窄修复术
- 业务摇篮 海外高手分享 WhatsApp拉群是业务增长的秘密武器
- 田中贵金属工业确立了使用“预成型AuRoFUSE(TM)”的半导体高密度封装用接合技术
- Instagram自动采集神器,ins全球采集软件,ig博主采集工具
- 构建智能投诉管理平台,让金融消费者权益保护更上层楼
- 远光软件推出基于大模型训练的智能填单助手
- 电报一键群发,快速引流!Telegram营销利器助你轻松拉群
- 用户至上,信息有据! 跨境电商LINE代拉群群发软件,建立真实、可信的品牌形象
- WhatsApp代群发专业服务,全球推广,助您拓展国际市场
- Telegram社交拉群神器,一键群发采集,助你轻松实现营销目标!
- 致丰充电桩品牌Deltrix携手中石油进军中亚市场 哈萨克斯坦首个Deltrix充电站启用
- 马斯克起诉OpenAI:背弃开放初衷,追求商业利益
- Instagram私信博主 - ins群发工具/ig营销助手/ins引流神器
- 代写Deep Learning、代做Python设计程序
- 威雅学校:2024威雅升学规划国际教育展圆满收官,卓越未来正始于此刻!
- Instagram群发营销利器,ins私信引流新利器,ig最强引流软件
- Instagram私信营销神器,ins批量养号工具,ig自动发帖软件
- 新点软件成功中标上海市综合监管运行管理系统建设项目
- Telegram群发拉群一体化软件,TG全球定位采集工具/电报炒群助手
- 使用Line协议号星际商务奇谭:LINE工具是科技魔法的催化剂,引领我进入业务的星际时代
- 代写CS 6290: High-Performance Computer Architecture
- 电报拉群神器!Telegram营销软件助你实现社交爆发!
- 一键全搞定,企业品牌成功无边界!ins群发协议,您的智能推广管家!
- Wine to Asia 2024开幕在即,30+国家优质酒庄及品牌闪亮登场【含展商名录发布】
- 一切尽在掌握,一键全搞定! 跨境电商Telegram代拉群群发软件,您的智能推广管家
- 2024第三十届广州酒店用品展览会
推荐
- 智慧驱动 共创未来| 东芝硬盘创新数据存储技术 为期三天的第五届中国(昆明)南亚社会公共安 科技
- 创意驱动增长,Adobe护城河够深吗? Adobe通过其Creative Cloud订阅捆绑包具有 科技
- 老杨第一次再度抓握住一瓶水,他由此产生了新的憧憬 瘫痪十四年后,老杨第一次再度抓握住一瓶水,他 科技
- B站更新决策机构名单:共有 29 名掌权管理者,包括陈睿、徐逸、李旎、樊欣等人 1 月 15 日消息,据界面新闻,B站上周发布内部 科技
- 如何经营一家好企业,需要具备什么要素特点 我们大多数人刚开始创办一家企业都遇到经营 科技
- 升级的脉脉,正在以招聘业务铺开商业化版图 长久以来,求职信息流不对称、单向的信息传递 科技
- 苹果罕见大降价,华为的压力给到了? 1、苹果官网罕见大降价冲上热搜。原因是苹 科技
- 疫情期间 这个品牌实现了疯狂扩张 记得第一次喝瑞幸,还是2017年底去北京出差的 科技
- 全力打造中国“创业之都”名片,第十届中国创业者大会将在郑州召开 北京创业科创科技中心主办的第十届中国创业 科技
- 丰田章男称未来依然需要内燃机 已经启动电动机新项目 尽管电动车在全球范围内持续崛起,但丰田章男 科技