加勒比久久综合,国产精品伦一区二区,66精品视频在线观看,一区二区电影

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

代寫 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號線
  • 短信驗證碼 目錄網 排行網

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

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

    欧美一级鲁丝片| 日日狠狠久久偷偷综合色| 在线观看日韩| 综合国产精品| 超碰在线99| 999久久久国产精品| 久久久久97| 国产精品久久久久久久久久10秀| 免费一级欧美片在线观看网站| 精品极品在线| 国产精品毛片| 日韩成人久久| 美女性感视频久久| 男人天堂欧美日韩| 精品久久97| 在线精品一区| 日韩电影在线视频| 亚洲综合影院| 国内久久视频| 欧美日韩精品免费观看视欧美高清免费大片| 成人av影音| 欧美aa视频| 蜜桃在线一区二区三区| 亚洲国产成人精品女人| 久久三级福利| 99精品国产高清一区二区麻豆| 中文字幕一区二区av| 国产日产高清欧美一区二区三区| 国产福利片在线观看| 性色一区二区三区| 99av国产精品欲麻豆| 国产综合欧美| 成人精品亚洲| www国产精品| 一区二区三区在线免费看| 欧美猛男同性videos| 国产激情综合| 欧美日韩一区二区国产| 日一区二区三区| 久久精品一区| 免费在线亚洲| 国产极品一区| 国产亚洲欧美日韩精品一区二区三区| 97精品国产| 香蕉久久国产| 快she精品国产999| 成人亚洲一区| av在线视屏| 日本综合字幕| 精品久久毛片| 六月丁香婷婷色狠狠久久| 久久资源在线| 日韩高清欧美激情| 久久精品一区二区国产| 麻豆91在线看| 中文字幕一区二区三区在线视频 | 日韩在线视频精品| 欧美成人h版| 国产一区二区| 久久一区亚洲| 99久久999| 日韩极品在线| 嗯用力啊快一点好舒服小柔久久| 久久国产精品免费精品3p| 美女主播精品视频一二三四| 999国产精品999久久久久久| 欧美+日本+国产+在线a∨观看| 不卡中文一二三区| 热久久国产精品| 精品免费av在线| 麻豆成人综合网| 国产精一区二区| 日韩精品视频一区二区三区| 超碰成人免费| 国产韩日影视精品| 免费在线看成人av| 最新日韩一区| 国产精品亚洲综合在线观看 | 91国产一区| 日韩在线视频一区二区三区 | 国产精品一线| 最新亚洲视频| 欧美7777| 久久久久97| 精品91福利视频| 欧美1区2区3区| 欧美好骚综合网| 日韩高清一区在线| 视频一区日韩精品| 天天色天天射综合网| 国产精品久久久久一区二区三区厕所| 日本一区免费网站| 中文字幕av亚洲精品一部二部| 精品国产一区二区三区性色av| 999国产精品视频| 午夜影院日韩| 香蕉视频亚洲一级| 一区二区电影| 国产精品成人自拍| 在线亚洲激情| 日韩欧美字幕| 国产亚洲一区二区三区不卡| 国产成人aa在线观看网站站| 国产亚洲精品v| 欧美一区91| 亚洲一级大片| 蜜臀va亚洲va欧美va天堂| 国产情侣久久| 青青一区二区三区| 欧美a级成人淫片免费看| 麻豆精品视频在线| 精品三级av在线导航| 国产精品黑丝在线播放| 亚洲国产一区二区三区a毛片 | 国产乱子精品一区二区在线观看| 国产伦精品一区二区三区视频| 91精品婷婷色在线观看| 中文字幕人成乱码在线观看| 9999精品| 亚洲第一天堂| 一本综合久久| 欧美成人基地| 国产精品久久亚洲不卡| 久久精品九色| 色综合五月天| 国产综合久久久| 中文日韩欧美| 中文字幕一区二区精品区| 亚洲性色视频| 青青草国产精品亚洲专区无| 日本国产精品| 成人免费一区| 精品理论电影在线| 裤袜国产欧美精品一区| 亚洲都市激情| 蜜桃视频一区二区三区| 欧美激情无毛| 亚洲一区一卡| 国产a久久精品一区二区三区| 制服丝袜日韩| 日本午夜精品一区二区三区电影| 欧美在线色图| 青草av.久久免费一区| 欧美亚洲国产精品久久| 久久亚洲国产精品尤物| 久久一区二区三区喷水| 久久国产生活片100| 性欧美xxxx免费岛国不卡电影| 91在线成人| 激情一区二区| 日韩高清一级片| 宅男噜噜噜66国产日韩在线观看| 欧美日韩 国产精品| 夜夜嗨av一区二区三区网站四季av| 欧美极品一区二区三区| 亚洲一区二区三区高清| 日韩影视在线观看| 日本不卡1234视频| 欧洲亚洲成人| 久久中文在线| 国产精品日韩精品欧美精品| 亚洲成a人片77777在线播放| av在线中出| 久久看片网站| 亚洲精品系列| 欧美xxxx中国| 青青一区二区| 亚洲乱亚洲高清| 国产精品国产一区| 久久久一二三| 欧美日韩中文| 中文字幕在线免费观看视频| 91嫩草精品| 日本免费新一区视频| 免费看黄色91| 你懂的在线观看一区二区| 亚洲精品影视| 激情黄产视频在线免费观看| 欧美a大片欧美片| 成人久久精品| 婷婷午夜社区一区| 黄色av日韩| 中文一区二区三区四区| 久久中文在线| 国产美女高潮在线观看| 欧美性感美女一区二区| 少妇一区二区视频| 日韩三级成人| 免费成人av在线| 久久神马影院| 日韩成人动漫在线观看| 久久国产人妖系列| 日韩aaaa| 婷婷亚洲图片| 9l视频自拍蝌蚪9l视频成人| 亚洲资源在线| 久久国产欧美日韩精品| 国产99在线| 先锋影音久久久| 久久视频国产|