精品深夜AV无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕

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无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕
    <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
    <ul id="e4iaa"></ul>
    <blockquote id="e4iaa"><tfoot id="e4iaa"></tfoot></blockquote>
    • <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
      <ul id="e4iaa"></ul>
      <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp><ul id="e4iaa"></ul>
      <ul id="e4iaa"></ul>
      <th id="e4iaa"><menu id="e4iaa"></menu></th>
      国产 日韩 欧美 综合| 一本到在线视频| 中文字幕你懂的| 精品无码免费视频| 国产精品玖玖玖| 国产91精品一区| 日本久久久久久久久久| 国产福利短视频| 最近中文字幕av| 亚洲黄色一级大片| 五月天婷婷视频| 五月色婷婷综合| 视频免费1区二区三区| 欧美 日韩 国产 成人 在线| av大片免费在线观看| 午夜影院在线看| 26uuu国产| 成人不卡免费视频| 国产亚洲第一页| 久久一级免费视频| 日韩电影在线观看一区二区| 日韩一级理论片| 亚洲av网址在线| 亚洲精品久久一区二区三区777| 中文字幕亚洲高清| 成人小视频免费看| 精品成人无码久久久久久| 免费无码毛片一区二区app| 国产精品久久久久久久久久久久久久久久 | 欧美日韩一区二区三区69堂| 婷婷色一区二区三区| 亚洲欧美一区二区三区不卡| 国产免费黄色大片| 天天色综合天天色| 久国产精品视频| 91香蕉视频免费看| 日韩欧美在线视频播放| 96亚洲精品久久久蜜桃| 九一精品久久久| 性刺激的欧美三级视频| 国产一区二区视频在线观看免费| 少妇人妻一区二区| 久久久www成人免费毛片| 国产探花在线免费观看| 国产精品手机在线观看| 人人妻人人澡人人爽久久av| 加勒比在线一区| 国产精品一区二区在线免费观看 | 国产精品乱码一区二区| 中文字幕一二三四区| 久久久久久蜜桃一区二区| 亚洲熟女一区二区| 国产激情av在线| 天堂av一区二区三区| 中文字幕久久久久| 日韩人妻无码精品综合区| 久久久久精彩视频| 激情五月深爱五月| 毛片在线免费视频| 日韩av片专区| 中文字幕在线视频一区二区| 亚洲熟妇无码久久精品| 国产精品久久久久久久久久久久久久久久久久 | 国产女人18毛片水真多18| 亚洲国产成人精品女人久久 | 中文字幕欧美人妻精品| 亚洲第一页视频| 亚洲午夜精品久久久久久高潮| 久久精品www| 97人妻精品一区二区三区软件| 五月婷中文字幕| 国产伦精品一区二区三区视频女| 日本黄色一级网站| 成人免费一区二区三区| 中文字幕观看av| 香港三日本三级少妇66| 日本中文字幕精品| 国产美女精品久久| av天堂一区二区| 国产精品国产三级国产aⅴ| 日韩激情小视频| 一级全黄少妇性色生活片| 免费一级片视频| 亚洲精品国产精品乱码 | 日本一区二区三区久久| 伊人网综合视频| 九九热只有精品| 精品人妻无码一区二区色欲产成人 | 中文字幕一区二区三区人妻在线视频| 国产有码在线观看| 天堂在线中文网| 亚洲另类欧美日韩| 久久久午夜精品福利内容| 凸凹人妻人人澡人人添| 久久国产柳州莫菁门| 国产激情视频在线播放| 一级特黄免费视频| 国产免费不卡av| 蜜桃在线一区二区| 在线免费av网| 亚洲精品国产精品乱码不卡| 欧美性猛交xxxx乱大交91| 日韩无码精品一区二区| 中文字幕+乱码+中文字幕明步| 久久久久久国产精品日本| 色婷婷中文字幕| 日韩av免费播放| 黑丝av在线播放| 久久精品女同亚洲女同13| 中文字幕一区二区三区手机版| 91成人一区二区三区| 亚洲综合123| www.av网站| 久久久无码一区二区三区| 老司机精品免费视频| 香蕉视频久久久| 四季av综合网站| 五月激情丁香婷婷| 久久人人爽人人爽人人| 亚洲精品国产片| 五月婷婷在线播放| 国产成人麻豆免费观看| 精品成人无码久久久久久| 中文字幕av网址| 久久免费看少妇高潮v片特黄| 天天操天天干天天操天天干| 日本一区二区网站| 国产免费久久久久| 一级黄色片网站| 国产成人精品av久久| 天堂av免费在线| 亚洲第一中文av| 五月婷婷免费视频| 亚洲欧美国产中文| 中文乱码字幕高清一区二区| 鲁一鲁一鲁一鲁一av| 国产精品探花一区二区在线观看| www.久久精品.com| 国产一区二区三区四区在线 | 日本熟女一区二区| 漂亮人妻被黑人久久精品| 精品久久久久成人码免费动漫| 国产亚洲自拍av| 亚洲精品国产精品国自| 久久免费精品国产| 成人午夜精品无码区| 亚洲 欧美 视频| 男人天堂视频在线| 国产黄色一级大片| 91极品视频在线观看| 无码人妻av免费一区二区三区 | www.com.av| 久久久无码人妻精品无码| 91超薄丝袜肉丝一区二区| 欧美精品日韩在线| caoporn国产| 一级黄色录像毛片| 亚洲欧美自拍视频| 中文字幕一区二区人妻视频| 欧美亚洲精品天堂| 强迫凌虐淫辱の牝奴在线观看| 国产在线观看成人| 国产一级做a爰片久久| 国产一区二区视频免费观看| 精品99久久久久成人网站免费| www欧美com| 草草地址线路①屁屁影院成人| 日本熟女一区二区| 欧美福利视频一区二区| 日本久久久久久久久久久久| 日本韩国欧美中文字幕| 天天干天天插天天射| 亚洲激情 欧美| 丰满少妇高潮久久三区| 国产毛片毛片毛片毛片| 欧洲成人午夜精品无码区久久| 美女网站色免费| 亚洲综合婷婷久久| 久久综合亚洲色hezyo国产| 少妇高潮一区二区三区69| 亚洲一区二区天堂| 日本中文在线播放| 91中文字幕永久在线| 欧美日韩人妻精品一区二区三区| 亚洲欧洲视频在线观看| 日韩精品视频免费播放| 国精产品一区一区二区三区mba| 香蕉久久久久久av成人| 青青草华人在线视频| 国产福利久久久| 国产精品怡红院| 日本精品一二三区| 日本黄色一级网站| 日韩三级视频在线播放| 国产女人18毛片水真多| 精品人妻一区二区三区日产乱码| 夜夜骚av一区二区三区| 国产www在线| 免费观看成人毛片| 亚洲色偷偷综合亚洲av伊人|