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

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

代寫 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 程序語言
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 trae 豆包網頁版入口 目錄網 排行網

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

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

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

          9000px;">

                色婷婷av一区二区三区大白胸| 中文字幕免费不卡在线| 亚洲精品乱码久久久久| 日本一区二区视频在线| 26uuu国产日韩综合| 欧美日韩一区高清| 日韩欧美第一区| 欧美视频中文字幕| 亚洲18女电影在线观看| 精品日韩在线一区| 99re66热这里只有精品3直播| 国产精品久久久久久亚洲伦 | 久久99国产精品免费| 欧美日韩一区精品| 欧美日韩中文国产| 国产黄色成人av| 亚洲国产日韩在线一区模特| 久久久噜噜噜久久中文字幕色伊伊| 91网站最新地址| 国产在线精品免费| 亚洲电影一区二区三区| 天天操天天综合网| 久久成人综合网| 国产精品99久久久久久久vr| 成人精品视频.| 色综合激情久久| 日韩一区二区免费视频| 精品电影一区二区| 日韩欧美国产综合| 91亚洲永久精品| 轻轻草成人在线| 国产精品国产三级国产三级人妇| 91热门视频在线观看| 欧美剧情片在线观看| 欧美巨大另类极品videosbest | 久久精品一二三| 日本中文字幕一区二区视频| 欧美日韩国产片| 日韩综合在线视频| 欧美一区二区二区| 激情成人午夜视频| 国产欧美精品在线观看| 不卡的av电影在线观看| 亚洲美女免费视频| 91久久免费观看| 亚洲国产中文字幕在线视频综合 | 91精品中文字幕一区二区三区| 亚洲成av人在线观看| 亚洲国产精品久久人人爱| 一区在线观看视频| ww亚洲ww在线观看国产| 欧美日韩中文国产| 91国偷自产一区二区开放时间| 国产福利一区二区| 国产成人免费视频精品含羞草妖精| 亚洲一区二区三区自拍| 中文字幕亚洲视频| 亚洲视频 欧洲视频| 精品美女被调教视频大全网站| 日韩国产精品久久久| 欧美一级艳片视频免费观看| 精品制服美女丁香| 国产精品丝袜一区| 欧美午夜一区二区| 男人的j进女人的j一区| 精品乱码亚洲一区二区不卡| 懂色av中文一区二区三区| 最新不卡av在线| 91精品国产综合久久精品app| 久久99精品久久久久久国产越南 | 亚洲嫩草精品久久| 欧美日韩一区二区三区不卡| 日本aⅴ免费视频一区二区三区| 欧美xxxxx牲另类人与| 成人av影视在线观看| 亚洲一区在线看| 日韩免费电影一区| 不卡av在线免费观看| 青椒成人免费视频| 中文字幕在线播放不卡一区| 欧美日韩一区二区三区视频| 国产成人高清视频| 日韩精品久久理论片| 国产欧美日韩麻豆91| 欧美日韩一区三区四区| 国产成人夜色高潮福利影视| 亚洲妇熟xx妇色黄| 国产精品福利在线播放| 日韩精品一区二区三区视频在线观看| 成人av资源站| 另类中文字幕网| 有坂深雪av一区二区精品| 精品国产乱码久久久久久老虎 | 国产乱人伦偷精品视频免下载 | 青椒成人免费视频| 亚洲男人的天堂av| 国产色一区二区| 日韩午夜在线影院| 欧美色爱综合网| 99r精品视频| 国产成人午夜精品影院观看视频| 肉肉av福利一精品导航| 亚洲综合久久久久| 成人欧美一区二区三区视频网页| 日韩欧美高清在线| 91精品国产综合久久福利| 欧美主播一区二区三区美女| 大胆欧美人体老妇| 国产精品一区二区久久不卡| 麻豆成人av在线| 老司机精品视频在线| 免费精品99久久国产综合精品| 一区二区三区美女| 一区二区三区在线高清| 亚洲免费伊人电影| 亚洲欧洲日本在线| 亚洲欧美综合色| 日韩美女精品在线| 中文字幕一区在线观看| 国产精品激情偷乱一区二区∴| 亚洲国产精品成人久久综合一区| 国产欧美日韩不卡| 欧美激情一区三区| 国产精品视频免费看| 国产精品网友自拍| 亚洲色图都市小说| 亚洲综合色噜噜狠狠| 亚洲不卡在线观看| 日韩高清不卡一区二区三区| 日本亚洲最大的色成网站www| 午夜成人免费视频| 日本不卡视频一二三区| 久久se精品一区精品二区| 麻豆视频观看网址久久| 久久er精品视频| 国产成人亚洲综合a∨猫咪| 99综合电影在线视频| 色老汉一区二区三区| 欧美手机在线视频| 欧美mv日韩mv亚洲| 国产精品人妖ts系列视频 | 色婷婷av久久久久久久| 在线国产亚洲欧美| 欧美精品v国产精品v日韩精品 | 久久欧美一区二区| 国产精品久久久爽爽爽麻豆色哟哟| 国产精品乱人伦中文| 亚洲一区二区欧美日韩| 久久国产综合精品| 成人网男人的天堂| 欧美性感一区二区三区| 91精品国产91久久久久久一区二区 | 中文字幕一区二区三区不卡在线| 国产精品污www在线观看| 亚洲免费在线观看| 久久精品国产**网站演员| 成人av电影在线观看| 色欲综合视频天天天| 欧美一区二区大片| 中文字幕在线观看一区| 日本aⅴ精品一区二区三区 | 美国十次了思思久久精品导航| 国产成人免费av在线| 欧美老肥妇做.爰bbww视频| 国产午夜精品一区二区三区视频 | 欧美一区二区女人| 国产精品久久综合| 蜜桃视频一区二区三区| www.亚洲激情.com| 精品免费国产二区三区| 亚洲三级久久久| 黑人巨大精品欧美黑白配亚洲 | 亚洲丶国产丶欧美一区二区三区| 久久99久久精品| 国产不卡免费视频| 色88888久久久久久影院野外| 国产一区二区三区久久悠悠色av| 韩国毛片一区二区三区| 99精品一区二区三区| 欧美女孩性生活视频| 久久蜜桃一区二区| 亚洲欧美色一区| 日本美女一区二区三区| 国产精品18久久久久久久久 | 麻豆成人久久精品二区三区红 | 欧美精品一区在线观看| 国产精品少妇自拍| 亚洲成人777| 国产精品18久久久| 在线中文字幕不卡| 中文字幕不卡在线| 国产成人午夜高潮毛片| 亚洲精品一区在线观看| 日产国产高清一区二区三区| 欧美日韩在线直播| 亚洲综合久久av| 欧美制服丝袜第一页| 亚洲视频图片小说| 99视频一区二区三区| 久久久久久**毛片大全|