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

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

代寫 COMP 315、代做 java 程序設(shè)計(jì)
代寫 COMP 315、代做 java 程序設(shè)計(jì)

時(shí)間:2025-03-09  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



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

請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp



 

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

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
    出評(píng) 開團(tuán)工具
    出評(píng) 開團(tuán)工具
    挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
    挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
    海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
    合肥機(jī)場(chǎng)巴士4號(hào)線
    合肥機(jī)場(chǎng)巴士4號(hào)線
    合肥機(jī)場(chǎng)巴士3號(hào)線
    合肥機(jī)場(chǎng)巴士3號(hào)線
    合肥機(jī)場(chǎng)巴士2號(hào)線
    合肥機(jī)場(chǎng)巴士2號(hào)線
    合肥機(jī)場(chǎng)巴士1號(hào)線
    合肥機(jī)場(chǎng)巴士1號(hào)線
  • 短信驗(yàn)證碼 豆包 幣安下載 AI生圖 目錄網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

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

          亚洲第一色在线| 国产精品入口66mio| 欧美全黄视频| 国产精品久久999| 黄色成人在线观看| 亚洲日本久久| 久久99在线观看| 免费av成人在线| 国产精品一区二区三区乱码| 国产嫩草一区二区三区在线观看 | 99精品国产高清一区二区| 亚洲一级特黄| 欧美成人午夜激情在线| 国产精品日韩二区| 亚洲人成高清| 欧美在线网址| 国产欧美在线播放| 欧美精品xxxxbbbb| 久久久久久婷| 国产嫩草一区二区三区在线观看| 在线观看国产精品网站| 亚洲精品免费网站| 浪潮色综合久久天堂| 国产精品一卡二| 亚洲专区欧美专区| 国产精品久久久久久亚洲调教 | 亚洲小说欧美另类婷婷| 欧美精品三级| 一二三四社区欧美黄| 午夜在线视频观看日韩17c| 国产精品久99| 午夜在线精品| 国产一区二区精品丝袜| 午夜精品亚洲| 国产一区二区三区高清在线观看| 午夜精品福利一区二区蜜股av| 欧美日韩国产va另类| 亚洲婷婷免费| 久久影音先锋| 免费久久99精品国产自| 欧美日韩一区免费| 欧美伊人久久| 亚洲日产国产精品| 国产精品二区在线| 久久天天躁狠狠躁夜夜爽蜜月| 国产热re99久久6国产精品| 久久久久久午夜| 亚洲国产精品成人va在线观看| 欧美日韩国产一级| 久久日韩精品| 欧美一区午夜精品| 一区二区高清视频| 黄色日韩网站视频| 国产精品视频自拍| 欧美激情偷拍| 欧美91大片| 亚洲性感美女99在线| 亚洲国产清纯| 狠狠色综合播放一区二区| 欧美日韩国产在线播放| 欧美在线一二三区| 亚洲欧美视频在线观看视频| 亚洲国产精品福利| 国产日韩欧美综合| 国产欧美精品日韩| 国产老肥熟一区二区三区| 欧美色大人视频| 欧美日韩精品| 欧美午夜电影一区| 国产精品videosex极品| 欧美日韩成人在线播放| 欧美国产免费| 欧美日韩一区三区| 国产精品视频免费在线观看| 国产女人18毛片水18精品| 国产欧美精品久久| 亚洲国产精品一区二区尤物区| 伊人影院久久| 夜夜精品视频| 久久精视频免费在线久久完整在线看| 久久久女女女女999久久| 美女在线一区二区| 国产精品嫩草影院一区二区| 国产视频在线观看一区二区| 一区久久精品| 一区二区三区国产盗摄| 欧美在线关看| 欧美1区3d| 国产欧美在线观看一区| 亚洲久久视频| 久久久精品一区| 国产精品久久久久久久久免费桃花| 国内精品久久久久久影视8| 日韩视频久久| 欧美大片91| 一区二区三区在线观看国产| 亚洲视频在线一区| 欧美精品97| 亚洲人成人一区二区三区| 久久精品30| 黄色成人片子| 亚洲第一精品在线| 国产精品亚洲一区| 国模精品一区二区三区色天香| 日韩午夜一区| 欧美日韩亚洲成人| 亚洲婷婷国产精品电影人久久| 欧美不卡视频| 亚洲视屏在线播放| 国产精品男gay被猛男狂揉视频| 久久综合九色综合久99| 国产一区二区三区奇米久涩 | 一本色道综合亚洲| 欧美日韩一区在线观看| 国产精品99久久不卡二区| 国产精品久久久久久久久| 亚洲欧美国产日韩天堂区| 国产欧美日本| 久久只精品国产| 一区二区欧美日韩视频| 国产亚洲精品久久久久动| 久久久91精品国产一区二区精品| 国产一区二区日韩精品| 欧美老女人xx| 麻豆精品精华液| 一区二区欧美精品| 国产综合一区二区| 国产精品理论片| 乱码第一页成人| 欧美一区激情| 亚洲视频免费看| 91久久精品国产| 国产一区二区三区日韩欧美| 欧美激情一区二区三区在线视频 | 国产中文一区| 国产精品久久久久9999吃药| 欧美mv日韩mv亚洲| 久久午夜精品一区二区| 欧美一进一出视频| 亚洲欧美激情诱惑| 夜夜嗨av一区二区三区| 亚洲人成网站在线观看播放| 一区免费在线| 樱花yy私人影院亚洲| 怡红院av一区二区三区| 狠狠色综合色区| 亚洲国内在线| 亚洲精品中文字| 欧美精品v国产精品v日韩精品| 裸体丰满少妇做受久久99精品| 欧美在线一区二区三区| 香蕉成人久久| 久久深夜福利| 欧美国产激情二区三区| 欧美剧在线观看| 欧美无乱码久久久免费午夜一区| 欧美日韩国产成人在线观看| 亚洲一区高清| 久久不射中文字幕| 欧美精品成人一区二区在线观看 | 国产亚洲毛片| 亚洲三级性片| 久久se精品一区二区| 美女尤物久久精品| 国产精品久久福利| 一区免费在线| 亚洲影音先锋| 欧美激情一级片一区二区| 国产精品成人av性教育| 亚洲一线二线三线久久久| 亚洲国产视频一区二区| 一区二区三区波多野结衣在线观看| 亚洲欧美日韩在线一区| 欧美激情一区二区三区在线视频| 国产精品中文字幕在线观看| 99精品欧美一区二区三区综合在线| 亚洲欧美精品一区| 欧美午夜精品久久久久久超碰| 亚洲电影第三页| 久久久亚洲精品一区二区三区| 欧美日韩日日夜夜| 日韩一区二区电影网| 美国成人直播| 亚洲国产免费看| 国产视频亚洲精品| 亚洲一区二区三区精品视频| 欧美精品国产一区| 一区二区三区免费看| 欧美日韩情趣电影| 亚洲在线免费观看| 国产精品亚洲产品| 久久久亚洲国产天美传媒修理工| 国产亚洲人成a一在线v站 | 欧美三级视频| 亚洲天堂av在线免费| 国产一区二区三区四区在线观看| 久久久亚洲午夜电影| 亚洲国产乱码最新视频| 国产精品久久久久久超碰 | 国产麻豆综合|