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

        代寫IDEPG001、Java/c++程序設(shè)計代做
        代寫IDEPG001、Java/c++程序設(shè)計代做

        時間:2025-04-26  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯



        Programming
        Coursework 2425 © NCUK Ltd. 2023 Page 1 of 10
        NCUK INTERNATIONAL YEAR ONE ENGINEERING
        IDEPG001 Programming
        Coursework
        2024-2025
        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
        Coursework 2425 © NCUK Ltd. 2023 Page 2 of 10
        The brief
        A new leisure and sports club “Sports for You” want to interact with their members through 
        a new app. Part of this app is to allow the members to keep a history of activities they 
        have completed, and calories burnt.
        You should write a program to demonstrate this part of the app, the program can read 
        data on available activities and calories burnt per hour from a file. (Please note: these 
        figures are not accurate; they are for the purpose of the coursework only). For this 
        demonstration, the app will enter details for one person only, the person can then enter 
        which activities they have completed and the duration of each activity, this information 
        can then be displayed back to the user with details of how much calories were burnt.
        For your version of the app there are 5 fixed activities with data on calories burnt
        depending on 4 fixed weight categories as follows:
        Activity 
        Name
        Calories burnt per hour in weight category
        <50kg <70kg <90kg >=90kg
        swim 300 400 450 500
        boxing 450 500 580 620
        yoga 100 110 120 130
        weights 200 240 260 300
        badminton 300 350 380 400
        The data should be read from a file, example txt file as follows:
        In this file each row represents an activity, and the calories burnt for that activity
        dependent on weight category.
        Column 1 stores the activity number, 1 = swim, 2 = boxing etc (these are fixed values).
        Columns 2 – 5 represent the calories burnt per weight category.
        Programming
        Coursework 2425 © NCUK Ltd. 2023 Page 3 of 10
        Application Requirements:
        1. Read in the person’s name and weight in kilograms – store this in a struct. This 
        struct should also be used to store a list of workouts for the person, each workout 
        will hold information on activity number and calories burnt. Validate the weight 
        entered is within the range 30kg to 200kg. 
        2. Read the data from the file and store this.
        3. Display the following menu options:
        4. Option 1 display calories burnt by activity per hour.
        It should show each activity name, and calories burnt per weight category. There 
        should be headings for each weight category. (see table on page 2)
        5. Option 2 should allow the user to enter one or more than one workout. For each 
        workout they should select the activity they have completed and enter the 
        duration of the workout in minutes. 
        For each workout the program should calculate the number of calories burnt and 
        store the activity number and calories burnt.
        6. Option 3 should display the persons name and weight and a list of each workout 
        they have entered. For each workout it should display the activity name and 
        calories burnt. Total calories burnt should be displayed at the end of the list. All 
        workouts entered should be visible throughout the duration of the program
        execution.
        7. Validation of inputs should be included as follows:
        a. Menu choices should be limited to integers in the range of options.
        b. Workouts should be a minimum of 10 minutes long and no longer than 2 
        hours.
        c. The weight of the person should be within the range of 30 to 200kg.
        d. You can assume there will be no more than 100 workouts entered for this 
        demonstration.
        Programming
        Coursework 2425 © NCUK Ltd. 2023 Page 4 of 10
        Additional Functionality
        The following list shows further suggested functionality you may implement to show further
        knowledge and understanding within your assessment (see grading rubric). It is not expected that 
        you implement any or all of this.
        1. Dynamic allocation of activity data.
        2. Save the user data so it does not require re-input each time.
        3. Save the workout data entered by the user to a file.
        4. Any other suitable.
        Suggested Data Dictionary for main components:
        activity_no integer Number of the activity 
        chosen (1 for swim, 2 for 
        boxing etc)
        activities[5] string array Name of each activity 
        (swim, boxing, yoga, 
        weights,badmington)
        activity_data[5][5] integer array each row represents an 
        activity, (row 0 = swim)
        col 0: activityNo
        col 1: activity calories 
        burnt<50kg
        col 2: activity calories 
        burnt<70kg
        col 3: activity calories 
        burnt < 90kg
        col 4: activity calories 
        burnt >=90kg
        Person:
         name
        (Struct)
        Char (20) Name of person
         weight integer Weight to nearest kg
         workouts[100][2] integer array each row represents a 
        workout for the person
        col 0: activityNo
        col 1: activity calories 
        burnt.
         workoutNo integer Total number of workouts 
        completed for the person
        Programming
        Coursework 2425 © NCUK Ltd. 2023 Page 5 of 10
        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. Take note of any issues you have come across 
        and how you have resolved these – this will help you to demonstrate your 
        knowledge and understanding of the coursework.
        3. Look carefully at the Coursework Instructions 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. 
        4. At the end, it is recommended that you put your program through a pretty printer 
        to ensure it is consistently formatted. 
        Programming
        Coursework 2425 © NCUK Ltd. 2023 Page 6 of 10
        Coursework Instructions
        Your coursework should be handed in as a report. The report should include each area below. To 
        demonstrate knowledge and understanding you should document all areas fully as instructed in each 
        part below. Refer also to Grading Rubric for each part.
        請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




         

        掃一掃在手機打開當(dāng)前頁
      1. 上一篇:宜花唄被強制下款怎么辦?宜花唄全國客服電話最新相關(guān)信息
      2. 下一篇:CHC5049代做、代寫SQL編程設(shè)計
      3. 無相關(guān)信息
        合肥生活資訊

        合肥圖文信息
        急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計優(yōu)化
        急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計優(yōu)化
        出評 開團工具
        出評 開團工具
        挖掘機濾芯提升發(fā)動機性能
        挖掘機濾芯提升發(fā)動機性能
        海信羅馬假日洗衣機亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
        海信羅馬假日洗衣機亮相AWE 復(fù)古美學(xué)與現(xiàn)代
        合肥機場巴士4號線
        合肥機場巴士4號線
        合肥機場巴士3號線
        合肥機場巴士3號線
        合肥機場巴士2號線
        合肥機場巴士2號線
        合肥機場巴士1號線
        合肥機場巴士1號線
      4. 短信驗證碼 酒店vi設(shè)計 deepseek 幣安下載 AI生圖 AI寫作 aippt AI生成圖片

        關(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免费毛片一区二区| 日韩精品一区二区三区老鸭窝 | 亚洲一区二区三区电影| 亚洲综合av一区二区三区不卡| 久久精品国产一区二区电影| 无码一区二区三区AV免费| 乱精品一区字幕二区| 国内精品无码一区二区三区| 亚洲一区视频在线播放| 成人h动漫精品一区二区无码| 亚洲国产老鸭窝一区二区三区| 精品一区二区久久| 免费无码一区二区三区蜜桃| 中文字幕精品一区二区三区视频| 无码日韩人妻AV一区免费l| 国产欧美一区二区精品仙草咪| 无码人妻精品一区二区三18禁| 熟女大屁股白浆一区二区| 美女视频一区二区三区| 国产MD视频一区二区三区| 国产成人精品亚洲一区| 国产免费一区二区三区VR| 免费一区二区视频| 亚洲国产综合精品一区在线播放| 日韩精品一区二区三区在线观看| 视频精品一区二区三区| 国产一区二区三区免费在线观看| 国产精品成人99一区无码| 日本一区二区三区不卡在线视频| 成人区人妻精品一区二区不卡| 国产丝袜一区二区三区在线观看 | 一区二区网站在线观看| 四虎永久在线精品免费一区二区| 午夜无码视频一区二区三区| 亚洲一区二区三区无码影院| 国产精品毛片一区二区三区| 国产伦精品一区二区三区女| 国产成人一区二区在线不卡|