国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

 COMP1711代寫、代做C++,Java程序設(shè)計

時間:2024-07-25  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯



UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING 
 
Resit Assessment Brief 
 
Module title Procedural Programming 
Module code COMP1711 
Assignment title Resit – Carbon Capture Data Analysis 
Assignment type and 
description 
This is a programming assignment. You will design and create a number of 
programs to solve a problem from your client. 
Rationale You are doing this assessment to develop your skills in software design and 
development. 
Word limit and guidance You should spend around 10-15 hours on this assessment. 
Weighting 100% 
Submission deadline 9
th
 August 2024 @ 23:59 BST 
There are no late submissions permitted. 
Submission method Via Gradescope. 
Feedback provision Automated feedback through Gradescope 
Learning outcomes 
assessed 
LO1: select appropriate data types to represent data. 
LO2: apply problem solving techniques to develop a programming solution to 
real world problems. 
LO3: design, implement, debug and test procedural programs. 
Module leader Amy Brereton 
Other Staff contact 
 
  
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING 
1. Assignment guidance 
Scenario, Struct & tokeniseRecord() 
 
You have been asked to work on a new sustainability project, exploring the effectiveness of new carboncapture
techniques by analysing data files produced by sensors. 
 
The data is stored in comma separated value (csv) files, and each row in the file is in this format: 
 
2023-09-01,08:15,150 
 
**3; The first column represents the date (in YYYY-MM-DD format). 
**3; The second column represents the time (8.15am in our example). 
**3; The third column represents the units of carbon saved (measured in grams) since the last timestamp. 
 
These files are valid if: 
- They contain between 1 and 1000 records (inclusive) 
- All carbon readings are positive 
- The times and dates are valid 
- There are no missing values. 
 
To store this data, one of the other developers on your team has produced a custom struct which you can 
use to store the information for each row in the file: 
 
typedef struct _CARBON_DATA { 
 char date[11]; 
 char time[6]; 
 int carbon_units; 
} carbonData; 
 
And you have also been given the function tokeniseRecord() which is able to split records into their 
comma separated values – the README.md in the code folder has a brief explanation of how to use this 
function. 
 
Development Process 
 
It is recommended that you use Github Codespaces, which gives you access to a Linux virtual machine which 
can run from any internet connected device. 
You should develop your code on a private repository to prevent others from accessing it. 
 
You can also access the University’s virtual Linux desktop via: 
https://feng-linux.leeds.ac.uk/ 
You will need to be running the PulseSecure VPN in order to access Feng: 
instructions here (you must be logged on to the IT service website to access)  
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING 
2. Assessment tasks 
Task 1: Reading Data 
 
Task 1 marks: 25 
Expected time: 1 - 2 hours 
 
To ensure that data can be correctly read in from the files, you will make a simple C program which is able to: 
 
 1. Read in the csv file (for this task, always named ‘CarbonData_2023.csv’) 
o You may assume that this file always exists and is always valid for task 1. 
2. Store it in a suitably sized and structured array using the provided struct carbonData 
3. Write the number of records in the file to the screen in this exact format (234 is just an example): 
 
Number of records in file: 234 
 
4. Write to the screen the first three rows of the file in the following format: 
 
2023-09-01/07:30/300 
2023-09-01/07:45/400 
2023-09-01/08:00/600 
 
Note that there are NO SPACES in the output string, each value is separated by a single forward slash 
‘/’ with a single newline after each row. 
 
How it’s marked: 
 
All submitted code for all tasks is marked by an autograder which checks that your code meets the 
requirements from the brief. You will see a selection of tests when you submit your code, but some will not 
be visible to you. 
 
Each section is tested separately, and marks are available for each individual test. 
 
SECTION MARKS AVAILABLE 
Reading in the original CarbonData_2023.csv file 2.5 marks 
Reading in a new set of data from CarbonData_2023.csv 2.5 marks 
Printing out the correct number of records 10 marks 
Printing out the correct first 3 rows 10 marks 
TASK 1 - TOTAL 25 MARKS 
 
  
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING 
Task 2: Analysing Data 
 
Task 2 marks: 40 
Expected time: 4 – 5 hours 
 
Now that you have been able to read the data into an appropriate structure, you have been given the task of 
making a tool to analyse the data to give some useful statistics. 
 
Follow good programming practices by structuring your program into two separate files: 
 
CarbonDataStruct.h – A header file containing includes, the struct and any helper functions you'd like to 
include – the template includes tokeniseRecord(). 
CarbonAnalysis.c – A program file containing the code and functions needed to solve the given tasks. 
 
Requirements: 
 
The program should present a simple menu system to the user, offering the following functions: 
 
A: Specify the filename to be imported. Implement error checking to handle incorrect filenames. 
B: Display the total number of records in the file. 
C: Find the date and time of the timeslot with the fewest carbon units saved. 
D: Find the date and time of the timeslot with the most carbon units saved. 
E: Calculate the mean carbon units saved across all records in the file. 
F: Identify the longest continuous period where the carbon units saved are below 100 grams. 
Q: Quit the program 
 
When an option is selected, you code should show the correct data and then return to the menu. 
You must not use ‘clear()’, ‘cls()’ or any other method which clears the screen – this causes issues with 
grading. 
 
The data should be printed out in the formats below: 
Option Example output 
B Total records: 229 
C Lowest units: 2023-09-01 14:20 
D Highest units: 2023-09-01 18:00 
E Mean units: 427 
Note: This should be rounded to the nearest integer (1.4 -> 1, 1.5 -> 2) 
F Longest period start: 2023-09-01 14:20 
Longest period end: 2023-09-01 18:00 
 
If the filename provided is invalid (does not exist/cannot open) – you must exit the program and return the 
value 1. 
 
You do not need to check that the data inside is valid. 
 
 
  
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING 
 
How it’s marked: 
 
 SECTION MARKS AVAILABLE 
A - File handling / dealing with invalid filenames 5 marks 
B – Correctly counting records in a file 5 marks 
C – Finding row with lowest carbon units 5 marks 
D – Finding row with highest carbon units 5 marks 
E – Finding correct mean average of units 10 marks 
F – Finding the correct period of < 100 units. 10 marks 
TASK 2 - TOTAL 40 MARKS 
 
 
In order to make the autograder work correctly, you must follow the format and return codes given above. 
 
You will get a small amount of feedback from the grader, but you should ensure that you have tested your 
code and its behaviour on a variety of different files – do not just rely on testing it on one file! 
 
You can make the following assumptions for task 2: 
- The data in the .csv file is always valid 
- The user will always set a filename first (i.e the grader will always run ‘A’ first) 
- The user will always input capital letters to the menu (i.e ‘A’, ‘B’, etc.) 
- There will only be one instance of a count which is the lowest/highest 
- There won’t be multiple periods < 100 of the same length. 
  
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING 
Task 3: Presenting Data 
 
Task 3 marks: 20 marks 
Expected time: 2 – 3 hours 
 
This task requires you to write a utility program to output the data file sorted by descending order of carbon 
count in tab separated value (.tsv) format. 
 
A .tsv file differs slightly from a .csv in that the delimiter (character which separates each piece of data) isn’t 
a comma (,) but a tab character. This has the special code \t which places an appropriate number of spaces 
when printed. 
 
Your program should: 
1. Ask for a filename and check the file exists. 
2. Read the data file – and validate that the data is in the correct format 
3. Write out the sorted data into a new file. The record with the highest carbon count should be at the 
top and the record with the smallest carbon count should be at the bottom (descending order). If any 
records contain the same carbon count, these should be in chronological order (the one which 
occurred first should be at the top). 
An example .tsv file is provided in the carbon_files/valid/ folder. 
 
If the filename provided is invalid (does not exist/cannot open) – you must exit the program and return the 
value 1. 
If the data format is wrong – you must exit the program and return the value 2. 
 
If the input file is: 
mydata.csv 
The output file should be called: 
mydata.csv.tsv 
 
You should submit files: 
CarbonDataStruct.h - containing any functions/structs you use in your source code. 
CarbonDataSorter.c - containing your source code. 
 
How it’s marked: 
 
SECTION MARKS AVAILABLE 
File handling 2 marks 
Handling invalid data 6 marks 
Correctly sorting and outputting the data 12 marks 
TASK 3 - TOTAL 20 MARKS 
 
  
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING 
Invalid File Specification 
 
An invalid file will contain one or more of the following: 
 
 - Invalid carbon count: 
o Not an int 
o < 0 
- Date which is invalid: 
o Not in format YYYY-DD-MM 
o Day > 31 or < 0 
o Month > 12 or < 1 
o Year Between 2000 – 2024 (inclusive) 
o No requirement to validate number of days in month (i.e. 2023-02-31 is valid) 
- Time which is invalid: 
o Not in format HH:MM 
o Hours > 23 or < 0 
o Mins > 59 or < 0 
- A record with a missing or empty field 
 
  
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING 
Task 4: Quiz 
 
Task 4 marks: 15 
Expected time: 1 hour 
 
For this task, you will need to complete the 15 question multiple-choice quiz on Gradescope. 
 
There are 3 sections with 5 multi-choice questions each: 
- Questions about a provided piece of C code 
- Questions about programming in general 
- Questions about code quality 
 
Once you begin the quiz, you have 60 minutes to complete it. You only have one attempt to complete it, so 
be prepared in a quiet environment where you will be able to focus – you should also ensure you have a 
stable internet connection and a device with sufficient power for 60 minutes. 
 
You may complete this part of the assignment at any time before the deadline. 
 
This is an assessment, and therefore must be completed independently. You can use any notes or online 
resources you would like, but you must not work with other students. 
 
How it will be marked: 
 
Each of the 15 questions is worth 1 mark – partial marks are not awarded for questions where you can 
choose multiple answers. 
 
You will not see your mark or any feedback until after marks are released. 
  
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING 
3. General guidance and study support 
Please refer to the module teaching materials in Minerva for any background support. 
 
4. Assessment criteria and marking process 
All code is graded solely on functionality – you must ensure that your code follows the brief exactly, and use 
the feedback from the grader to check that your code is passing the visible tests. 
 
The passing mark for the assessment is 40% - you may obtain this grade through any combination of 
tasks/parts of tasks. 
 
5. Presentation and referencing 
If you use an idea in your solution that you have seen on the Web somewhere then add a comment to the 
code like this: 
 
// I based this on an idea I found here: 
// https://stackoverflow.com/questions/12**1021/error-in-c-file-handling 
 
If you use a book or a printed resource then give the author and title: 
 
// I based this on an idea I got from here: 
// An Introduction to C and GUI Programming by Simon Long, pages 56-57 
 
This assignment is rated ORANGE for use of generative AI tools – this means that you may use generative AI 
tools in an assistive capacity, but must not generate any of your final answer directly from a generative AI 
tool. 
You may not give any generative AI tool access to this brief or any part of this brief, nor ask it to write code 
for you. 
 
You must reference any use of any generative AI by comment in the format below: 
 
// I based this on a discussion with ChatGPT 
// Prompt: Explain how to import a CSV file in C 
 
6. Submission requirements 
Your code must: 
- Be in C 
- Compile on Linux with the following command: gcc *.c –o task 
- Not be inside a subfolder (not in a zip) 
 
  
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING 
7. Academic misconduct and plagiarism 
Leeds students are part of an academic community that shares ideas and develops new ones. 
 
You need to learn how to work with others, how to interpret and present other people's ideas, and how to 
produce your own independent academic work. It is essential that you can distinguish between other 
people's work and your own, and correctly acknowledge other people's work. 
 
All students new to the University are expected to complete an online Academic Integrity tutorial and test, 
and all Leeds students should ensure that they are aware of the principles of Academic integrity. 
 
When you submit work for assessment it is expected that it will meet the University’s academic integrity 
standards. 
 
If you do not understand what these standards are, or how they apply to your work, then please ask the 
module teaching staff for further guidance. 
 
By submitting this assignment, you are confirming that the work is a true expression of your own work and 
ideas and that you have given credit to others where their work has contributed to yours. 
 
8. Assessment/ marking criteria grid 
Task Description Marks available 
Task 1 Reading Data 25 
Task 2 Analysing Data 40 
Task 3 Presenting Data 20 
Task 4 Multiple choice quiz 15 
Total 100 
 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

掃一掃在手機打開當(dāng)前頁
  • 上一篇:&#160;COMP1921代做、代寫C++, Python/Java編程
  • 下一篇:代做320SC、代寫Python/Java設(shè)計編程
  • ·GameStonk Share Trading代做、java程序設(shè)計代寫
  • ·CSIT213代做、代寫Java程序設(shè)計
  • ·CHC5223代做、java程序設(shè)計代寫
  • ·代做INFS 2042、Java程序設(shè)計代寫
  • ·代寫CPT206、Java程序設(shè)計代做
  • ·CIS432代做、代寫Python/java程序設(shè)計
  • ·CHC6186代寫、Java程序設(shè)計代做
  • ·ACTL5105代做、代寫Python/Java程序設(shè)計
  • ·代做COMP9334、Python/Java程序設(shè)計代寫
  • ·代寫COMP1721、代做java程序設(shè)計
  • 合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強度疲勞振動
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)40個行業(yè)
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)4
    超全面的拼多多電商運營技巧,多多開團(tuán)助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團(tuán)助手
    CAE有限元仿真分析團(tuán)隊,2026仿真代做咨詢服務(wù)平臺
    CAE有限元仿真分析團(tuán)隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養(yǎng) 十大衛(wèi)浴品牌排行 suno 豆包網(wǎng)頁版入口 wps 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产精品久久7| 成人97在线观看视频| 久久免费视频1| 蜜臀久久99精品久久久久久宅男 | 国产精品一区=区| 国产不卡一区二区在线观看| 精品不卡一区二区三区| 欧美性在线观看| 久章草在线视频| 久久久久久18| 国内精品**久久毛片app| 久草一区二区| 免费99精品国产自在在线| 日本成人黄色| 久久久国产精华液999999| 一区二区三区四区在线视频 | 国产毛片久久久久久国产毛片| 国产精品免费一区| 亚洲中文字幕无码av永久| 国产中文字幕免费观看| 久久精品国产免费观看| 日韩欧美电影一区二区| 国产精品69久久| 亚洲一区二区三区在线观看视频| 国产欧美日韩在线播放| 爽爽爽爽爽爽爽成人免费观看| 亚洲综合日韩在线| 国产精品中文字幕久久久| 久久亚洲精品视频| 国自在线精品视频| 深夜福利91大全| 日韩高清av| 日韩在线高清视频| 日韩欧美一区二区三区四区 | 99久久激情视频| 国产精品免费在线播放| 欧美视频免费看欧美视频| 91久久久久久久一区二区| 亚洲伊人久久综合| 成人a级免费视频| 伊人久久大香线蕉综合75| 国产伦精品一区二区三区照片91| 国产精品久久久久久婷婷天堂| 日本高清不卡在线| 视频直播国产精品| 欧美视频第一区| 国产精品情侣自拍| 精品少妇在线视频| 久久中文精品视频| 国产美女精品视频| 国产精品美女黄网| 国产一级片91| 99在线首页视频| 欧美激情第6页| 91精品国产综合久久久久久蜜臀 | 欧美精品在线播放| 国产女主播一区二区三区| 久久av在线看| 国产在线高清精品| 国产精品国产三级国产专区51 | 三级三级久久三级久久18| 久久99精品久久久久久青青日本| 日韩经典在线视频| 国产精品日韩欧美综合| 国产又大又硬又粗| 一区二区在线不卡| 久久乐国产精品| 黄色网在线视频| 久久久久久国产精品三级玉女聊斋| 国产日韩欧美夫妻视频在线观看| 欧美精品免费看| 国产精品99久久99久久久二8| 日韩欧美亚洲精品| 久久中文字幕国产| 国产伦精品一区二区三区四区免费 | 亚洲欧美综合一区| 日韩在线播放一区| 国产精品影院在线观看| 日韩精品在线中文字幕| 一区二区免费在线观看| 国产精品毛片a∨一区二区三区|国| 久久久免费观看视频| 国产精品一区二区三区四区五区| 欧美性天天影院| 日韩xxxx视频| 欧美极品第一页| 国产精品久久精品视| 久久久久久网址| 99热成人精品热久久66| 含羞草久久爱69一区| 日韩免费精品视频| 午夜老司机精品| 欧美精品久久久久久久免费观看| 国产精品日韩一区| 色噜噜狠狠狠综合曰曰曰| 91成人免费观看网站| 国产精品中出一区二区三区| 麻豆成人在线播放| 激情视频综合网| 欧美视频在线播放一区| 日韩少妇中文字幕| 日本一区二区三区视频免费看| 亚洲人成人77777线观看| 色中色综合影院手机版在线观看| 日韩最新免费不卡| 国产v综合ⅴ日韩v欧美大片| 91精品国产自产在线老师啪| 国产精品夜夜夜爽张柏芝| 国产系列第一页| 国产一区视频在线| 国产在线播放不卡| 国产欧美日韩专区发布| 国产乱人伦真实精品视频| 国产欧美精品日韩精品| 国产美女主播一区| 国产拍精品一二三| 国产美女在线一区| 高清视频欧美一级| 国产精品永久免费视频| 美乳视频一区二区| 国产一区二区免费电影| 精品视频在线观看一区| 国内精品久久久久影院优| 欧美韩国日本在线| 黄色片一级视频| 国产综合视频在线观看| 国产日产亚洲精品| 成人免费无码av| 91久久嫩草影院一区二区| 久久视频这里有精品| 国产成人综合精品| 久久久精品视频成人| 久久久精品电影| 国产精品黄色av| 九九精品在线播放| 亚洲砖区区免费| 无码人妻aⅴ一区二区三区日本| 三年中国中文在线观看免费播放 | 久久久久网址| 日韩视频免费在线| 国产精品二区三区四区| 久久99精品久久久久久青青91| 一区二区不卡在线视频 午夜欧美不卡'| 中文字幕黄色大片| 亚洲精品一区二区毛豆| 亚洲欧美精品| 欧美一级视频免费看| 日韩欧美一区二区三区四区五区 | 精品国产乱码久久久久久丨区2区| 精品国产一区二区三区麻豆小说| 色在人av网站天堂精品| 少妇免费毛片久久久久久久久| 青青青国产在线观看| 国产在线一区二区三区播放| 成人中文字幕在线观看| 91久久精品国产91性色| 久久久久久久国产精品| 国产精品福利片| 亚洲欧美国产一区二区| 日韩欧美一区二区在线观看| 国产在线精品一区二区三区| 91免费在线视频| 国产精品偷伦视频免费观看国产| 欧美激情一级精品国产| 日韩精品久久一区二区三区| 国产综合第一页| 久久久亚洲国产| 国产精品久久久久久久电影 | www.久久色.com| 久久成人在线视频| 无码内射中文字幕岛国片| 欧美自拍视频在线| 国产精品亚洲不卡a| 国产成人无码av在线播放dvd | 欧美乱妇40p| 色乱码一区二区三在线看| 韩国国内大量揄拍精品视频| 91.com在线| 国产精品福利网| 日韩欧美国产综合在线| 国产专区在线视频| 久久久久久一区二区三区| 欧美精品成人在线| 欧美在线视频一区| 97福利一区二区| 久久夜色精品国产| 日韩国产高清一区| av免费精品一区二区三区| 国产精品九九九| 日本免费久久高清视频| av在线观看地址| 欧美精品在线网站| 欧美一级大片在线观看| 91国内在线视频| 国产99在线|中文| 日韩精品福利视频| 91九色在线视频| 美女av一区二区| 欧美高清视频一区二区三区在线观看| 国产精品777|