久久久久久精品无码人妻_青春草无码精品视频在线观_无码精品国产VA在线观看_国产色无码专区在线观看

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ī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:ACS61012代寫、MATLAB編程語(yǔ)言代做
  • 下一篇:IEMS 5730代做、c++,Java語(yǔ)言編程代寫
  • 無(wú)相關(guān)信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲(chóng)
    油炸竹蟲(chóng)
    酸筍煮魚(yú)(雞)
    酸筍煮魚(yú)(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚(yú)
    香茅草烤魚(yú)
    檸檬烤魚(yú)
    檸檬烤魚(yú)
    昆明西山國(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

    久久久久久精品无码人妻_青春草无码精品视频在线观_无码精品国产VA在线观看_国产色无码专区在线观看

    粉色视频免费看| 国产视频一区二区三区在线播放| 国产97色在线 | 日韩| 黄色网络在线观看| 欧美精品成人网| 欧美一级免费播放| 在线观看日本www| 国产精品乱码久久久久| 久久av高潮av| 在线免费黄色小视频| 无人在线观看的免费高清视频 | 免费观看亚洲视频| 一级片视频免费观看| 国产资源在线视频| xxxxxx在线观看| www.欧美激情.com| 日韩一级理论片| 黄色片视频在线免费观看| 免费网站永久免费观看| 异国色恋浪漫潭| 国模私拍视频在线观看| 午夜激情福利在线| 男人靠女人免费视频网站| 国产乱淫av片杨贵妃| 天天综合五月天| 在线视频一二区| 热久久久久久久久| www.夜夜爽| 天天操天天爱天天爽| 无码人妻h动漫| 无码aⅴ精品一区二区三区浪潮| 日本黄色片一级片| 欧美这里只有精品| 成人免费a级片| 黄网站色视频免费观看| 欧美一级黄色录像片| 国产对白在线播放| 国产手机视频在线观看| 手机在线观看日韩av| 在线播放 亚洲| 在线观看视频黄色| 老司机午夜网站| 国内自拍中文字幕| 日韩国产小视频| 日韩xxxx视频| 俄罗斯av网站| 久章草在线视频| av无码精品一区二区三区| 国产九九在线视频| 亚洲xxx在线观看| 91大神免费观看| 国产午夜精品视频一区二区三区| 国内自拍中文字幕| 日韩精品 欧美| 免费日韩视频在线观看| av网址在线观看免费| 污版视频在线观看| 久久人人爽人人片| 国产曰肥老太婆无遮挡| 黄页网站大全在线观看| 日韩无套无码精品| 嫩草视频免费在线观看| 女女同性女同一区二区三区按摩| 久久亚洲a v| 女人扒开屁股爽桶30分钟| mm1313亚洲国产精品无码试看| 久久撸在线视频| 偷拍盗摄高潮叫床对白清晰| av影院在线播放| 欧美日韩在线中文| 一个色综合久久| 粉嫩av一区二区三区天美传媒| 日韩av高清在线看片| 99久久国产宗和精品1上映| 国产乱女淫av麻豆国产| 无码人妻精品一区二区蜜桃百度| 99视频在线免费播放| 波多野结衣天堂| 男女h黄动漫啪啪无遮挡软件| 日韩视频免费播放| 日日噜噜噜噜久久久精品毛片| 国内av免费观看| 欧美 国产 综合| 日韩在线不卡一区| 亚洲色欲久久久综合网东京热| 黄在线观看网站| 欧美视频国产视频| 成人在线观看你懂的| 日本特黄a级片| 日本人妻伦在线中文字幕| 别急慢慢来1978如如2| 亚洲av综合色区| 毛葺葺老太做受视频| 色一情一乱一乱一区91| 日本成人中文字幕在线| 日韩人妻一区二区三区蜜桃视频| 欧美成人黑人猛交| 白白操在线视频| 黄色手机在线视频| 久久亚洲中文字幕无码| 欧美在线a视频| 欧美视频第三页| 成人小视频在线观看免费| mm131亚洲精品| 黄网站欧美内射| 中文字幕第22页| 激情网站五月天| 男人的天堂avav| 欧美性受xxxxxx黑人xyx性爽| 日日橹狠狠爱欧美超碰| 国产成年人在线观看| 日韩免费高清在线| 精品视频在线观看一区| 免费观看黄色大片| chinese少妇国语对白| h无码动漫在线观看| www.日本久久| 91极品尤物在线播放国产| 国产成人在线免费看| 亚洲国产一二三精品无码| 狠狠干狠狠操视频| 四虎永久在线精品无码视频| 免费不卡av在线| 超级碰在线观看| 在线观看av免费观看| 性chinese极品按摩| 无码人妻h动漫| 久久亚洲中文字幕无码| 丁香色欲久久久久久综合网| 国产大片一区二区三区| 亚洲国产精品三区| 久热免费在线观看| 国产极品尤物在线| 青青青青在线视频| 成年人深夜视频| 欧美日韩午夜爽爽| 成年人黄色在线观看| 99视频在线观看视频| 中文字幕 91| a在线观看免费视频| 91日韩视频在线观看| 91最新在线观看| 日本新janpanese乱熟| 超碰影院在线观看| 国内外免费激情视频| 人妻有码中文字幕| 丰满少妇被猛烈进入高清播放| av免费看网址| 狠狠干 狠狠操| 欧美视频在线播放一区| 中文字幕日本最新乱码视频| www黄色日本| www黄色av| 日本美女高潮视频| 手机在线免费观看毛片| 男女视频在线看| 亚洲怡红院在线| 国产91av视频在线观看| 欧美xxxx吸乳| 欧美乱做爰xxxⅹ久久久| 可以看毛片的网址| 尤物av无码色av无码| 欧美日韩第二页| 丰满少妇在线观看| 中文字幕永久有效| av在线网站免费观看| 亚洲天堂第一区| 日本手机在线视频| 国产精品视频一区二区三区四区五区| 国产aaa一级片| 美女网站色免费| 大地资源第二页在线观看高清版| 51xx午夜影福利| 欧美 日韩 国产 高清| 凹凸日日摸日日碰夜夜爽1| 国产一区二区在线免费播放| 午夜精品久久久久久久99热影院| 中文字幕第三区| 国产传媒久久久| 成人黄色片视频| 中文字幕 欧美日韩| 国产在线无码精品| 国产精品va无码一区二区| 国产精品igao| 黄色网址在线免费看| 日韩小视频在线播放| 天天操天天爽天天射| 九九九九九九九九| 久久人人爽人人爽人人av| 欧美成人黑人猛交| 91丝袜超薄交口足| 久久艹国产精品| 在线观看免费成人av| 精品国产一区二区三区在线| 午夜肉伦伦影院| 国产一区二区在线观看免费视频| 国产精品69久久久| www.日本一区| 久久精品xxx| 中文字幕国产免费|