合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

        CS209A編程代寫、代做Java語言程序
        CS209A編程代寫、代做Java語言程序

        時(shí)間:2024-10-23  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



        A1.md 2024-09-29
        1 / 3
        [CS209A-24Fall] Assignment 1 (100 points)
        This summer, we've enjoyed the Olympic Games Paris 2024. Many of us are still reliving the exciting moments
        of the summer Olympics, and many of us may be interested in the event of past Olympics and the past
        performance of our favorite athletes.
        In this assignment, we provide a large dataset of Olympic games from 1896 to 2022. The dataset contains
        athlete bio and athlete-event data, including both team and individual sports, from all Winter/Summer
        Olympics (1896-2022). The dataset contains 6 csv, with the following relation:
        The data should be self-explanatory. Please check the column name and the above diagram carefully to
        understand the data.
        Analysis of the Olympic Historical Dataset
        In this assignment, you will design an OlympicsAnalyzer class, which could read the dataset and perform
        various useful analyses. You are encouraged to use the Java features we recently introduced, such as
        Collections, Lambda, and Streams, whenever possible.
        The OlympicsAnalyzer class has one constructor that reads a dataset file from a given path.
        public OlympicsAnalyzer(String datasetPath)
        This class also has 5 other methods that perform data analyses. You'll implement these methods in the
        OlympicsAnalyzer class. Method details are described below.
        1. Top 10 Performant Female Athletes in Individual Sport
        public Map<String, Integer> topPerformantFemale()A1.md 2024-09-29
        2 / 3
        This method returns a <name, count> map of size 10, where:
        the key is the name of the female athlete.
        the value is the total gold medals acquired by that female athlete in individual sport (i.e., not team
        sport).
        The map should be sorted by the descending order of count (i.e., from most to the least). If two athletes
        have the same gold medal count, then they should be sorted by the alphabetical order of the name.
        2. BMI by Sports
        public Map<String, Float> bmiBySports()
        This method returns a <sport, BMI> map, where:
        the key is the sport name (e.g., Athletics, Boxing, Diving, etc.)
        the value is the average BMI of the athletes of that sport. BMI is computed as weight/(height x
        height) where the unit of height is the meter. The average BMI should be rounded to one decimal
        place.
        You should consider all athletes with valid height and weight in our data. The athlete should also have
        participated in any Olympic events so that we know the sport type of that athlete.
        The map should be sorted by the descending order of average BMI (i.e., from highest to lowest). If two
        sports have the same average BMI, then they should be sorted by the alphabetical order of the sport name.
        3. Top 10 Least Appeared Summer Sports
        public Map<String, Set<Integer>> leastAppearedSport() 
        This method returns a <sport, set of years> map with a size of 10, where:
        the key is the sport name (e.g., Athletics, Boxing, Diving, etc.)
        the value is set of summer Olympics years in which the sport appears.
        The map should be sorted by the ascending order of the size of the set (i.e., from least appeared to most
        appeared). If two sports have the same occurrences, then they should be sorted by the alphabetical order of
        the sport name.
        4. Top 10 Countries by Medals in Winter Olympics since the year 2000
        public Map<String, Integer> winterMedalsByCountry()
        This method returns a <country, count> map with a size of 10, where:
        the key is the country code.A1.md 2024-09-29
        3 / 3
        the value is the sum of all medals, including gold, silver and bronze, acquired by that country in all
        Winter Olympics since the year 2000 (including 2000).
        The map should be sorted by the descending order of count (i.e., from most to the least). If two countries
        have the same medal count, then they should be sorted by the alphabetical order of the country code.
        5. Top 10 Countries with Young Athletes in 2020 Summer Olympic
        public Map<String, Integer> topCountryWithYoungAthletes()
        This method returns a <country, age> map with a size of 10, where:
        the key is the country name (not country code).
        the value is the average age of the athletes of that country that participate in 2020 Summer Olympic.
        For simplicity, you may ignore the exact month and day and only use the year of birth when computing
        the age. For example, an athlete born in Dec 31 2000 can be considered as of age 20 in 2020. The
        average age should be rounding to the nearest integer.
        Athletes with no born information should be ignored.
        The map should be sorted by the ascending order of average age (i.e., from youngest to oldest). If two
        countries have the same average age, then they should be sorted by the alphabetical order of the country
        name.

        請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

        掃一掃在手機(jī)打開當(dāng)前頁(yè)
      1. 上一篇:代寫CS 551、代做C/C++編程語言
      2. 下一篇:代寫ISAD1000、代做Java/Python程序設(shè)計(jì)
      3. 無相關(guān)信息
        合肥生活資訊

        合肥圖文信息
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        戴納斯帝壁掛爐全國(guó)售后服務(wù)電話24小時(shí)官網(wǎng)400(全國(guó)服務(wù)熱線)
        戴納斯帝壁掛爐全國(guó)售后服務(wù)電話24小時(shí)官網(wǎng)
        菲斯曼壁掛爐全國(guó)統(tǒng)一400售后維修服務(wù)電話24小時(shí)服務(wù)熱線
        菲斯曼壁掛爐全國(guó)統(tǒng)一400售后維修服務(wù)電話2
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國(guó)24小時(shí)客服熱線
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國(guó)24小時(shí)
        海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
        海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
        合肥機(jī)場(chǎng)巴士4號(hào)線
        合肥機(jī)場(chǎng)巴士4號(hào)線
        合肥機(jī)場(chǎng)巴士3號(hào)線
        合肥機(jī)場(chǎng)巴士3號(hào)線
        合肥機(jī)場(chǎng)巴士2號(hào)線
        合肥機(jī)場(chǎng)巴士2號(hào)線
      4. 幣安app官網(wǎng)下載 短信驗(yàn)證碼 丁香花影院

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

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

        主站蜘蛛池模板: 亚洲a∨无码一区二区| 女女同性一区二区三区四区| 日韩人妻精品无码一区二区三区 | 无码日韩精品一区二区人妻| 国产91大片精品一区在线观看| 成人区人妻精品一区二区不卡视频| 色婷婷香蕉在线一区二区| 亚洲AV无码一区东京热| 91福利国产在线观看一区二区| 日韩精品一区二区三区中文3d| 在线精品亚洲一区二区| 91在线看片一区国产| 日本免费一区二区三区四区五六区| 亚洲永久无码3D动漫一区| 国产精品99无码一区二区| 亚洲A∨精品一区二区三区| 国产综合精品一区二区| 亚洲欧美日韩一区二区三区在线| 亚洲国产美国国产综合一区二区| 亚洲毛片αv无线播放一区| 亚洲一区二区三区在线视频| 久久亚洲中文字幕精品一区| av在线亚洲欧洲日产一区二区| 日韩精品一区二区三区在线观看| 在线视频精品一区| 日本福利一区二区| 麻豆视传媒一区二区三区| 色综合视频一区二区三区| 国产精品被窝福利一区 | 无码人妻av一区二区三区蜜臀 | 日韩精品国产一区| 日韩精品一区二区三区老鸦窝| 韩国女主播一区二区| 免费无码一区二区| 中日韩一区二区三区| 日韩免费无码一区二区三区| 韩国一区二区视频| 国产SUV精品一区二区四| 日韩国产一区二区| 无码人妻久久一区二区三区免费 | 人妻少妇精品视频一区二区三区|