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

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

COMP1711 代寫、代做 C++語言程序

時間:2024-08-11  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



 Module code
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING
Resit Assessment Brief
Procedural Programming
COMP1711
Resit – Carbon Capture Data Analysis
You should spend around 10-15 hours on this assessment. 100%
Via Gradescope.
Automated feedback through Gradescope
Amy Brereton
   Module title
      Assignment title
   This is a programming assignment. You will design and create a number of programs to solve a problem from your client.
  You are doing this assessment to develop your skills in software design and development.
    Assignment type and description
    Rationale
  Word limit and guidance
   Weighting
      Submission deadline
9th August 2024 @ 23:59 BST
There are no late submissions permitted.
   Submission method
   Feedback provision
       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
   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 carbon- capture 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 Youmayassumethatthisfilealwaysexistsandisalwaysvalidfortask1.
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
Reading in a new set of data from CarbonData_2023.csv
Printing out the correct first 3 rows
TASK 1 - TOTAL
MARKS AVAILABLE
2.5 marks
10 marks
25 MARKS
  Reading in the original CarbonData_2023.csv file
  2.5 marks
 Printing out the correct number of records
 10 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
B – Correctly counting records in a file
D – Finding row with highest carbon units
F – Finding the correct period of < 100 units.
TASK 2 - TOTAL
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.
 MARKS AVAILABLE
5 marks
5 marks
10 marks
  A - File handling / dealing with invalid filenames
  5 marks
 C – Finding row with lowest carbon units
 5 marks
 E – Finding correct mean average of units
 10 marks
40 MARKS

 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
Handling invalid data TASK 3 - TOTAL
MARKS AVAILABLE
6 marks
20 MARKS
   File handling
  2 marks
 Correctly sorting and outputting the data
 12 marks

 Invalid File Specification
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING
An invalid file will contain one or more of the following:
- Invalid carbon count: o Notanint
o<0
- Date which is invalid:
o Not in format YYYY-DD-MM
o Day>31or<0
o Month>12or<1
o YearBetween2000–2024(inclusive)
o Norequirementtovalidatenumberofdaysinmonth(i.e.2023-02-31isvalid)
- Time which is invalid:
o Not in format HH:MM
o Hours>23or<0
o Mins>59or<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
Task 1 Task 2 Task 3 Task 4
Description
Reading Data Analysing Data Presenting Data Multiple choice quiz
Marks available
25 40 20 15
Total 100
                 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




 

掃一掃在手機打開當前頁
  • 上一篇:COMP1212 代做、代寫 Java/Python 設計程序
  • 下一篇:MAS362 代寫、JAVA/C++編程設計代做
  • 無相關信息
    合肥生活資訊

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

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    久久精品五月婷婷| 日韩视频免费在线播放| 超碰日本道色综合久久综合| 黄页网站大全在线观看| 国产高清自拍99| 欧美亚洲一级二级| 欧美大码xxxx| 欧美大胆在线视频| 精品国产一区二区三| 91精品国产91久久久久久吃药| 亚洲精品乱码视频| 久久久久综合一区二区三区| 黄色高清视频网站| 欧美 国产 综合| 亚洲xxxx做受欧美| 亚洲**2019国产| 日本精品久久久久影院| 日韩高清国产一区在线观看| 日本欧美视频在线观看| 久久www免费人成精品| 国产极品尤物在线| 欧美日韩性生活片| 麻豆成人av| 日本不卡高清视频一区| 欧美在线精品免播放器视频| 黄色动漫网站入口| 国产精品一级久久久| 精品自拍视频在线观看| 久久97久久97精品免视看| 亚洲伊人婷婷| 国产精品观看在线亚洲人成网| 成人精品视频99在线观看免费| 国产欧美高清在线| 日韩精品极品视频在线观看免费| 亚洲人成人77777线观看| 亚洲AV无码成人精品一区| 欧美精品在线免费观看| 国产99久久精品一区二区永久免费| 日韩精品在在线一区二区中文| 日韩欧美在线电影| 精品视频免费在线播放| 欧美亚洲午夜视频在线观看| 黄页网站大全在线观看| av网址在线观看免费| 国产三级精品网站| 欧美在线视频一二三| 亚洲综合一区二区不卡| 国产精品久久一区二区三区| 久久久999免费视频| 久久99欧美| 欧美激情一二区| 欧洲精品在线视频| 成人国产精品久久久| 日韩综合视频在线观看| 69av视频在线播放| 国产精品美女xx| 日日摸日日碰夜夜爽av| 亚洲国产精品综合| 欧日韩在线观看| 99中文视频在线| 久久亚洲精品网站| 欧美一区观看| 久久综合久久久| 色中色综合影院手机版在线观看| 亚洲精品视频一区二区三区| 精品少妇在线视频| 久久久久久噜噜噜久久久精品| 中文字幕中文字幕在线中心一区 | 日本精品一区二区三区在线播放视频 | 久久精品视频亚洲| 久久久久久国产精品免费免费| 欧美激情一区二区久久久| 国产精品揄拍500视频| 久久久成人av| 日本精品免费| 久久免费视频网| 最新不卡av| 天天爱天天做天天操| 国产一区二区不卡视频| 国产成人精品无码播放| 久久精品视频99| 日韩亚洲一区在线播放| 国产经品一区二区| 亚洲不卡中文字幕| 91看片淫黄大片91| 久久96国产精品久久99软件| 亚洲图片小说在线| 国产人妻互换一区二区| 久久伊人精品一区二区三区| 精品日本一区二区| 国产精品久久久久久亚洲影视 | 亚洲日本精品国产第一区| 国产欧美日韩亚洲精品| 久久精品国产久精国产一老狼| 日本一区二区三区四区在线观看| 91高清免费在线观看| 亚洲欧洲免费无码| 久久久爽爽爽美女图片| 日本中文不卡| 日韩视频―中文字幕| 欧美 日韩 国产在线| 国产精品久久精品视| 国产一级不卡毛片| 一卡二卡三卡视频| 国产精品444| 日韩精品久久一区| 久久九九免费视频| 精品一区二区成人免费视频| 国产精品女人网站| 亚洲中文字幕无码专区| 成人免费淫片aa视频免费| 亚洲免费视频一区| 国产第一页视频| 欧美日韩黄色一级片| 久久福利视频导航| 91久久精品在线| 欧美一区视频在线| 久热精品视频在线观看一区| 国产伦精品一区二区三区视频黑人 | 一区二区三区四区国产| 91麻豆蜜桃| 人体精品一二三区| 国产精品吊钟奶在线| 国产女教师bbwbbwbbw| 宅男一区二区三区| 国产传媒一区二区三区| 好吊色欧美一区二区三区| 亚洲一区尤物| 久久精品久久久久| 国产欧美精品日韩| 午夜精品一区二区三区在线视 | 国产精品男人的天堂| 成人在线精品视频| 日本高清久久一区二区三区| 国产精品久久久久久久久久久久久久 | 日韩免费电影一区二区三区| 国产精品对白一区二区三区| av动漫在线播放| 欧美在线视频免费| 久久久久久av| 北条麻妃一区二区三区中文字幕| 国产日韩精品电影| 日韩欧美一区二| 中文字幕人成一区| 久久视频这里只有精品| 91国产在线免费观看| 国产免费成人av| 欧美日韩喷水| 一区一区视频| 国产精品美女主播在线观看纯欲 | 精品欧美一区二区精品久久 | 国产亚洲欧美一区二区| 97精品在线视频| 黄色免费福利视频| 日韩福利视频| 一区二区在线观| 丝袜美腿亚洲一区二区| 99热一区二区三区| 国产一区不卡在线观看| 内射国产内射夫妻免费频道| 日本精品一区二区三区视频| 亚洲一区免费看| 久久夜色精品国产亚洲aⅴ| 日韩视频精品在线| 久久视频免费在线| 97久久精品午夜一区二区| 国产婷婷一区二区三区| 欧美亚洲免费在线| 日本精品视频在线播放| 亚洲欧洲日本国产| 综合国产精品久久久| 久久香蕉国产线看观看网| 久久久久久久久久久久久久久久久久av | 波霸ol色综合久久| 久久免费视频1| 国产精品av免费在线观看| 亚洲精品成人久久久998| 久久综合色88| 国产精品久久久久久五月尺| www.日韩.com| 国产成人一区二区三区免费看| 成人免费福利视频| 成人精品久久av网站| 国产伦精品一区二区三区在线| 国产一区福利视频| 国产视频一视频二| 国产女精品视频网站免费| 国产人妻777人伦精品hd| 国产视频一区二区三区四区 | 亚洲成人午夜在线| 亚洲精品国产一区| 一区二区三区四区欧美| 欧美激情一区二区久久久| 中文字幕日本最新乱码视频| 欧美极品在线视频| 亚洲欧美日韩另类精品一区二区三区| 国产99久久精品一区二区永久免费| 欧美日韩高清在线观看| 一区二区在线高清视频| 亚洲一区二区三区加勒比|