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

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

代寫 COMP 315、代做 java 程序設計
代寫 COMP 315、代做 java 程序設計

時間:2025-03-09  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



Assignment 1: Javascript COMP 315: Cloud Computing for E-Commerce February 2025 1 Introduction A common task when backend programming is data cleaning, which is the process of taking an initial data set that may contain erroneous or incomplete data, and removing or fixing those elements. In this assignment, you will be tested on your knowledge of JavaScript by implementing a set of functions that perform data cleaning operations on a dataset. 2 Objectives By the end of this assignment, you will: ? Gain proficiency in using JavaScript for data manipulation. ? Be able to implement various data cleaning procedures, and understand the significance of them. ? Have developed problem-solving skills through practical application. 3 Initial setup On the canvas page for this assignment, there is a template file calledData Processing.js. Upload this template file to Codegrade. Note that the function signatures and module export statements have been prepared for you. Codegrade hosts a series of unit tests that will auto mark your code, and will present you with your final mark. This allows for immediate feedback and removes any potential bias in marking. You have an unlimited number of submissions to Codegrade. For this assignment you cannot import any additional libraries, as only the File System (FS) library is allowed. The data you will be cleaning can be seen in Table 1. Data name Note id This is a unique integer identifier for each item. name Each product has a name, which for this data set will just be the type of product followed by a unique identifier integer. price This is a real value representing the cost of the product. category Each product has a general category such as Clothing or Electronics, and is saved as a string. type Each product’s type is a string that represents what sort of item it is. quantity This is an integer value that shows how many of this item is currently in stock. rating This is a real value that is a multiple of 0.5, starting from 0 and being capped at 5. This value represents the number of stars users rate the item. image link This is the link to the product in the database, and is saved in the format of “[cate- gory]/[type]/[name].jpg”. Name is all in lowercase with the spaces replaced with under- scores. Table 1: The attributes that are stored for each product 1 Data name Note category Each product has a general category such as Clothing or Electronics, and is saved as a string. type Each product’s type is a string that represents what sort of item it is. min price This number represents the minimum price for this type of product. max price This number represents the maximum price for this type of product. Table 2: The attributes that are stored for pricing each type of product 4 Data cleaning Add the following functionality to each of the functions. Do not modify the function signature or return statement. The file name variable is the string that corresponds to a JSON file name without the ‘.json’ extension. For example if the file is called test.json then file name would have test stored. The entries variable is an array of JSON objects corresponding to products. Each JSON object has the attributes listed in Table 1. The products prices variable is an array of JSON objects corresponding to the minimum and maximum price for each type of product. Each JSON object has the attributes listed in Table 2. 4.1 load JSON This function should take the file name variable and load the corresponding JSON file. Note that the ‘.json’ file extension should be added. If the file cannot be found then an exception should be thrown that says ”‘[file name].json’ cannot be found”, where [file name] is replaced with the actual file name. The input text should be converted to an array of JSON objects. If this process cannot be done, then it should throw the error ”‘[file name].json’ is not a valid JSON file” where again [file name] is replaced with the actual file name. 4.2 clean name This function should iterate through each of the products, and replace null name values with the correct name. If the name value is ‘null’ then the image link variable should be checked. If image link is not ‘null’ then the name should be extracted from that. It should replace the underscores with spaces, and each word should be capitalised. If image link is ‘null’ then the name should be taken from the ‘type’ variable. Each name is unique, and is the type value with a unique integer identifier appended to it. This identifier corresponds to the number of that type of product that have occurred up to that point. For example if the product type is ”Belt”, and it is the third ”Belt” in the product list then it’s name should be ”Belt 3”. 4.3 clean price This function takes in the entries variable, as well as the product prices variable. The price values should always be non-negative number, and should first be changed to positive. The corresponding min price and max price for this type of product should be found from product prices. If the price for the product is less than the min price value for that type of product, then it should be set as the min price value. For example if the price of Shoe4 is 1, and the min price value for Shoe is 3, then the price for Shoe4 should be set to 3. If the price for the product is more than the max price value for that type of product, then it should be set as the max price value. 4.4 clean category This function should check if the category is ‘null’, then it should use the type value to fill in the missing data. It should find other entries with the same type value, and then use this to fill in the corresponding category value. 4.5 clean type This function should check if the type is ‘null’, then it should check the name value. If the name is not ‘null’ then it should remove the unique number and use that value. If the name is ‘null’ then it should derive the name from the image link. 2 4.6 clean quantity The quantity of a product must be a non-negative value, so if the value is negative then it should be set to positive. If the value is not an integer, then it should be rounded to the nearest integer using standard ‘rounding half up’ rounding. 4.7 clean rating If the rating for a product is set to ‘null’, then it should be set to 0. The rating of a product is given as a star value between 0 and 5 stars. It is possible to give a product half a star, therefore the possible values are: 0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5. If a value does not correspond to one of these, then it should be rounded to the nearest possible value. 4.8 clean image link This function populates ‘null’ image link values using the other variables for the JSON object. This should be in the format of “[category]/[type]/[name].jpg”. The category and type values are used as they are, however the name value should all be in lowercase with spaces replaced with underscores. The ‘.jpg’ text should be appended to the end. 5 Marking The marking will be carried out automatically using the CodeGrade marking platform. A series of unit tests will be ran, and the mark will correspond with how many of those unit tests were successfully executed. Your work will be submitted to an automatic plagiarism/collusion detection system, and those exceeding a threshold will be reported to the Academic Integrity Officer for investigation regarding adhesion to the university’s policy https://www.liverpool.ac.uk/media/livacuk/tqsd/code-of-practice-on-assessment/appendix L cop assess.pdf. 6 Deadline The deadline is 23:59 GMT Thursday the 20th of March 2025. Late submissions will have the typical 5% penalty applied for each day late, up to 5 days. Submissions after this time will not be marke

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp



 

掃一掃在手機打開當前頁
  • 上一篇:代寫SE360、Java/Python程序代做
  • 下一篇:代做 program、代寫 matlab 程序語言
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業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怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产日韩欧美一二三区| 高清在线观看免费| 国产精品一区免费观看| 俺去啦;欧美日韩| 日韩av影视| 91九色国产视频| 国产精品久久久久久久久久久久久久| 手机看片日韩国产| 国产精品午夜视频| 久久综合五月天| 男人添女人下部视频免费| 91精品成人久久| 亚洲一区二区三区午夜| 国产欧美一区二区| 久久6精品影院| 国产色视频一区| 久久综合88中文色鬼| 蜜桃视频成人| 国产精品国产精品国产专区蜜臀ah| 欧美日本韩国一区二区三区| www.99久久热国产日韩欧美.com| 亚洲精品蜜桃久久久久久| 99精品视频在线看| 亚洲精品欧美一区二区三区| av日韩中文字幕| 一区二区三区精品国产| 国产精品亚洲аv天堂网| 一区二区三区久久网| 成人国产精品一区| 亚洲砖区区免费| 91麻豆精品秘密入口| 亚洲欧美日韩精品综合在线观看 | 久久夜精品香蕉| 国产日韩欧美综合| 在线观看日韩羞羞视频| 97人人模人人爽视频一区二区| 亚洲自拍欧美另类| 久久青青草原一区二区| 日韩免费在线视频| 国产精品视频在线免费观看| 美女精品国产| 亚洲五月六月| 久久99精品国产一区二区三区| 青青草成人免费在线视频| 国产精品日韩在线播放| 国产日韩欧美在线| 亚洲高清视频一区二区| 国产av熟女一区二区三区| 欧美专区日韩视频| 久久亚洲综合国产精品99麻豆精品福利| 国产精品亚洲片夜色在线| 日本亚洲欧美三级| 国产精品无码一本二本三本色| 国产淫片免费看| 亚洲第一综合网站| 日韩视频免费在线观看| 国产亚洲精品久久久久久久| 亚洲国产一区二区精品视频| 日日骚av一区| 国产欧美日韩伦理| 日韩 欧美 自拍| 国产精品电影一区| 97免费高清电视剧观看| 青青青青草视频| 一区二区三区在线视频看| 久久久久日韩精品久久久男男| 国产欧美一区二区三区久久| 日本久久高清视频| 美女av一区二区三区| 国产va亚洲va在线va| 国产欧美韩日| 欧洲精品久久| 在线观看日韩羞羞视频| 按摩亚洲人久久| 99国产在线观看| 黄色一区三区| 日本一区二区黄色| 萌白酱国产一区二区| 久久99国产精品99久久| 粉嫩高清一区二区三区精品视频| 欧美亚洲国产视频小说| 亚洲乱码一区二区三区三上悠亚| 国产精品沙发午睡系列| 久久一区二区精品| 国产欧美日韩视频| 欧美精品一区二区三区在线看午夜| 一区二区冒白浆视频| 国产精品乱码一区二区三区| 国产成人精品免费看在线播放| 国产欧美日韩免费看aⅴ视频| 欧美中文字幕在线观看| 亚州av一区二区| 国产精品成人一区二区三区吃奶| 久久精品免费一区二区| www.欧美黄色| 国产裸体舞一区二区三区| 欧美极品jizzhd欧美| 日本一区二区三区免费观看| 亚洲欧洲一区二区在线观看| 日韩在线视频免费观看| 久久一区免费| 91国自产精品中文字幕亚洲| 国产日韩欧美二区| 黄色一级二级三级| 欧美在线激情网| 日韩免费中文专区| 日本一区二区三区视频在线观看| 一区不卡视频| 色综合久久88| 精品国产91亚洲一区二区三区www| 国产精品网站大全| 日韩中文字幕在线观看| 久久久视频在线| 白嫩少妇丰满一区二区| 国产欧美日本在线| 韩国精品一区二区三区六区色诱| 欧美日韩在线不卡视频| 欧美婷婷久久| 欧美一级大胆视频| 欧日韩一区二区三区| 人人澡人人澡人人看欧美| 日本精品免费在线观看| 色阁综合av| 日本免费成人网| 人妻无码一区二区三区四区| 青青草成人在线| 欧美亚洲国产视频| 激情成人开心网| 国产香蕉一区二区三区| 国产亚洲精品自在久久| 国产乱子夫妻xx黑人xyx真爽| 国产日韩一区二区在线观看| 国产乱码一区| 91久久精品国产| 91久久国产精品| 久久免费一级片| 久久精品国产精品国产精品污| 久久99精品久久久久久水蜜桃| 国产成年人在线观看| 日日骚av一区| 欧美成aaa人片免费看| 色在人av网站天堂精品| 亚洲欧美精品在线观看| 日韩av免费看| 欧美亚洲国产成人精品| 精品视频无码一区二区三区| 国产日韩欧美黄色| 97人人模人人爽人人少妇| 久久一区二区三区av| 国产精品偷伦一区二区| 欧美精品情趣视频| 亚洲综合av一区| 日韩高清专区| 欧美 日韩 激情| 国产精品亚洲天堂| 久久精品综合一区| 日韩在线视频一区| 九九九久久国产免费| 日韩av成人在线观看| 激情伦成人综合小说| 国产乱子伦精品| 久久久久久久国产精品| 欧美成人精品在线播放| 亚洲不卡中文字幕| 欧美日韩国产综合在线| 国产精品中文在线| 久久免费国产视频| 国产精品久久久久国产a级| 精品九九九九| 日韩av不卡电影| 国产亚洲欧美在线视频| 国产精品18毛片一区二区| 国产精品视频网址| 亚洲区一区二区三区| 欧美不卡福利| 91成人在线视频观看| 国产精品情侣自拍| 亚洲欧洲精品一区二区三区波多野1战4| 奇米影视亚洲狠狠色| 成人亚洲综合色就1024| www.美女亚洲精品| 亚洲在线视频一区二区| 欧美日韩国产三区| 国产伦理久久久| 日韩视频免费大全中文字幕| 亚洲欧洲精品一区| 国产自产精品| 久久久久久久999| 亚洲精品在线视频观看| 国内精品久久久久影院优| 91精品久久久久久久久久久| 国产精品久久久久久久乖乖| 日本视频久久久| 成人av一级片| 欧美精品情趣视频| 欧美久久综合性欧美| 久久免费观看视频| 欧美日韩福利在线观看| 欧美专区一二三| 久久av免费观看|