日本欧洲视频一区_国模极品一区二区三区_国产熟女一区二区三区五月婷_亚洲AV成人精品日韩一区18p

COMP 315代寫、Java程序語(yǔ)言代做

時(shí)間:2024-03-12  來(lái)源:  作者: 我要糾錯(cuò)



Assignment 1: Javascript
COMP 315: Cloud Computing for E-Commerce
March 5, 2024
1 Introduction
A common task in cloud computing 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 before formatting the data in a
suitable manner. 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 Problem description
For this task, you have been provided with a raw dataset of user information. You must carry out the following
series of operations:
• Set up a Javascript class in the manner described in Section 4.
• Convert the data into the appropriate format, as highlighted in Section 5
• Fix erroneous values where possible e.g. age being a typed value instead of a number, age being a real
number instead of an integer, etc; as specified in Section 6.
• Produce functions that carry out the queries specified in Section 7.
Data name Note
Title This value may be either: Mr, Mrs, Miss, Ms, Dr, or left blank.
First name Each individual must have one. The first character is capitalised and the rest are lower
case, with the exception of the first character after a hyphen.
Middle name This may be left blank.
Surname Each individual must have one.
Date of birth This must be in the format of DD/MM/YYYY.
Age All data were collected on 26/02/2024, and the age values should reflect this.
Email The format should be [first name].[surname]@example.com. If two individuals have the
same address then an ID is added to differentiate them eg john.smith1, john.smith2, etc
Table 1: The attributes that should be stored for each user
1
4 Initial setup
Create a Javascript file called Data P rocessing.js. Create a class within that file called Data P rocessing.
Write a function within that class called load CSV that takes in the filename of a csv file as an input, eg
load CSV (”User Details”). The resulting data should be saved locally within the class as a global variable
called raw user data. Write a function called format data, which will have no variables are a parameter. The
functionality of this method is described in Section 5. Write a function called clean data, which will also have
no parameters. The functionality of this method is similarly described in Section 6.
5 Format data
Within the function format data, the data stored within raw user data should be processed and output to
a global variable called formatted user data. The data are initially provided in the CSV format, with the
delimiter being the ’,’ character. The first column of the data is the title and full name of the user. The second
and third columns are the date of birth, and age of the user, respectively. Finally, the fourth column is the
email of the user. Ensure that the dataset is converted into the appropriate format, outlined in Table 1. This
data should be saved in the JSON format (you may use any built in JavaScript method for this). The key for
each of the values should be names shown in the ’Data name’ column, however converted to lower case with an
underscore instead of a space character eg ’first name’.
6 Data cleaning
Within the function clean data, the data cleaning tasks should be carried out, loading the data stored in
formatted user data. All of this code may be written within the clean data function, or may be handled by
a series of functions that are called within this class. The latter option is generally considered better practice.
Examine the data in order to determine which values are in the incorrect format or where values may be missing.
If a value is in the incorrect format then it must be converted to be in the correct format. If a value is missing or
incorrect, then an attempt should be made to fill in that data given the other values. The cleaned data should
be saved into the global variable cleaned user data.
7 Queries
Often, once the data has been processed, we perform a series of data analysis tasks on the cleaned data. Each
of these queries are outlined in Table 2. Write a function with the name given in the ’Function name’ column,
that carries out the query given in the corresponding ’Query description’. The answer should be returned by
the function, and not stored locally or globally.
Function name Query description
most common surname What is the most common surname name?
average age What is the average age of the users, given the values stored in the ’age’ column?
This should be a real number to 3 significant figures.
youngest dr Return all of the information about the youngest individual in the dataset with
the title Dr.
most common month What is the most common month for individuals in the data set?
percentage titles What percentage of the dataset has each of the titles? Return this in the form
of an array, following the order specified in the ’Title’ row of Table 1. This
should included the blank title, and the percentage should be rounded to the
請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codehelp 

標(biāo)簽:

掃一掃在手機(jī)打開當(dāng)前頁(yè)
  • 上一篇:ACS61012代寫、MATLAB編程語(yǔ)言代做
  • 下一篇:IEMS 5730代做、c++,Java語(yǔ)言編程代寫
  • 無(wú)相關(guān)信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國(guó)家級(jí)風(fēng)景名勝區(qū)
    昆明西山國(guó)家級(jí)風(fēng)景名勝區(qū)
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗(yàn)證碼平臺(tái) 理財(cái) WPS下載

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

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

    日本欧洲视频一区_国模极品一区二区三区_国产熟女一区二区三区五月婷_亚洲AV成人精品日韩一区18p

              9000px;">

                        国产成人午夜高潮毛片| 欧美日韩黄视频| 色噜噜狠狠色综合中国| 欧美日韩日本视频| 国产校园另类小说区| 亚洲乱码精品一二三四区日韩在线 | 欧美男女性生活在线直播观看| 精品国产三级电影在线观看| 亚洲欧美日韩在线| 国内外成人在线| 欧洲亚洲国产日韩| 国产精品乱子久久久久| 麻豆国产精品一区二区三区| 在线免费观看日韩欧美| 国产精品欧美综合在线| 韩国成人在线视频| 欧美日韩国产系列| 亚洲三级在线看| 国产传媒一区在线| 日韩免费在线观看| 亚洲bdsm女犯bdsm网站| 97久久超碰精品国产| 久久久久久久性| 免费一级片91| 欧美精品高清视频| 亚洲成人av福利| 在线亚洲一区二区| 国产丝袜美腿一区二区三区| 青青草国产精品97视觉盛宴| 欧美性受xxxx黑人xyx| 亚洲人123区| 99国产精品久| 国产日韩欧美精品在线| 国产精品一品视频| 久久久青草青青国产亚洲免观| 免费成人美女在线观看.| 欧美日韩一区二区不卡| 亚洲国产一区二区视频| 日本韩国欧美在线| 欧美mv日韩mv国产网站app| 美腿丝袜亚洲一区| 精品99一区二区三区| 国产一区在线观看视频| 精品国产乱码久久久久久浪潮| 国产一区二区成人久久免费影院| 久久这里只有精品6| 国产一区二区不卡在线| 久久久久久久久久久久久夜| 风流少妇一区二区| 成人欧美一区二区三区黑人麻豆 | 亚洲mv在线观看| 日韩一区二区三| 精品一区二区三区在线视频| 精品久久国产老人久久综合| 国产精品99久久久久| 国产精品久久久久久久蜜臀| 91日韩精品一区| 亚洲一本大道在线| 欧美日韩国产大片| 国产一区二区三区四| 亚洲国产激情av| 色婷婷香蕉在线一区二区| 天堂精品中文字幕在线| 精品国产区一区| 91丨九色丨黑人外教| 亚洲成av人综合在线观看| 欧美成人三级电影在线| 成人黄色在线视频| 午夜天堂影视香蕉久久| 欧美精品一区二区三区蜜桃视频| 成人黄色小视频| 亚洲与欧洲av电影| 精品久久人人做人人爰| 不卡一区二区三区四区| 日韩精品一区第一页| 国产欧美一区二区精品性色超碰 | 日韩你懂的在线播放| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 精品一区二区三区免费| 亚洲人成网站精品片在线观看| 3d动漫精品啪啪1区2区免费| 成人性生交大片免费看视频在线 | 国产精品你懂的| 欧美肥妇毛茸茸| 欧美在线观看禁18| 韩国女主播成人在线| 亚洲成人www| 欧美国产一区视频在线观看| 91精品麻豆日日躁夜夜躁| aaa亚洲精品| 精品一区二区在线视频| 午夜国产精品影院在线观看| 国产精品久久久久久久久免费相片 | 久久中文字幕电影| 欧美二区三区的天堂| 91亚洲国产成人精品一区二区三| 精彩视频一区二区三区| 亚洲午夜av在线| 亚洲视频 欧洲视频| 精品国产伦一区二区三区观看方式 | 久久精品夜色噜噜亚洲a∨| 欧美日韩你懂得| 色婷婷av久久久久久久| 不卡一区二区在线| 懂色av一区二区三区蜜臀| 国内精品伊人久久久久影院对白| 亚洲动漫第一页| 亚洲国产视频a| 亚洲蜜桃精久久久久久久| 国产精品污www在线观看| 久久亚洲一级片| 欧美电影免费观看高清完整版在| 欧美日韩在线播放一区| 91美女在线看| 9人人澡人人爽人人精品| 国产91富婆露脸刺激对白| 国产乱人伦精品一区二区在线观看 | 国产精品你懂的| 国产精品成人免费在线| 国产精品青草综合久久久久99| 久久综合av免费| 久久久亚洲高清| 国产精品五月天| 亚洲三级免费电影| 亚洲男人天堂一区| 伊人婷婷欧美激情| 亚洲国产欧美在线| 天天色图综合网| 久久99久久精品| 国产精品一区二区三区四区| 成人精品国产一区二区4080| 成人av午夜影院| 在线欧美一区二区| 欧美精品三级日韩久久| 欧美一卡2卡3卡4卡| 欧美成人aa大片| 国产日产欧产精品推荐色| 国产精品网曝门| 伊人色综合久久天天人手人婷| 亚洲一区二区黄色| 青椒成人免费视频| 国产成人综合在线| 色88888久久久久久影院野外| 欧美日本国产一区| 精品国产免费视频| 亚洲三级理论片| 久久精品国产99国产精品| 岛国av在线一区| 欧美日韩小视频| 精品成人一区二区三区四区| 亚洲欧洲一区二区在线播放| 日韩高清欧美激情| 国产成人免费在线视频| 91黄色免费版| 久久精品视频一区二区三区| 亚洲精品视频在线看| 精品一区二区三区av| 色综合中文字幕| 中文字幕色av一区二区三区| 一区二区三区四区视频精品免费 | 亚洲国产精品久久人人爱| 韩国视频一区二区| 欧美色偷偷大香| 久久无码av三级| 亚洲va欧美va国产va天堂影院| 国产精品 日产精品 欧美精品| 欧美在线观看18| 中文字幕av在线一区二区三区| 日本在线不卡一区| 91首页免费视频| 精品久久国产字幕高潮| 亚洲第一福利一区| 91亚洲资源网| 国产亚洲一区二区三区| 日韩精品午夜视频| 欧美最猛黑人xxxxx猛交| 欧美激情一区二区三区不卡| 毛片不卡一区二区| 欧美最新大片在线看| 亚洲欧洲国产日韩| 国产成人精品免费看| 日韩一级精品视频在线观看| 亚洲国产wwwccc36天堂| 成人午夜激情在线| 久久伊人蜜桃av一区二区| 免费人成精品欧美精品| 欧美日韩一级片在线观看| 一区二区三区中文在线| 99久久精品费精品国产一区二区| 国产网红主播福利一区二区| 久久99国产精品成人| 欧美一区二区三区四区视频| 亚洲夂夂婷婷色拍ww47| 99天天综合性| 亚洲日本免费电影| 91在线丨porny丨国产| 国产精品国产成人国产三级| 成人黄色电影在线 | 91福利社在线观看| 一区二区三区日本|