亚洲十八**毛片_亚洲综合影院_五月天精品一区二区三区_久久久噜噜噜久久中文字幕色伊伊 _欧美岛国在线观看_久久国产精品毛片_欧美va在线观看_成人黄网大全在线观看_日韩精品一区二区三区中文_亚洲一二三四区不卡

COMP 315代寫、Java程序語言代做

時間:2024-03-12  來源:  作者: 我要糾錯



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
請加QQ:99515681  郵箱:99515681@qq.com   WX:codehelp 

標簽:

掃一掃在手機打開當前頁
  • 上一篇:ACS61012代寫、MATLAB編程語言代做
  • 下一篇:IEMS 5730代做、c++,Java語言編程代寫
  • 無相關信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗證碼平臺 理財 WPS下載

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

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    欧美私人网站| 精品国产三级a在线观看| 在线播放/欧美激情| 992tv在线观看| 日本孕妇大胆孕交无码| 国产欧美一区二区三区米奇| 亚洲高清资源| 久久久精品影视| 欧美日韩高清一区| 国产日本在线视频| 外国电影一区二区| 91精品国产麻豆国产在线观看| 久久99久久久欧美国产| 亚洲欧美激情在线| jizzjizzjizz亚洲日本| av成人 com a| 国产精品久久久久久| av色综合久久天堂av综合| 精品成人国产在线观看男人呻吟| 日韩日韩日韩日韩| a成人v在线| 亚洲欧美日韩精品一区二区| 中文字幕制服丝袜成人av| 3d黄动漫网站| www.国产精品| 亚洲女同同性videoxma| 一区二区三区欧美日| 人人超碰在线| 天堂久久av| 国产精品综合在线视频| 欧美三级在线播放| 污污网站在线观看| 亚洲91中文字幕无线码三区| 久久久久久久久久久黄色| 精品国产精品一区二区夜夜嗨| av免费在线视| 91久久午夜| 性做久久久久久| 98在线视频| 91麻豆精品国产91久久久平台| 久久久久久久久久久久久久久99| av网站免费| 在线高清欧美| 国产精品亚洲成人| 日韩一区二区三区在线观看| sis001亚洲原创区| 久久av一区| 欧美性生活一区| 久草免费在线色站| 中国女人久久久| 欧美性感美女h网站在线观看免费| 国产人成网在线播放va免费| 欧美va天堂在线| 精品动漫一区二区| 大香伊人中文字幕精品| 先锋影音久久久| 欧美日韩一区二区三区在线| 香蕉视频亚洲一级| 国产成人午夜电影网| 天天操夜夜操天天射| crdy在线观看欧美| 91在线小视频| 免费在线超碰| 亚洲综合小说| 91黄色免费观看| 国产私拍福利精品视频二区| 国产成都精品91一区二区三| 91嫩草在线播放| 国精一区二区| 亚洲成人激情自拍| 日韩伦理在线一区| 成人av资源在线| 天堂影院在线| 国产精品啊v在线| 欧美美女喷水视频| 亚洲高清在线一区| 国产欧美精品一区aⅴ影院| 亚洲精品承认| 免费一级片91| 中文字幕日产av一二三区| 欧美大片aaaa| 欧美日韩一区二区三区不卡| 欧美经典一区| 一区二区三区中文字幕精品精品 | 亚洲综合图片| 亚洲综合专区| 精品电影一区二区| 成人影视亚洲图片在线| 色成人在线视频| 午夜日韩影院| 亚洲午夜电影在线| 精品免费av一区二区三区| 久久久久久久网| 91老司机福利在线| 99久久婷婷国产| 99在线视频观看| 国产原创一区二区三区| 欧美色18zzzzxxxxx| 日韩av成人高清| 神马久久精品| 日韩专区欧美专区| 中文字幕在线视频网| 久久福利毛片| 视频午夜在线| 久久国产精品色婷婷| yiren22亚洲综合伊人22| 久久99精品久久久| 自拍视频在线播放| 成人的网站免费观看| 青青草视频在线免费直播| 91小视频在线免费看| av成人 com a| 亚洲女人****多毛耸耸8| 国产精品亚洲成在人线| 亚洲一二三区视频在线观看| 欧美日韩黄网站| 91国产视频在线观看| 精品国产精品久久一区免费式 | 91社区在线观看播放| 国产在线看一区| 含羞草www国产在线视频| 99re热视频精品| 日本综合视频| 偷拍亚洲欧洲综合| 亚洲+变态+欧美+另类+精品| 欧美一区在线视频| 亚洲激情女人| 韩国三级在线观看久| 成人性视频免费网站| 久草在线资源站手机版| 一区二区在线观看视频| 林ゆな中文字幕一区二区| 日韩一区和二区| 一本色道久久综合亚洲精品不卡 | 国产欧美日韩在线看| 91精品麻豆| 在线播放国产精品二区一二区四区| 国产精品porn| 97视频精彩视频在线观看| 久久久久久久电影| 亚洲精品自拍| 欧美一级黄色大片| 日韩—二三区免费观看av| 在线观看三级视频| 亚洲一本大道在线| 999久久久精品国产| 污网站在线看| 国产欧美日韩不卡| 欧美毛片免费观看| 500福利第一精品导航| 97久久超碰国产精品电影| 欧美大片91| 99热免费在线| 国产成人精品一区二区三区网站观看| 美女100%一区| 欧美一区午夜精品| 国产在线精品一区二区夜色| 在线欧美激情| 国产真实生活伦对白| 成人avav在线| 北条麻妃一区二区三区在线| 德国一级在线视频| 91日韩精品一区| 校花撩起jk露出白色内裤国产精品| 日韩精品网站| 图片婷婷一区| 91麻豆福利| www.亚洲人| 日韩av不卡一区| 在线观看av每日更新免费| 国产亚洲综合在线| 牲欧美videos精品| 国产在线导航| 一区在线播放视频| 欧美特黄一区| 伊人久久av| 又黄又爽又色视频| 欧美国产视频在线| 永久亚洲成a人片777777| 欧美女同一区| 538在线一区二区精品国产| 国产黄色精品网站| 偷拍视屏一区| 在线日本视频| 欧美美女黄视频| 91蜜桃网址入口| 欧美hentaied在线观看| 黄页网站大全在线免费观看| 欧美一区二区国产| 2024国产精品| 亚洲精品久久| 欧美大胆性生话| 中文字幕av网| 午夜精品久久久久| 国内精品久久久久影院色| 九九免费精品视频在线观看| 成人影院在线看| 精品欧美乱码久久久久久1区2区| 国产欧美日韩在线看| 久久久久久亚洲精品杨幂换脸|