99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

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

CSIT213代做、代寫Java程序設計

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



School of Computing and Information Technology 
University of Wollongong 
Session: Autumn 2024 
CSIT213 Autumn Session 2024 
Assignment 3 
Published on 05 May 2024 Due: Saturday 01 June, 11:30 pm 
Total Marks: 15 marks 
Scope 
This assignment is related to the UML classes diagrams, Java classes definitions and implementations, 
polymorphism, collectors, file input/output, and JavaFX. 
Please read very carefully the information listed below. 
General Java coding requirements: 
 Create your programs with good programming style and form using proper blank spaces, indentation, and
braces to make your code easy to read and understand.
 Create identifiers with sensible names.
 Add proper comments to describe your code segments where they are necessary for readers to understand
what your code intends to achieve.
 Logical structures and statements are properly used for specific purposes.
 Read the assignment specification carefully, and make sure that you follow the direction in this
assignment. In every assignment source file that you will submit on this subject, you must put the
following information in the header of your program:
/*------------------------------------------------------
 My name: 
My student number: 
My course code: CSIT213 
My email address: 
Assignment number: 3 
-------------------------------------------------------*/
A submission procedure is explained at the end of the specification. 
It is recommended to solve the problems before attending the laboratory classes in order to efficiently use 
supervised laboratory time. 
A submission marked by Moodle as Late is treated as a late submission no matter how many seconds it is 
late. 
A policy regarding late submissions is included in the subject outline. 
A submission of compressed files (zipped, gzipped, rared, tared, 7-zipped, lhzed, … etc) is not allowed. The 
compressed files will not be evaluated. 
An implementation that does not compile due to one or more syntactical or processing errors scores no marks. 
It is expected that all tasks included in Assignment 3 will be solved individually without any cooperation 
from the other students. If you have any doubts, questions, etc. please consult your lecturer or tutor during 
lab classes or office hours. Plagiarism will result in a FAIL grade being recorded for the assessment task.  
Tasks 
In this assignment, you are required to design and implement a Department Employee and Project (DEP) 
System in Java. This system helps a company to manage employees and projects. 
 
Implementation 
 
The DEP system helps a company to manage departments, employees, projects and developers work on 
projects. The system load data of departments, employees, projects, and works-on from the text files when 
the program starts. Then the application shows a Graphic User Interface (GUI) so that a user can choose 
what to do. 
 
The UML class diagram of DEP is given below. You can add new classes, methods and attributes in the UML 
class diagram but CANNOT modify or delete any existing classes, attributes, and methods. Your java 
implementation must be consistent with the UML class diagram. 
 
 
 
First, we define an interface class DataIO in a file DataIO.java that only consists of three abstract 
methods: dataInput(Scanner), dataOutput(Formatter) and toString(). 
 Define a superclass Employee and two sub-classes Admin and Developer in a file Employee.java. The 
class Employee implements the interface DataIO. Two sub-classes override the methods defined in the 
interface DataIO. 
 
Define a class Department in a file Department.java that implements the methods of the interface 
DataIO. 
 
Define a class Project in a file Project.java that implements the method of the interface DataIO. 
 
Define a class WorksOn in a file WorksOn.java that implements the methods of the interface DataIO. 
 
The DEP class is defined in a file DEP.java that contains ArrayList containers containing objects of 
Department, Employee, Project and WorksOn. 
 
The DEP application initially loads data of departments, employees, projects, and works-on from the text 
files departments.txt, employees.txt, projects.txt and workson.txt and stores them in 
the containers by calling the methods loadDepartments(), loadEmployees(), loadProjects() and 
loadWorksOn(), then the application shows the GUI, handles the events from the user. 
 
The format of a file departments.txt contains data like 
 
1, SALES, 110, 1234.00, 02/01/2012 
2, ACCOUNTING, 120, 5566789.50, 30/10/2010 
3, GAMES, 150, 100000.00, 01/03/2008 
 
Each row is a record of a department. It contains a department number, name, manager number, budgets and 
manager start date. Each field is separated by a comma (,) and a space ( ). 
 
The format of a file employees.txt contains data like 
 
A, 600, Willy, 01/01/1988, 41 Station Street Wollongong NSW 2500, M, 250.5, 0, 9, Cook Read 
D, 700, Zhi, 12/09/1999, 112 Smith Street Windang NSW 2525, M, 80.2, 600, 9, C++ Java Python 
D, 800, Mary, 03/10/2000, 26 Gibsons Road Figtree NSW 2525, F, 50.0, 700, 9, Java Python SQL 
 
Each row is a record of an employee. The first character is the type of employee. The letter D means it is a 
Developer record. The letter A means it is an Admin record. Each field is separated by a comma (,) and a 
space ( ). 
 An admin record contains an employee number, name, date of birth, address, gender, salary, supervisor 
number, department number, and skills. 
A developer record contains an employee number, name, date of birth, address, gender, salary, supervisor 
number, department number, and programming languages. 
 
The format of a file projects.txt contains data like 
 
1001, Computation, Microsoft, 8, 25000 
1002, Study methods, Education committee, 3, 15000 
 
Each row is a record of a project. A project record contains a project number, title, sponsor, department 
number and budget. Each field is separated by a comma (,) and a space ( ). 
 
The format of a file workson.txt contains data like 
 
800, 1001, 10 
510, 1001, 15 
 
A works-on record consists of an employee (developer) number, a project number, and the hours. 
 
Hint: You can open a text file, and then call the method 
useDelimiter(", |\r\n|\n") 
of a Scanner object before getting input data from a text file. 
 
The detailed requests 
 
 You shall update the UML class diagram by adding new classes, methods, and attributes. Please make 
sure your implementation is consistent with your UML class diagram. 
 The DEP class shall contain JavaFX components, such as Label, TextField, Button, ListView, etc. 
With the GUI, a user can interact with the applications. 
 After initialization, the applicant shows lists of department numbers, employee numbers, project 
numbers, works on information, and the pie chart of department budgets. 
 If a user clicks an item in a list, the details of the item are displayed in the text fields below that list. 
 If a user clicks a button Add, the application validates the developer and the project that selected 
from the lists. If the developer hasn’t worked on the project, then pop up a dialog to get the hours, 
and add the new works-on in the container workson and the list of workson in the GUI. 
Display the validate messages in a text field of message. 
If a user clicks a button Delete, the application pops up a confirmation dialog and deletes the 
selected works-on record if it is confirmed. **3; If a user clicks a button Save, the application saves the works-on information from the container 
workson to a text file workson.txt and display a message about how many records have been 
saved. 
**3; The system shall be able to handle the exceptions during the interaction between the user and the 
system. The exceptions may include invalid information when loading departments, employees, 
projects and workson. 
 
 
See the Processing examples below for more details. 
 
 
Testing files 
 
Download files departments.txt, employees.txt, projects.txt and workson.txt 
from the Moodle site. 
 
 
Compilation and testing 
 
Compile your program by using the javac command. 
javac --module-path "the-path-of-javafx-lib" --add-modules 
javafx.controls DEP.java 
 
Process your program by using the java command. 
java --module-path "the-path-of-javafx-lib" --add-modules 
javafx.controls DEP 
 
The path of JavaFX lib is the path where you have installed the JavaFX library (.jar files). For example, 
If a JavaFX library path is C:\MyApps\javafx-sdk-20.0.1\lib, then replace "the-path-ofjavafx-lib"
with "C:\MyApps\javafx-sdk-20.0.1\lib". 
 
Test your program for all the events. See the examples of the processing results below for more details. 
 
Note: Some important data, such as selected items, messages are emphasized in red rectangles of the screen 
shots. 
 Processing examples 
 
When the application starts, it loads data and stores them into the containers, then shows lists of 
departments, employees, projects, works-on and the pie chart of department budgets like the GUI below. 
 
If a user clicks an item of a list, the application displays the details of the item below the list.  
  
If a user clicks a button Add, the application validates the employee, project and works on information. 
 
If a developer, project and works-on are valid, the application pops a dialog to get hours, and add the new 
works-on to the list and the container workson. 
  
If a user clicks a button Delete, the application pops a dialog to confirm the deletion, then delete the 
selected works-on data from both container workson and the list of works-on. 
 If a user clicks a button Save, the application saves the works-on records into a file workson.txt and 
display message such as 7 workson records are saved. 
 
 Deliverables 
(1) UML class diagram (1 mark): Use the UMLet application tool to draw the class diagram. The class 
diagram shall 
 contains at least the classes mentioned above. 
 contains the class name, fields, and methods definitions for each class. 
 use correct and sufficient UML notations. 
 specify the associations between classes. 
 specify the multiplicities for both sides of the associations. 
 
Remember to use the CSIT213 palette! 
 
Use the option File‐>Export as… to export a class diagram into a file in BMP format. Do not delete an 
exported file. You will use it as one of the solutions for your task. 
Insert the BMP files into a Word file assignment3Report.docx. 
 
(2) Implementation (12 marks): Implement the application according to the UML class diagrams and the 
processing examples described above. The program shall 
 be consistent with the UML class diagrams. 
 follow the conventions for naming all classes, variables, and methods. 
 provide sufficient comments. 
 use proper blank spaces, indentation, and braces to make your code easy to read and understand. 
 follow the specified implementation requests. 
 be able to show the GUI and handle all events that required. 
 
(3) Compilation and test (2 marks): Compilation and test your Java program by using the command line 
interface. 
 Please carefully compile your program. Make sure your program can pass the compilation by using 
the javac command. 
 Test your program by using the java command. 
Test your program for all the activities. See the examples of the processing results above for more 
details. 
 Please do not define the package in your program (a special alert for students who use IDE to 
complete the assignment). 
Copy and paste the compilation and testing results into the Word file assignment3Report.docx. 
When ready convert the Word file assignment3Report.docx into a pdf file 
assignment3Report.pdf. 

 Submission 
Note that you have only one submission. So, make absolutely sure that you submit the correct files with the 
correct contents and correct types. No other submission is possible! 
 
Submit the files DEP.java, DataIO.java, Department.java, Employee.java, 
Project.java, WorksOn.java, and assignment3Report.pdf through Moodle in the 
following way: 
(1) Access Moodle at http://moodle.uowplatform.edu.au/ 
(2) To login use a Login link located in the right upper corner of the Web page or in the middle of the 
bottom of the Web page 
(3) When logged select a site CSIT213 (S223) Java Programming 
(4) Scroll down to a section Assignments and submission 
(5) Click on a link Assignment 3 submission 
(6) Click on the button Add Submission 
(7) Upload a file DEP.java into an area You can drag and drop files here to add 
them. You can also use a link Add… 
(8) Repeat step (7) for the files DataIO.java, Department.java, Employee.java, 
Project.java, WorksOn.java and assignment3Report.pdf. 
(9) Click on the checkbox with a text attached: By checking this box, I confirm that 
this submission is my own work, … in order to confirm the authorship of your submission 
(10) Click on a button Save changes 
 
End of specification 
 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp
















 

掃一掃在手機打開當前頁
  • 上一篇:FIT1050代做、代寫Java程序語言
  • 下一篇:菲律賓大使館簽證地址 聯系方式是多少
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

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

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

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          亚洲一区二区三区午夜| 国内久久婷婷综合| 久久久午夜电影| 99国产精品视频免费观看| 国产在线欧美| 国产精品一二三| 国产精品v一区二区三区| 麻豆freexxxx性91精品| 欧美一区二区三区四区在线观看地址| 日韩视频免费观看高清完整版| 伊人久久成人| 狠狠色狠狠色综合日日91app| 国产精品区一区二区三区| 欧美日韩一卡二卡| 欧美精品综合| 欧美成人资源网| 久久亚洲一区二区三区四区| 欧美自拍偷拍午夜视频| 亚洲欧美清纯在线制服| 亚洲私人影院| 亚洲免费在线播放| 亚洲男人的天堂在线aⅴ视频| 一本色道久久| 一本色道久久综合狠狠躁篇怎么玩 | 久久综合久久久| 欧美在线看片| 久久av一区二区| 欧美在线观看一区| 欧美专区第一页| 久久久久国产一区二区| 久久噜噜噜精品国产亚洲综合| 久久国产精品久久久久久| 羞羞视频在线观看欧美| 久久激情五月婷婷| 久久一区二区三区av| 免费亚洲视频| 欧美精品三级日韩久久| 欧美欧美全黄| 国产毛片精品视频| 一区二区三区自拍| 亚洲高清免费| 一区二区动漫| 久久精品国产亚洲5555| 欧美v日韩v国产v| 欧美日韩黄色一区二区| 国产精品久久久久久久久免费樱桃| 国产精品乱码一区二区三区| 国产一区二区丝袜高跟鞋图片| 1024成人| 亚洲一区二区视频| 久久亚洲精品网站| 欧美日韩久久不卡| 狠狠色噜噜狠狠狠狠色吗综合| 亚洲经典三级| 欧美在线观看视频| 欧美日产在线观看| 国产综合激情| 亚洲一区黄色| 免费短视频成人日韩| 国产精品亚洲网站| 亚洲国产视频一区二区| 午夜精品视频| 欧美日韩国产小视频| 国产综合一区二区| 亚洲影视在线| 欧美黄色网络| 国产在线国偷精品产拍免费yy| 日韩亚洲欧美一区二区三区| 久久久99久久精品女同性| 欧美日韩国产在线一区| 一区精品在线| 羞羞答答国产精品www一本 | 欧美黄污视频| 伊人久久亚洲美女图片| 亚洲欧美美女| 国产精品嫩草99av在线| 亚洲三级毛片| 欧美成人国产一区二区| 国产一区日韩一区| 亚洲女爱视频在线| 欧美视频日韩| 在线亚洲欧美| 欧美日韩在线影院| 亚洲另类在线视频| 欧美精品久久久久久久久老牛影院 | 国产精品久久久久久久久久三级| 亚洲国产午夜| 欧美激情精品久久久久久蜜臀| 激情另类综合| 久久先锋影音| 91久久久久久久久| 欧美 日韩 国产精品免费观看| 狠狠色丁香婷婷综合久久片| 久久久精品一品道一区| 国产有码在线一区二区视频| 西西人体一区二区| 国产夜色精品一区二区av| 久久不见久久见免费视频1| 国产欧美一区二区精品秋霞影院| 亚洲欧美一区二区三区久久| 国产精品网站在线| 欧美在线日韩在线| 好吊色欧美一区二区三区四区 | 欧美高清视频在线播放| 日韩视频在线一区| 国产精品男女猛烈高潮激情| 亚洲一区二区三区成人在线视频精品 | 欧美一级片一区| 国语自产精品视频在线看一大j8| 久色婷婷小香蕉久久| 亚洲欧洲日产国产综合网| 欧美日韩国产欧| 亚洲女同性videos| 极品尤物av久久免费看| 欧美黑人多人双交| 亚洲综合色激情五月| 国内一区二区三区在线视频| 欧美高清在线视频观看不卡| 一区二区三区国产精华| 国产亚洲精品激情久久| 欧美激情综合五月色丁香小说 | 欧美一级日韩一级| 亚洲激情偷拍| 国产伦精品一区二区三区高清| 久久精品99国产精品酒店日本| 亚洲精品乱码久久久久久蜜桃麻豆 | 国产香蕉久久精品综合网| 狼狼综合久久久久综合网| 一区二区久久久久久| 国产一区二区三区黄| 欧美日韩国产免费观看| 久久久久久久综合| av成人动漫| 影视先锋久久| 国产免费观看久久| 欧美日韩日本视频| 久久这里有精品视频| 亚洲欧美国产精品桃花| 亚洲国产三级| 狠狠干狠狠久久| 国产精品女人网站| 欧美日韩性生活视频| 猛男gaygay欧美视频| 欧美亚洲一区二区三区| 一本色道综合亚洲| 亚洲第一主播视频| 国产一区二区三区高清播放| 欧美亚洲第一区| 欧美日韩亚洲成人| 欧美激情按摩| 蜜臀av一级做a爰片久久| 羞羞答答国产精品www一本| 一区二区欧美日韩| 亚洲日韩欧美一区二区在线| 国语自产在线不卡| 国产精品一区在线观看| 国产精品v欧美精品∨日韩| 欧美日韩国产在线看| 欧美电影打屁股sp| 男男成人高潮片免费网站| 老司机免费视频久久| 久久久久久久一区二区三区| 欧美伊人影院| 欧美一级视频精品观看| 欧美亚洲免费高清在线观看| 亚洲一区二区三区免费观看| 亚洲四色影视在线观看| 亚洲一级黄色片| 亚洲综合首页| 久久国产精品第一页| 久久精品国产77777蜜臀| 久久国产福利| 久久亚洲一区| 欧美成人午夜激情在线| 欧美精选在线| 欧美视频在线播放| 国产伦精品一区二区三| 国产亚洲一区二区三区在线播放 | 久久国产福利国产秒拍| 久久影音先锋| 欧美黑人一区二区三区| 欧美性猛交99久久久久99按摩| 国产乱理伦片在线观看夜一区 | 久久久久久九九九九| 免费视频一区| 欧美日韩中文字幕综合视频| 国产精品久久久免费| 国产揄拍国内精品对白| 亚洲韩国日本中文字幕| 亚洲特级片在线| 久久精品国产99精品国产亚洲性色| 噜噜噜在线观看免费视频日韩| 欧美巨乳在线观看| 国产色视频一区| 亚洲日本免费电影| 性欧美video另类hd性玩具| 蜜乳av另类精品一区二区| 国产精品久久久久久久久久久久久 | 欧美激情四色| 国产日韩欧美精品一区|