国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

CS 04450代寫、代做Java編程設計

時間:2024-05-20  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯


CS 04450代寫、代做Java編程設計
Coursework: SCUPI+, A Java Application for Film Query
CS 04450 Data Structure, Department of Computer Science, SCUPI
Spring 2024
This coursework sheet explains the work in details. Please read the instructions carefully and
follow them step-by-step. For submission instructions, please read the Sec. 4. If you have any
queries regarding the understanding of the coursework sheet, please contact the TAs or the
course leader. Due on: 23:59 PM, Wednesday, June 5th.
1 Introduction
A developer of a new Java application has asked for your help in storing a large amount of fflm data
efffciently. The application, called SCUPI+, is used to present data and fun facts about fflms, the
cast and crew who worked on them, and some ratings the developer has gathered in there free time.
However, because the developer hasn’t taken the module, they don’t want to design how the data is
stored.
Therefore, this coursework and the task that the developer has left to you, is to design one or more
data structures that can efffciently store and search through the data. The data consists of 3 separate
ffles:
• Movie Metadata: the data about the fflms, including there ID number, title, length, overview
etc.
• Credits: the data about who stared in and produced the fflms.
• Ratings: the data about what different users thought about the fflms (rated out of 5 stars), and
when the user rated the fflm.
To help out, the developer of SCUPI+ has provided classes for each of these. Each class has been
populated with functions with JavaDoc preambles that need to be fflled in by you. As well as this,
the developer has also tried to implement the MyArrayList data structure into a 4th dataset (called
Keywords), to show you where to store your data structures and how they can be incorporated into
the pre-made classes. Finally, the developer has left instructions for you, which include how to build,
run and test you code; and the ffle structure of the application (see Sec. 3).
Therefore, your task is to implement the functions within the Movies, Credits and Ratings classes
through the use of your own data structures.
2 Guidance
First, don’t panic! Have a read through the documentation provided in Sec. 3. This explains how to
build and run the application. This can be done without writing anything, so make sure you can do
that ffrst.
Then you can have a look at the comments and functions found in the Movies, Credits and
Ratings classes. The location of these is described in Sec. 3.5.2. Each of the functions you need to
implement has a comment above it, describing what it should do. It also lists each of the parameters
1for the function (lines starting with @param), and what the function should return (lines starting with
@return).
When you are ready to start coding, We would recommend starting off with the Rating class
ffrst. This is because it is smallest of the 3 required, and is also one of the simplest. When you have
completed a function, you can test it using the test suit described in Sec. 3.5.3. More details about
where the code for the tests are can be found in Sec. 3.4.
3 SCUPI+
SCUPI+ is a small Java application that pulls in data from a collection of Comma Separated Value
(CSV) ffles. It is designed to have a lightweight user interface (UI), so that users can inspect and
query the data. The application also has a testing suit connected to it, to ensure all the functions
work as expected. The functions called in the SCUPI+ UI are the same as those called in the testing,
so if the tests work, the UI will also work.
3.1 Required Software
For the SCUPI+ to compile and run, Java 21 is required, make sure you download this speciffc version
of Java. Whilst a newer version of Java can be utilised, other parts of the application will also have to
be updated and this has not been tested. Although you can always have a try with your own version,
it is highly recommended you download and use Java 21.
3.2 Building SCUPI+
To compile the code, simply run the command shown in the table below in the working directory (the
one with src folder in it).
Linux/DCS System MacOS Windows
./gradlew build ./gradlew build ./gradlew.bat build
3.3 Running the SCUPI+ Application
To run the application, simply run the command shown in the table below in the working directory
(the one with src folder in it).
Linux/DCS System MacOS Windows
./gradlew run ./gradlew run ./gradlew.bat run
This command will also compile the code, in case any ffles have been changed. When this is done,
a window will appear with the UI for the application. The terminal will not be able to be used at this
time. Instead it will print anything required from the program. To stop the application, simply close
the window or press CTRL+C at the same time in the terminal.
23.4 Running the SCUPI+ Test Suit
To run the tests, simply run the command shown in the table below in the working directory (the one
with src folder in it).
Linux/DCS System MacOS Windows
./gradlew test ./gradlew test ./gradlew.bat test
This command will also compile the code, in case any ffles have been changed. When ran, this will
produce the output from each test function. It will also produce a webpage of the results, which can
be found in build/reports/tests/test/index.html
3.5 SCUPI+ File Structure
Every effort has been made to keep the ffle structure simple and clean, whilst maintaining good coding
practices. In the following subsections, a brief description of each of the key directories is given, along
with its contents and what you need to worry about in them.
3.5.1 data/
This directory stores all the data ffles that are pulled into the application. There are 4 .csv ffles in
this directory, 1 for each of the datasets described in Sec. 1. Each line in these ffles is a different entry,
with values being separated by commas (hence the name Comma Separated Values). You do not need
to add, edit or remove anything from this directory for your coursework. More details on how these
ffles are structured can be found in Sec. 3.6.
3.5.2 src/main/
This directory stores all the Java code for the application. As such, there are a number of directories
and ffles in this directory, each of which are required for the application and/or the UI to function.
To make things simpler, there are 3 key directories that will be useful for you:
• java/interfaces/: stores the interface classes for the data sets. You do not need to add, edit
or remove anything from this directory, but it may be useful to read through.
• java/stores/: stores the classes for the data sets. This is where the Keywords, Movies, Credits
and Ratings from Sec. 1 are located, the latter 3 of which are the classes you need to complete.
Therefore, you should only need to edit the following ffles:
– Movies.java: stores and queries all the data about the fflms. The code in this ffle relies
on the Company and Genre classes.
– Credits.java: stores and queries all the data about who stared in and worked on the
fflms. The code in this ffle relies on the CastCredit, CrewCredit and Person classes.
– Ratings.java: stores and queries all the data about the ratings given to fflms.
• java/structures/: stores the classes for your data structures. As an example, a array list
MyArrayList has been provided there. Any classes you add in here can be accessed by the classes
in the stores directory (assuming the classes you add are public). You may add any ffles you wish
to this directory, but MyArrayList.java and IList.java should not be altered or removed, as
these are relied on for Keywords.
33.5.3 src/test/
This directory stores all the code that related solely to the JUnit tests. As such, there is a Java ffle
for each of the stores you need to implement. You do not need to add, edit or remove anything from
this directory for your coursework.
3.6 Data used for SCUPI+
All of the data used by the SCUPI+ application can be found in the data directory. Each ffle in
this directory contains a large collection of values, separated by commas (hence the CSV ffle type).
Therefore, each of these can be opened by your favourite spreadsheet program. Most of these values
are integers or ffoating point values, but some are strings. In the cases of strings, double quotation
marks (”) are used at the beginning and end of the value. Where multiple elements could exist in that
value, a JSON object has been used. You do not need to parse these ffles, SCUPI+ will do that for
you in the LoadData class. The data generated by the LoadData class is passed to the corresponding
data store class (Movies, Credits, Ratings and Keywords) using the add function.
To make development easier, we have provided only 1000 fflms present in the data. This means
that there are 1000 entries in the credits data set, and 1000 entries in the keywords data set. However,
some fflms may not have any cast and/or crew (that information may not have been released yet, or
it is unknown), some fflms don’t have keywords and some fflms may not have ratings. In these cases,
an empty list of the required classes will be provided the add function.
3.6.1 Key Stats
Films 1000
Credits
Film Entries 1000
Unique Cast 11483
Unique Crew 9256
Ratings 17625
Keywords
 Film Entires 1000
Unique Keywords 2159
3.6.2 Movies Metadata
The following is a list all of the data stored about a fflm using the column names from the CSV ffle, in
the same order they are in the CSV ffle. Blue ffelds are ones that are added through the add function
in the Movies class.
• adult: a boolean representing whether the fflm is an adult fflm.
• belongs to collection: a JSON object that stores all the details about the collection a fflm
is part of. This is added to the fflm using the addToCollection function in the Movies class.
If the fflm is part of a collection, the collection will contain a collection ID, a collection name, a
poster URL related to the collection and a backdrop URL related to the collection.
• budget: a long integer that stores the budget of the fflm in US Dollars. If the budget is not
known, then the budget is set to 0. Therefore, this will always be greater than or equal to 0.
• genres: a JSON list that contain all the genres the fflms is part of. Each genre is represented
as a key-value pair, where the key is represented as an ID number, and the value is represented
as a string. SCUPI+ passes this as an array of Genre objects.
4• homepage: a string representing a URL of the homepage of the fflm. If the fflm has no homepage,
then this string is left empty.
• tmdb id: an integer representing the ID of the fflm. This is used to link this fflm to other pieces
of data in other data sets.
• imdb id: a string representing the unique part of the IMDb URL for a given fflm. This is added
using the setIMDB function in the Movies class.
• original language: a 2-character string representing the ISO 639 language that the fflm was
originally produced in.
• original title: a string representing the original title of the fflm. This may be the same as
the title ffeld, but is not always the case.
• overview: a string representing the an overview of the fflm.
• popularity: a ffoating point value that represents the relative popularity of the fflm. This value
is always greater than or equal to 0. This data is added by the setPopularity function in the
Movies class.
• poster path: a string representing the unique part of a URL for the fflm poster. Not all fflms
have a poster available. In these cases, an empty string is given.
• production companies: a JSON list that stores the production countries for a fflm. Each entry
in the JSON list has a key value pair, where the key is the ID of the company, and the value is
the name of the company. SCUPI+ parses each list element into a Company object. This object
is the added using the addProductionCompany in the Movies class.
• production countries: a JSON list that stores the production countries for a fflm. Each entry
in the JSON list has a key value pair, where the key is the ISO 3166 2-character string, and the
value is the country name. SCUPI+ parses only handles the key, and uses a function to match
this to the country name. This string is added using the addProductionCountry in the Movies
class.
• release date: a long integer representing the number of seconds from 1
st January 1970 when
the fflm was released. SCUPI+ passes this into a Java Calendar object.
• revenue: a long integer representing the amount of money made by the fflm in US Dollars. If
the revenue of the fflm is not known, then the revenue is set to 0. Therefore, this will always be
greater than or equal to 0.
• runtime: a ffoating point value representing the number of minutes the fflm takes to play. If the
runtime is not know, then the runtime is set to 0. Therefore, this will always be greater than or
equal to 0.
• spoken languages: a JSON list that stores all the languages that the fflm is available in. This
is stored as a list of key-value pairs, where the key is the 2 -character ISO 639 code, and the
value is the language name. SCUPI+ parses these as an array of keys stored as strings.
• status: a string representing the current state of the fflm.
• tagline: a string representing the poster tagline of the fflm. A fflm is not guaranteed to have
a tagline. In these cases, an empty string is presented.
• title: a string representing the English title of the fflm.
• video: a boolean representing whether the fflm is a ”direct-to-video” fflm.
5• vote average: a floating point value representing an average score as given by a those on IMDb
at the time the data was collected. As such, it is not used in the Review dataset. The score will
always be between 0 and 10. This data is added using the setVote function in the Movies class.
• vote count: an integer representing the number of votes on IMDb at the time the data was
collected, to calculate the score for vote average. As such, it is not used in the Review dataset.
This will always be greater than or equal to 0. This data is added using the setVote function
in the Movies class.
3.6.3 Credits
The following is a list all of the data stored about the cast and crew of a film using the column names
from the CSV file, in the same order they are in the CSV file. All these fields are used by SCUPI+:
• cast: a JSON list that contains all the cast for a particular film. In the JSON list, each cast
member has details that relate to there role in the film and themselves. SCUPI+ passes this
into an array of Cast objects, with as many fields populated as possible.
• crew: a JSON list that contains all the crew for a particular film. In the JSON list, each crew
member has details that relate to there role in the film and themselves. SCUPI+ passes this
into an array of Crew objects, with as many fields populated as possible.
• tmdb id: an integer representing the film ID. The values for this directly correlates to the id
field in the movies data set.
3.6.4 Ratings
The following is a list all of the data stored about the ratings for a film using the column names from
the CSV file, in the same order they are in the CSV file. Blue fields are ones that are actually used
by SCUPI+:
• userId: an integer representing the user ID. The value of this is greater than 0.
• movieLensId: an integer representing the MovieLens ID. This is not used in this application, so
can be disregarded.
• tmdbId: an integer representing the film ID. The values for this directly correlates to the id field
in the movies data set.
• rating: a floating point value representing the rating between 0 and 5 inclusive.
• timestamp: a long integer representing the number of seconds from 1st January 1970 when the
rating was made. SCUPI+ passes this into a Java Calendar object.
3.6.5 Keywords
The following is a list all of the data stored about the keywords for a film using the column names
from the CSV file, in the same order they are in the CSV file. All these fields are used by SCUPI+:
• tmdb id: an integer representing the film ID. The values for this directly correlates to the id
field in the movies data set.
6• keywords: a JSON list that contains all the keywords relating to a given film. Each keyword is
represented as a key-value pair, where the key is represented as an ID number, and the value is
represented as a string. SCUPI+ passes this into an array of Keyword objects.
4 Submission
You should submit one .zip file, containing the following files:
• (50 marks) Three data store files for marking the unit tests:
– src/main/java/stores/Movies.java
– src/main/java/stores/Credits.java
– src/main/java/stores/Ratings.java
Also, submit any data structure files that has been created by you (DO NOT submit the
MyArrayList we provided). Please note that when using these data structures, please place
them under the directory src/main/java/structures, as what we will do when running your
program.
• (50 marks) A PDF report (≤ 1500 words) discussing the data structure(s) you have implemented
for the 3 data stores. More specifically:
– (20 marks) Justify your choice of the data structure(s) among so many other data structures.

 (20 marks) Discuss how you use the data structure(s) to build the required operations in
the 3 data stores.
– (10 marks) An extra 10 marks are for the organisation and presentation of your report.
In the end, please don’t forget to compress all these files into a .zip file, and name the .zip file as:
”[CW]-[Session Number]-[Student ID]-[Your name]”

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




 

掃一掃在手機打開當前頁
  • 上一篇:CS 04450代寫、代做Java編程設計
  • 下一篇:代做COMP2K、代寫Python程序設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

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

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    麻豆国产精品va在线观看不卡 | 久久精品xxx| 久久夜色精品国产亚洲aⅴ| 奇米四色中文综合久久| 91精品国产91久久久久久| 精品国产一区二区三区久久久久久 | 一区二区不卡在线| 国产综合久久久久久| 精品国产拍在线观看| 日本午夜精品电影| 国产高潮呻吟久久久| 亚洲一区二区三区加勒比| 成人在线一区二区| 精品国产乱码久久久久软件| 国模视频一区二区| 国产精品乱码久久久久| 激情小说综合网| 国产精品我不卡| 男人天堂av片| 国产精品三级网站| 欧美性视频在线播放| 北条麻妃99精品青青久久| 热久久免费国产视频| 久久精品99久久| 日本成人精品在线| 久久精品日产第一区二区三区| 欧美一级淫片播放口| 久久视频这里有精品| 午夜精品久久久久久久99黑人| 97久草视频| 亚洲色图都市激情| 91九色综合久久| 大j8黑人w巨大888a片| 国产高清一区视频| 热门国产精品亚洲第一区在线 | 久久久久久草| 日韩av在线一区二区三区| 国产对白在线播放| 欧美与黑人午夜性猛交久久久 | 国产精品久久色| 国产日韩精品电影| 亚洲图片在线观看| 国产精品777| 日本阿v视频在线观看| 久久精品成人欧美大片古装| 免费久久久久久| 欧美精品激情在线观看| 国产精品aaa| 青青草国产精品一区二区| 国产精品偷伦一区二区| 国产综合精品一区二区三区| 国产99久久久欧美黑人| 91精品网站| 青草热久免费精品视频| 国产精品第100页| 97久久久免费福利网址| 日韩美女免费视频| 九九视频直播综合网| 国产精品88久久久久久妇女| 欧美精品一区免费| 一区二区三视频| 日韩最新av在线| 国产伦理久久久| 日产精品高清视频免费| 国产精品无码一区二区在线| 国产精品一区二区av| 人人妻人人做人人爽| 欧美激情亚洲精品| 日韩中文字幕精品| 99在线视频播放| 欧美精品一区二区性色a+v| 一本久道中文无码字幕av| 久久精品夜夜夜夜夜久久| 国产伦精品一区二区三区高清版 | 美女久久久久久久久久久| 91精品在线国产| 欧美日韩国产精品一区二区| 亚洲乱码一区二区三区三上悠亚 | 久久久久久12| 日韩在线www| 国产精品永久入口久久久| 日韩国产一区久久| 一区不卡字幕| 国产精品久久久久久搜索| 7777精品视频| 国产伦精品一区| 黑人中文字幕一区二区三区| 日本欧美一二三区| 中文字幕一区二区三区在线乱码 | 虎白女粉嫩尤物福利视频| 色之综合天天综合色天天棕色| 国产精品爽爽ⅴa在线观看| 国产精品9999| 国产精品稀缺呦系列在线| 国内揄拍国内精品| 日韩精品免费播放| 无码av天堂一区二区三区| 九九热r在线视频精品| 久久久精品国产一区二区| 国产成人综合av| 91精品国产网站| 99久久精品免费看国产四区 | 亚洲一区美女视频在线观看免费| 久久久精品国产一区二区| 久久99精品久久久久久青青日本 | 久久久久久久久一区| 91久久久久久久久久| 国产乱码精品一区二区三区不卡 | 久久久精品一区二区三区| 国产高清在线一区二区| 91久久偷偷做嫩草影院| 成人免费午夜电影| 国产女教师bbwbbwbbw| 国产呦系列欧美呦日韩呦| 激情图片qvod| 激情五月五月婷婷| 国内精品美女av在线播放| 欧美成人第一区| 欧美不卡在线一区二区三区| 欧美最猛性xxxxx亚洲精品| 日韩视频免费在线播放| 午夜伦理精品一区| 欧美一区二区视频在线 | 久热精品视频在线观看一区| 久久五月天色综合| 精品国产乱码久久久久软件| 色综合久久久久久中文网| 国产av不卡一区二区| 久久久久国产一区二区三区| 综合色婷婷一区二区亚洲欧美国产| 中文字幕第一页亚洲| 亚洲a∨一区二区三区| 日韩**中文字幕毛片| 日韩欧美一区二区在线观看| 人妻内射一区二区在线视频| 欧美日韩一区在线播放| 精品网站在线看| 国产伦精品一区二区三毛| 97久久国产精品| 国产成人精品免费视频| 精品国内自产拍在线观看| 国产精品久久久久一区二区| 精品福利影视| 亚洲**2019国产| 欧洲日本亚洲国产区| 国模私拍视频一区| 成人精品小视频| 国产不卡av在线| 国产精品入口免费视频一| 国产精品久久久久久久久电影网| 色综合天天狠天天透天天伊人| 亚洲va久久久噜噜噜久久天堂| 秋霞久久久久久一区二区| 国产有码在线一区二区视频| 97精品国产91久久久久久| 久99久在线| 久久综合网hezyo| 亚洲精品一区二区三区四区五区| 日本久久久久久久久| 国内免费久久久久久久久久久| 97国产一区二区精品久久呦| 久久久噜噜噜久久久| 久国内精品在线| 日韩美女在线观看| 成人羞羞国产免费| 91精品久久久久久久久久久久久久| 伊人久久大香线蕉午夜av| 一区二区三区不卡在线| 亚洲中文字幕无码中文字| 日韩欧美一区二区三区四区| 国内成人精品视频| 国产精品99久久久久久久久| 国产精品久久久久久超碰| 亚洲精品免费av| 欧美日韩天天操| 97久久精品人搡人人玩| 国产精品久久久久久久久久尿| 国产日本欧美在线| 日韩av一二三四区| 欧美日韩免费精品| 成人免费xxxxx在线观看| 九九热只有这里有精品| 美女av一区二区| 欧洲成人在线视频| 99www免费人成精品| 久久久av一区| 亚洲人成网站在线观看播放| 欧美亚洲第一页| 91久久国产综合久久91精品网站| 国产精品免费在线免费| 性欧美大战久久久久久久| 欧美xxxx黑人又粗又长密月| 久久久免费看| 欧美激情亚洲视频| 欧美日韩一区二区在线免费观看| 91精品久久久久久久久久久 | 精品国产一区av| 亚洲v日韩v欧美v综合| 国产拍精品一二三| 国产精品老女人视频|