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

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)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區(qū)
    昆明西山國家級風景名勝區(qū)
    昆明旅游索道攻略
    昆明旅游索道攻略
  • NBA直播 短信驗證碼平臺 幣安官網(wǎng)下載 歐冠直播 WPS下載

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

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

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

              亚洲精华国产欧美| 国产精品永久免费视频| 亚洲一区二区三区乱码aⅴ蜜桃女| 国产精品久久久久av免费| 欧美在线视频全部完| 亚洲麻豆视频| 永久555www成人免费| 国产精品久久网| 欧美激情综合色| 嫩草影视亚洲| 久久久久一区二区三区| 亚洲女爱视频在线| 亚洲理论在线观看| 在线观看日韩专区| 国外成人在线视频网站| 国产精品视频免费观看www| 欧美精品亚洲精品| 久久伊伊香蕉| 久久久久久一区| 久久精品成人欧美大片古装| 亚洲一区二区精品在线观看| 亚洲精品麻豆| 最新中文字幕亚洲| 亚洲精品日韩在线| 亚洲精品资源美女情侣酒店| 最新中文字幕亚洲| 亚洲国产婷婷| 亚洲精品免费在线观看| 亚洲精品国产精品乱码不99| 亚洲国产激情| 最新中文字幕一区二区三区| 最新国产成人在线观看| 亚洲人成人一区二区三区| 亚洲人成亚洲人成在线观看图片 | 亚洲国产精品999| 18成人免费观看视频| 亚洲国产精品毛片| 亚洲精一区二区三区| 99riav久久精品riav| 亚洲午夜激情| 欧美在线综合| 美女主播精品视频一二三四| 欧美成人午夜| 欧美午夜a级限制福利片| 国产精品成人午夜| 国产视频久久久久| 亚洲黄色精品| 亚洲免费在线播放| 久久午夜影视| 欧美吻胸吃奶大尺度电影| 国产精品一级| 亚洲高清毛片| 亚洲一区二区四区| 久久久久久一区| 欧美激情一区二区三区全黄| 国产精品五月天| 亚洲国产人成综合网站| 亚洲一品av免费观看| 久久久91精品国产一区二区精品| 欧美福利一区二区| 国产精品日日做人人爱| 在线免费不卡视频| 亚洲综合不卡| 欧美激情在线播放| 国产色视频一区| 亚洲视频精品| 欧美.www| 国内成人精品2018免费看| 亚洲精品小视频| 久久免费偷拍视频| 国产精品久久国产三级国电话系列| 韩国一区二区在线观看| 亚洲一区二区三区色| 欧美va天堂在线| 国色天香一区二区| 欧美一区午夜视频在线观看| 欧美日韩国产三级| 在线看视频不卡| 午夜视频一区| 国产精品草草| 在线中文字幕不卡| 欧美精品成人一区二区在线观看 | 国产一区二区电影在线观看 | 国产日韩欧美在线播放不卡| 日韩一二三区视频| 久久亚洲图片| 伊人成人网在线看| 欧美在线视频观看| 国产精品一区一区| 亚洲一区二区三区视频| 欧美日本三级| 日韩一区二区免费高清| 农夫在线精品视频免费观看| 一区二区亚洲欧洲国产日韩| 欧美诱惑福利视频| 国产亚洲精品高潮| 久久精品国产第一区二区三区最新章节| 欧美日韩一区二区视频在线观看| 亚洲精品欧美极品| 欧美日韩美女在线| 亚洲综合激情| 国产视频自拍一区| 久久久久久久久久久久久9999| 国产亚洲欧洲997久久综合| 欧美呦呦网站| 一区二区在线看| 免费影视亚洲| 9i看片成人免费高清| 国产精品美女诱惑| 欧美在线视频网站| 亚洲日本欧美在线| 欧美日韩综合在线| 欧美综合国产| 亚洲激情在线播放| 国产精品超碰97尤物18| 午夜欧美精品| 亚洲大胆视频| 欧美日韩免费区域视频在线观看| 亚洲午夜精品网| 又紧又大又爽精品一区二区| 免费日韩av电影| 亚洲一区二区成人| 国外成人免费视频| 欧美日韩精品不卡| 久久国产一区二区三区| 亚洲人成在线影院| 国产欧美一区二区三区久久人妖 | 免费一级欧美在线大片| 亚洲一区二区在线视频| 韩国在线视频一区| 欧美日韩一区二区三区| 久久精品视频在线看| 日韩一级大片在线| 激情综合亚洲| 国产精品区二区三区日本| 老司机午夜精品视频在线观看| 亚洲无亚洲人成网站77777| 激情小说亚洲一区| 国产精品久久国产精品99gif| 久久夜色精品国产欧美乱| 亚洲一区二区视频| 亚洲国产精品女人久久久| 国产日韩在线一区二区三区| 欧美日韩国产限制| 蜜桃久久av一区| 久久成人综合视频| 亚洲专区一区二区三区| 日韩视频永久免费| 在线免费观看日韩欧美| 国产综合色精品一区二区三区| 欧美午夜不卡视频| 欧美精品在线极品| 美日韩丰满少妇在线观看| 久久国产天堂福利天堂| 性xx色xx综合久久久xx| 亚洲综合大片69999| 亚洲天堂黄色| 中文国产成人精品| 亚洲乱码国产乱码精品精可以看| 亚洲国产精品久久久久| 在线成人免费观看| 亚洲成色www8888| 136国产福利精品导航网址| 黄色成人av网站| 国内精品久久久久影院 日本资源| 国产精品青草综合久久久久99| 国产精品久久久久久福利一牛影视| 欧美日韩成人在线| 欧美午夜精品理论片a级按摩 | 欧美日韩中文在线| 欧美日韩专区在线| 欧美日韩在线三区| 国产精品久久999| 国产视频久久| 精品成人在线视频| 亚洲国产精品一区二区尤物区| 亚洲韩国青草视频| 亚洲三级电影在线观看| 亚洲美女91| 亚洲综合好骚| 久久久不卡网国产精品一区| 久久一区二区视频| 欧美激情亚洲自拍| 国产精品国产三级国产普通话蜜臀| 国产精品入口尤物| 国产一区二区三区观看| 亚洲国产日韩欧美在线动漫| 亚洲国产天堂久久国产91| 一区二区三区日韩精品视频| 亚洲欧美激情在线视频| 久久在线免费观看视频| 欧美另类极品videosbest最新版本| 国产精品福利网| 好男人免费精品视频| 日韩午夜黄色| 久久激情五月丁香伊人| 欧美成人自拍| 国产亚洲欧美激情| 99热免费精品在线观看| 久久激情中文|