日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

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

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

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 酒店vi設計 deepseek 幣安下載 AI生圖 AI寫作 aippt AI生成PPT 阿里商辦

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

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

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        久久精品国产亚洲一区二区三区| 久久综合婷婷| 91久久香蕉国产日韩欧美9色| 欧美精品一区二区三区四区| 国产日韩欧美综合在线| 亚洲人成久久| 国产精品高潮呻吟久久av黑人| 久久久久久国产精品一区| 国产精品久久久久国产精品日日| 亚洲欧洲av一区二区三区久久| 欧美日韩美女在线| 亚洲美女av黄| 亚洲乱码国产乱码精品精98午夜| 国产精品区一区二区三区| 99精品国产一区二区青青牛奶| 欧美三级日本三级少妇99| 国外成人性视频| 欧美怡红院视频一区二区三区| 国产精品福利久久久| 免费成年人欧美视频| 久久久噜噜噜久久狠狠50岁| 亚洲一区二区3| 国产精品一二一区| 欧美亚洲视频一区二区| 欧美色道久久88综合亚洲精品| 欧美日韩91| 国产精品盗摄一区二区三区| 欧美一级欧美一级在线播放| 亚洲激情午夜| 欧美黑人在线观看| 亚洲欧洲综合另类| 性色av一区二区三区在线观看| 亚洲在线电影| 欧美xart系列高清| 欧美日韩裸体免费视频| 在线国产精品一区| 欧美色欧美亚洲另类二区| 亚洲无限乱码一二三四麻| 欧美激情精品久久久久久变态| 欧美高清在线一区二区| 国产精品久久久久久久久久三级| 在线观看日产精品| 亚洲欧美一区二区三区在线| 久久激情综合| 欧美激情二区三区| 在线观看欧美视频| 国产资源精品在线观看| 欧美三级韩国三级日本三斤| 亚洲最新视频在线| 国产在线视频欧美一区二区三区| 99国产精品视频免费观看一公开| 亚洲免费视频一区二区| 亚洲一区二区伦理| 在线观看日韩av先锋影音电影院| 欧美午夜在线观看| 久久精品成人一区二区三区蜜臀| 国产精品av免费在线观看| 欧美三区美女| 中文国产亚洲喷潮| 国产精品免费一区二区三区在线观看| 国产中文一区二区三区| 激情懂色av一区av二区av| 欧美理论电影在线播放| 黄色成人av网| 久久先锋影音av| 久久久亚洲国产美女国产盗摄| 在线视频亚洲一区| 99riav1国产精品视频| 欧美在线首页| 亚洲欧美影音先锋| 午夜精品亚洲一区二区三区嫩草| 一区二区三区久久久| 欧美精品亚洲一区二区在线播放| 久久精品国产免费| 老牛国产精品一区的观看方式| 久久综合九色综合欧美就去吻| 久久久久欧美精品| 午夜精品一区二区在线观看| 亚洲韩日在线| 久久蜜臀精品av| 尤物精品国产第一福利三区| 亚洲在线观看免费| 国产欧美二区| 欧美一区二区三区免费观看| 亚洲精品久久久久久久久久久久| 亚洲片国产一区一级在线观看| 国产精品爱久久久久久久| 日韩西西人体444www| 激情久久一区| 永久免费精品影视网站| 亚洲激情在线播放| 中文有码久久| 久久精品日产第一区二区三区| 欧美视频在线观看一区二区| 欧美三级韩国三级日本三斤| 欧美亚洲视频| 久久精品国产77777蜜臀| **网站欧美大片在线观看| 免费在线国产精品| 欧美麻豆久久久久久中文| 国产伦精品一区二区三| 久久久99精品免费观看不卡| 国产精品极品美女粉嫩高清在线| 亚洲三级电影在线观看| 国产亚洲激情| 欧美成人一区二区三区片免费| 亚洲一区二区在| 欧美不卡在线| 激情伊人五月天久久综合| 91久久在线观看| 亚洲免费视频一区二区| 久久av二区| 国产精品日韩一区二区| 美女网站久久| 久久精品国产在热久久| 国产精品福利在线观看网址| 国产精品免费网站在线观看| 麻豆精品在线播放| 亚洲一区二区在线| 国产一区二区三区久久久久久久久| 亚洲国产一区二区三区在线播| 欧美一区国产一区| 欧美一区2区视频在线观看| 精品电影一区| 国产精品成人va在线观看| 欧美区一区二区三区| 欧美亚洲综合另类| 亚洲黄网站在线观看| 美女国产精品| 欧美日韩卡一卡二| 香港久久久电影| 欧美插天视频在线播放| 午夜欧美大片免费观看| 国产精品美女黄网| 在线精品在线| 亚洲欧美成人综合| 国产精品一级久久久| 欧美三日本三级三级在线播放| 亚洲综合精品一区二区| 亚洲人成人99网站| 在线成人免费视频| 国产一区二区高清视频| 亚洲欧美成人网| 激情六月综合| 一区二区精品国产| 一区二区三区.www| 日韩视频免费看| 99在线精品视频| 中文在线资源观看视频网站免费不卡| 亚洲视频碰碰| 欧美日韩三级| 亚洲免费人成在线视频观看| 亚洲欧美日韩一区二区三区在线观看| 在线亚洲激情| 黄网站色欧美视频| 激情久久久久久久久久久久久久久久| 香港成人在线视频| 久久久水蜜桃| 一区二区三区视频在线看| 女同性一区二区三区人了人一| 黄色精品免费| 亚洲日本国产| 久久久一本精品99久久精品66| 欧美日韩在线直播|