99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

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

代寫COMP1711、c++編程語言代做

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



UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING
Assessment Brief
Module title Procedural Programming
Module code COMP1711
Assignment title Collaborating with HealthMate CIC on a Step Tracker Data Analysis Tool
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 will create a number of tested and working C programs
Weighting 100%: This is the only assessment for this module
Submission deadline Part 1: Friday November 3rd 2023 (by 2pm)
Part 2: Wednesday 13th December 2023 (by 2pm)
Submission method Online through Minerva.
Feedback provision You will get automated feedback through Minerva and 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 Martin Callaghan
Other Staff contact Amy Brereton, Max Fasi, Arash Bozorgchenani, Dibyayan Chakraborty
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING
1. Assignment guidance
HealthMate CIC, a Community Interest Company based in the UK, is embarking on an ambitious project to
support healthy lifestyles and improve digital literacy among high achieving secondary school students.
They intend to use open-source tools and platforms like the BBC Micro:Bit (as teachers and schools already
have extensive experience of the device).
Their aim is to create a proof of concept that combines health consciousness with the teaching of digital
proficiency.
As intern software developers, you will work on the development of a step tracker data analysis tool, the
first step in this large project.
Your mission is to develop a console application in C capable of analysing step data either from a data file, or
directly from a Micro:Bit device.
This tool should offer a large range of analyses to give users detailed insights into their daily physical activity,
supporting HealthMate CIC’s vision of a digitally literate and health-conscious younger generation.
Although you will be expected to submit files to Gradescope for marking, you should continue to use Git and
Codespaces to develop your code.
If ever there are doubts whether work is completely your own, we will be able to look at your commit history
and this will be very good evidence for you to prove that there is no issue with academic integrity.
We can give you general guidance and remind you where to find relevant supporting material in the notes,
but coursework is individual and by submitting it, you are confirming that it is your own individual work.
You must attempt the part 1 task. All the part 2 tasks are optional but remember that the passing grade for
the module is 40%.
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING
2. Assessment tasks
Part 1: Submission deadline Friday November 3rd 2023, 14:00.
You have unlimited submissions attempts until the deadline.
Total marks available: 15
Task 1: Understanding our data files
Difficulty level: BRONZE
Task 1 marks: 15
You are given a data file called FitnessData_2023.csv and a code template file StepsTask1.c
Each row in the csv file looks like this:
2023-09-01,08:15,150
• The first column represents the date (in YYYY-MM-DD format).
• The second column is a time (8.15am in our example)
• The third column represents the steps counted in the 15 minutes immediately before the time stamp.
Here, it means that the step counter has counted 150 steps between 8.00am and 8.15am.
Your client wants you to write a single C program that will:
• Read in this csv file
• Store it in a suitably sized and structured array and typedef data structure
• 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
• Write to the screen the first three rows of the file (corresponding to the times 07:30, 07:45, 08:00).
This should be in the format:
2023-09-01/08:15/150
Note that there are NO SPACES in the output string.
In both cases, note that there is NO WHITESPACE before or after the strings. We will test for this format
EXACTLY.
The code will be marked automatically, so if your source file does not have the correct name or you get the
output wrong it is likely you will get no marks.
We will test it with multiple different files – so don’t “hard code” the output.
This will involve you using an appropriate typedef (custom data structure).
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING
typedef struct {
 char date[11];
 char time[6];
 int steps;
} FITNESS_DATA;
The template program we supply (see Minerva) has this typedef already in it. You can either use this, or you
can create your own struct if you prefer.
Also in the template, you will see that we have already written a helper function called tokeniseRecord that
you can use to split the string representing each line from the file into three individual token strings
representing the data from the row.
You do not need to understand how this function works and should not change it in any way. This is the
same function that we have used before in our teaching sessions.
When you submit the file it should have the exact filename:
StepsTask1.c
How it will be marked:
1. The ability to read in the file we give you without any errors: 2.5 marks
2. The ability to read in another data file that you have not seen: 2.5 marks
3. Printing out the number of records in the file 2.5 marks
4. Printing out the requested rows: 7.5 marks
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING
Part 2: Submission deadline Wednesday December 13th 2023, 14:00.
Total marks available: 85
You have unlimited submissions attempts.
Task 2: Analysing our data
Difficulty level: SILVER
Task 2 marks: 30
Following on from your initial program, you now need to expand your initial program to add some features
to analyse the data and help us understand what the data means.
Following good programming practice, you should split your program functionality into two files:
FitnessDataStruct.h – a header file containing the struct typedef and any helper functions you want
StepCounter.c – a program that contains the code and functions to solve the requested tasks
The program should provide a simple menu system and ask the user to select from the following options and
an option to quit.
A: Specify the filename to be imported (we will give you some additional files to test with). This should have
some error checking so that the program can cope with an incorrect filename and a file that is of an
unexpected format.
B: Display the total number of records in the file
C: Find the date and time of the timeslot with the fewest steps
D: Find the data and time of the timeslot with the largest number of steps
E: Find the mean step count of all the records in the file
F: Find the longest continuous period where the step count is above 500 steps
These should be printed out exactly as below:
Option Example output
A Input filename:
B Total records: 229
C Fewest steps: 2023-09-01 14:20
D Largest steps: 2023-09-01 18:00
E Mean step count: 427
F Longest period start: 2023-09-01 14:20
Longest period end: 2023-09-01 18:00
How it will be marked:
1. Providing a menu system providing options A-F and Quit: 5 marks
2. Successfully coping with an incorrect filename: 4 marks
3. Displaying the total number of records: 4 marks
4. Date and time of fewest steps: 4 marks
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING
5. Date and time of largest steps: 4 marks
6. Mean step count: 4 marks
7. Longest continuous period: 5 marksx<
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING
Task 3: Outputting sorted data
Difficulty level: SILVER
Task 3 marks: 15
This task requires you to write a utility program to output the data file sorted by descending order of step
count (so the row with the highest step count should be at the top) in tab separated values (tsv) format.
A .tsv file differs slightly from a .csv in that the delimiter isn’t a comma (,) but a tab character. This has the
special code \t
You won’t see this if printed on the screen, it will just look like a few spaces between the values.
You will be supplied with a template file with the same tokeniseRecord helper function you used before.
Your program should:
1. Provide a menu option to specify a filename, using the prompt:
Enter Filename:
2. Process the data file (read in and sort). It should be able to cope with an incorrect filename and to
give an appropriate error message if the file is not in the correct format
3. Write out the sorted data file with the same filename (but with the file extension .tsv). The record
with the highest step count should be at the top and the record with the smallest step count should
be at the bottom. You will need to think how to deal with any records where the step counts are the
same.
If the input file is:
mydata.csv
The output file will be:
mydata.tsv
How it will be marked:
1. Providing the menu option and coping with an incorrect filename: 5 marks
2. Coping with an incorrectly formatted file (the fields in the wrong order): 5 marks
3. Creating an output file in the correct format: 5 marks
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING
Task 4: Using the BBC Micro:Bit accelerometer as a step counter
Difficulty level: GOLD
This is an extension “stretch and challenge” task. We do not expect that all students will be able to
complete it.
Task 4 marks: 25
The BBC Micro:Bit contains a 3-axis accelerometer that you can access using the C driver library we have
used in our sessions. Accelerometers are often used in step counters.
Your task is to explore how the accelerometer works and write a C program for the Micro:Bit that will record
the steps taken for a single 5 minute interval. Your program should provide some mechanism to allow this
value to be accessed or downloaded.
This task will be assessed through a demonstration and short question and answer session with one of the
lecturers or teaching assistants. You will need to book a slot to do this face-to-face or alternatively you may
record a short (maximum 5 minute) private YouTube video and let us have the link by the final submission
date.
How it will be marked:
1. Describing how you have looked at the data from the 3 axes and decided what might represent a step
count (your experimental approach): 10 marks
2. Writing and testing a C program that records the steps for 5 minutes: 10 marks
3. Providing some mechanism to download or access the number of steps: 5 marks
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING
Task 5: Understanding code quality
Difficulty level: BRONZE
Task 3 marks: 15
For this task you will need to complete the multiple-choice quiz in Minerva. You will have one submission
attempt at this, and you will have 60 minutes to complete and submit your answers.
You will do this in your own time, and we suggest that you should use a computer with a stable internet
connection and find a quiet place where you can complete this alone without distractions.
This is an assessment, and therefore must be completed independently. You can use any notes or online
resources you would like, but you should not be working with other students.
It has 15 questions related to good programming practice.
How it will be marked:
Each of the 15 questions is worth 1 mark.
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
This assignment tests the Learning Objectives for this module:
Marks and feedback will be returned to you approximately three working weeks after the final submission
date.
The passing mark for the assessment is 40% and this can be gained from any task or combination of tasks.
5. Presentation and referencing
You should produce working and tested C programs, uploaded to Gradescope with plenty of comments to
explain your work. We also expect you to use meaningful variable names and for code to be indented to
make it readable.
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
If you used ChatGPT, the tell us the prompt you used:
// I based this on a discussion with ChatGPT
// Prompt: Explain how to import a CSV file in C
6. Submission requirements
All code should be uploaded to the submission points in Gradescope (we will explain fully how to do this in
our sessions).
7. Academic misconduct and plagiarism
Leeds students are part of an academic community that shares ideas and develops new ones.
UNIVERSITY OF LEEDS | SCHOOL OF COMPUTING
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
Part ** task 1 Importing a file into an array of structs and printing first two rows 15
Part 2- task 2 Analysing our data 30
Part 2- task 3 Outputting sorted data 15
Part 2- task 4 Using the BBC Micro:Bit accelerometer as a step counter 25
Part 2- task 5 Multiple choice quiz 15
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:代寫ECSE 4670、Python程序語言代做
  • 下一篇:代寫159.102、代做C++程序設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

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

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

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          欧美大片免费观看| 亚洲激情视频网站| 欧美欧美天天天天操| 亚洲永久视频| 99精品欧美| 樱花yy私人影院亚洲| 国产精品热久久久久夜色精品三区 | 亚洲在线免费观看| 亚洲精品乱码久久久久| 国产亚洲欧美中文| 国产精品日韩在线| 欧美日韩精品免费| 欧美精品一区二区三区在线播放| 久久久精品午夜少妇| 亚洲淫片在线视频| 亚洲精品资源美女情侣酒店| 1024亚洲| 一色屋精品视频免费看| 国产一二三精品| 国产老女人精品毛片久久| 国产精品国产三级国产a| 欧美日韩成人免费| 欧美精品免费视频| 欧美美女日韩| 欧美日韩成人免费| 国产精品videossex久久发布| 欧美激情精品久久久六区热门| 久久一区视频| 老司机67194精品线观看| 久久综合国产精品| 欧美成人精品在线观看| 欧美激情一区二区三级高清视频| 欧美成人一区二区三区在线观看| 久久中文字幕一区| 欧美精品网站| 国产精品啊v在线| 国产精品美女久久久久久免费| 国产精品麻豆欧美日韩ww| 国产欧美精品在线观看| 激情亚洲一区二区三区四区| 亚洲国产cao| 一区二区国产在线观看| 亚洲欧美日韩国产成人精品影院| 亚洲在线免费观看| 久久精品国产一区二区三| 免费在线成人av| 欧美日韩一区二区视频在线观看| 国产精品看片资源| 在线免费精品视频| 一区二区激情视频| 久久精品国产一区二区三| 欧美激情国产高清| 国产老肥熟一区二区三区| 精品成人免费| 在线综合亚洲| 麻豆成人91精品二区三区| 欧美日韩在线播放三区四区| 国产亚洲欧美在线| 国产精品99久久久久久久vr | 99热这里只有精品8| 亚洲欧美在线观看| 欧美精品尤物在线| 狠狠狠色丁香婷婷综合久久五月| 夜夜嗨av一区二区三区四季av | 久久午夜影视| 国产精品乱码一区二三区小蝌蚪| 亚洲大胆人体在线| 欧美在现视频| 欧美色大人视频| 在线观看三级视频欧美| 亚洲欧美影音先锋| 欧美日韩黄色大片| 在线免费观看视频一区| 午夜在线精品偷拍| 欧美日韩亚洲激情| 亚洲精品一二区| 麻豆成人在线观看| 国产欧美日韩亚洲一区二区三区| 亚洲精品久久久久久一区二区 | 曰韩精品一区二区| 久久爱另类一区二区小说| 国产精品盗摄久久久| 亚洲日本成人| 蜜臀久久99精品久久久久久9| 国产亚洲成人一区| 亚洲欧美综合一区| 国产精品老牛| 亚洲男人影院| 国产精品免费一区豆花| 亚洲一区二区精品| 国产精品国产自产拍高清av| 国产私拍一区| 亚洲一区免费看| 欧美性大战久久久久久久蜜臀| 亚洲精品综合精品自拍| 欧美极品aⅴ影院| 亚洲激情在线激情| 欧美日韩久久久久久| 亚洲精品一级| 欧美日韩免费| 中文一区二区在线观看| 国产精品视频免费在线观看| 性做久久久久久| 国外成人网址| 嫩草伊人久久精品少妇av杨幂| 在线精品国产成人综合| 欧美国产精品日韩| 亚洲自拍偷拍麻豆| 国产一区二区三区高清在线观看| 久久成人免费网| 亚洲高清影视| 欧美日韩黄色一区二区| 午夜日韩视频| 曰韩精品一区二区| 欧美日本在线播放| 午夜精品影院| 亚洲国产老妈| 国产精品乱码久久久久久| 久久精品亚洲乱码伦伦中文| 亚洲精品国产精品久久清纯直播 | 一区二区欧美日韩| 国产欧美va欧美不卡在线| 久久综合九色综合久99| 99视频精品在线| 国产专区综合网| 欧美日韩免费一区二区三区视频| 亚洲一区二区在线看| 在线观看视频一区二区欧美日韩 | 正在播放日韩| 国模精品一区二区三区色天香| 欧美福利视频一区| 欧美亚洲一区三区| 亚洲清纯自拍| 精品成人在线| 国产欧美日韩专区发布| 欧美成在线观看| 久久大综合网| 亚洲主播在线播放| 亚洲人精品午夜| 好吊色欧美一区二区三区四区 | 亚洲私拍自拍| 亚洲高清免费在线| 国产亚洲精品久| 国产精品福利影院| 欧美日韩高清不卡| 男人的天堂亚洲| 久久久久久97三级| 香蕉乱码成人久久天堂爱免费| 亚洲美女中文字幕| 亚洲第一精品福利| 国内精品久久久久国产盗摄免费观看完整版 | 欧美在线一区二区三区| 亚洲精品一区二区三区在线观看| 国产亚洲精品成人av久久ww| 欧美色精品在线视频| 嫩草成人www欧美| 免费观看亚洲视频大全| 久久精品亚洲精品国产欧美kt∨| 99在线视频精品| 亚洲精品影院| 亚洲精品一区二区三区av| 亚洲国产清纯| 亚洲人成网站在线播| 在线欧美小视频| 亚洲国产精品va在线看黑人动漫| 韩日精品在线| 尤物99国产成人精品视频| 狠狠干成人综合网| 亚洲韩国精品一区| 最新日韩欧美| 在线中文字幕日韩| 午夜老司机精品| 欧美一区二区三区四区视频| 久久国产手机看片| 玖玖综合伊人| 欧美日韩精品一区二区三区| 欧美乱人伦中文字幕在线| 欧美亚洲第一区| 国产麻豆精品theporn| 国产在线欧美日韩| 亚洲国产精品久久久久秋霞不卡| 亚洲国产高清高潮精品美女| 亚洲精品久久在线| 亚洲午夜久久久久久尤物 | 国内精品免费在线观看| 伊人久久大香线蕉av超碰演员| 亚洲黄一区二区三区| 中文无字幕一区二区三区| 午夜精品视频在线观看| 免费观看欧美在线视频的网站| 欧美黑人多人双交| 国产精品日本| 黄色资源网久久资源365| 日韩视频免费大全中文字幕| 亚洲综合色丁香婷婷六月图片| 久久精品国产精品亚洲精品| 欧美激情网友自拍| 国产区日韩欧美| 亚洲另类春色国产| 久久精品人人|