加勒比久久综合,国产精品伦一区二区,66精品视频在线观看,一区二区电影

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

代寫159.234 OBJECT-ORIENTED程序

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



159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
Assignment 3 
Deadline: 4 June 2024, 11pm 
Evaluation: 40 marks (20% of your final grade) 
Late Submission: Deduct 4 marks per day late 
Individual Work You must complete this assignment by yourself (you must NOT share your code 
with others or use others’ code) 
Purpose: Reinforce Java OOP core concepts (abstraction, encapsulation, inheritance, and 
polymorphism), collections framework and generics, exception handling, input and 
output streams, and GUI using Swing 
 
1. System Description (Overview of Problem) 
 
You are asked to write a program in Java to simulate a computer store’s management system 
A computer store maintains three categories of computers: Desktop PCs, Laptops, and Tablets. Each 
category is further divided into different types, as listed below: 
 
Desktop PC types: Gaming, Home & Study, Business, and Compact 
Laptop types: Gaming, Home & Study, Business, and Thin & Light 
Tablet types: Android, Apple, and Windows 
 
Each computer’s unique ID, brand, CPU family, and price need to be specified regardless of its category. 
The computer store must also record memory size (GB) and SSD capacity (GB) for Desktop PCs and 
Laptops as well as screen size (inches) for Laptops and Tablets. 
 
The computer store has two types of staff: salespersons and managers. A salesperson can log into the 
computer store’s management system to view a list of all computers. A salesperson can also search for 
computers by category and type before clicking on a search result to view that computer’s details. 
 
A manager can log into the computer store’s management system to do everything that a salesperson can 
do, but a manager can also maintain records—by updating computer details or adding and deleting 
computers. 
 
2. Tasks to complete: 
a) Create a narrative step-by-step storyboard using screenshots of your system-generated GUIs to 
demonstrate required functions of the computer store’s management system (please refer to a 
sample at the end of this document; you can use its format to present your work) 
 
Your Java code should: 
b) Import the provided test data (computers.txt) to your system using Java Input 
c) Add five staff to the computer store’s system—three salespersons and two managers—using usernames 
and passwords provided (this function should have classes designed with an appropriate inheritance 
hierarchy that applies core OOP concepts) 
d) Realize all functions specified in the system description above (for this assignment, you are NOT 
required to update computers.txt file after a manager update/add/delete records, you only need to 
update the GUI to show the change) 
3. Design and Implementation Guidelines 
Note: You will receive credit for correctness, completeness, no code duplication, and clear on-screen outputs. 
Also, we will grade your program using the following OOP and general software implementation 
guidelines: 
 
 1) Encapsulation design and implementation—proper use of modifiers 
a. Private/Protected/Public 
b. Must make use of getters and/or setters wherever appropriate  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
 2) Inheritance design and implementation 
a. Reasonable class hierarchies 
b. Proper data fields separation in base and derived classes 
c. Proper methods separation/overloading/overriding in base and derived classes 
d. Proper use of base and derived class constructors 
 
3) Polymorphism and implementation 
a. Write generic code that targets the base class whenever possible 
b. Appropriate use of overriding in derived classes to realize polymorphism 
 
4) Information store and implementation 
a. Use HashMap and other Java collection class(es) to store information 
 
 5) Exception handling 
a. Throw an exception object when an application error occurs (e.g., when an invalid piece of data is 
entered) 
b. Use “try/catch/finally” or “try/catch” block to handle the exception 
 
6) Use Java Swing to implement your GUI 
 
4. Other Specifications 
You must follow the next three specifications when completing this assignment: 
 
1) Place appropriate comments in your program—e.g.: 
/** explain what the program file is doing . . . */ 
// explain what a part/method of the program is doing… 
2) DO NOT add any file path for ‘computers.txt’ (put it directly in your project folder when you test your 
code) 
3) DO NOT add your own package name(s) to the beginning of your .java files (this requirement is only 
for marking purpose) 
 
5. Submission Requirements: 
1) Your storyboard as a PDF file 
2) All your .java files (source codes) 
3) Any image file(s) you may have used in your program (put the image file(s) directly in your project 
folder when you test your code - this requirement is only for marking purposes). 
4) Zip all your files from 1), 2), and 3) together and submit as a single file to Stream 
 
6. You MUST use the following test data in your assignment: 
 
1) Staff details 
Usernames Passwords 
Staff 1 – Salesperson p1 p1 
Staff 2 – Salesperson p2 p2 
Staff 3 – Salesperson p3 p3 
Staff 4 – Manager m1 m1 
Staff 5 – Manager m2 m2 
 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
2) Input file computers.txt to download 
 
 3) Example GUI and functions narrations: 
 
Note: this is just a sample GUI design; you are free to design your own GUI and function flow as long 
as they are reasonable and complete the tasks listed in item “2.” above 
 
When the program runs:  
 
Record of Desktop 
PC: 
Category, 
Type, 
ID, 
Brand, 
CPU Family, 
Memory Size (GB), 
SSD Capacity (GB), 
Price ($) 
Record of Laptop: 
Category, 
Type, 
ID, 
Brand, 
CPU Family, 
Memory Size (GB), 
SSD Capacity (GB), 
Screen Size (Inches), 
Price ($) 
Record of Tablet: 
Category, 
Type, 
ID, 
Brand, 
CPU Family, 
Screen Size (Inches), 
Price ($) 
Click “login” icon button 
Log in as a salesperson  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
Can select and display 
computers from any 
Category (No specific 
order required) 
 
 List of all computers 
(No specific order required) 
  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
Can select and display 
computers from any 
Category and its sub type 
Can click any selected 
computer to check its 
details 
Note that all editing 
functions are disabled 
for a salesperson 
Click to log out prelogin
screen is 
displayed  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
  
This time, log in as a 
manager (note that both 
“Browse” and 
“Check/Update” tabs 
are enabled this time) 
A manager can use all 
the search functions 
that a salesperson can  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
A manager can click 
“Add” to add a new 
computer (‘Model ID’ 
is unique, so a new 
computer can’t use an 
existing ‘Model ID’) 
 
Pop-up window to 
confirm success of 
adding  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
New computer’s 
details reflected 
in list 
A manager can click 
‘Update’ to update a 
computer’s details; 
any data can be 
modified except 
‘Model ID’ 
Pop-up window to 
confirm success of 
update  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
Update reflected in 
this list 
A manager can click 
‘Delete’ to delete a 
computer from the 
system 
Clicking ‘Clear’ will clear 
all text fields’ values on 
this tab too (but does not 
actually change or delete a 
computer’s data )  
10 
 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
List also reflects 
deletions 
Click “Log out” to 
go back to pre-login 
screen 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp






 

掃一掃在手機打開當前頁
  • 上一篇:越南紙質簽證入境流程(越南紙質簽證入境有幾種方式)
  • 下一篇:代寫COMP 3023、C++程序設計代做
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

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

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

    日韩精品1区| jizzjizz欧美69巨大| 91亚洲视频| 亚洲午夜一区| 五月激激激综合网色播| 成人在线不卡| 日本一二区不卡| 久久久人人人| 欧美人与拘性视交免费看| 99久久久国产精品免费调教网站| 午夜久久福利| 福利在线一区| 国产不卡一二三区| 九九久久国产| 吉吉日韩欧美| 亚洲综合电影一区二区三区| 奇米777国产一区国产二区| 亚洲男人在线| 久久一区中文字幕| 五月天av在线| 老司机精品导航| 欧美大人香蕉在线| 青青草综合网| 日韩成人在线看| 亚洲最新色图| 一区二区高清| 五月激情久久| 91欧美大片| 亚洲一区中文| 亚洲激情精品| 国产伊人精品| 久久精品导航| 精品在线网站观看| 1204国产成人精品视频| 综合亚洲色图| 成人自拍视频| 在线免费观看亚洲| 麻豆一区二区三| 成人黄色在线| 欧美日韩女优| 日本国产欧美| 欧美国产日韩电影| 97se综合| 五月天av在线| 黑人精品一区| 在线男人天堂| 欧美gayvideo| 成人一级福利| 波多视频一区| 欧美久久天堂| 极品美女一区| 亚洲美女炮图| 青青草国产一区二区三区| 国产经典一区| www.国产精品| 免费视频一区| 久久一区精品| 一区二区三区网站| 成人免费观看49www在线观看| 久久资源综合| 亚洲综合色网| 蜜臀va亚洲va欧美va天堂 | 日本欧美一区| 亚洲a成人v| 久久激情五月激情| 蓝色福利精品导航| www.久久99| 日韩av午夜| 亚洲高清999| 久久美女视频| 黄色综合网站| 色999国产精品| 经典三级一区二区| 日本一区二区三区中文字幕| 国产欧美三级| 电影一区二区三区久久免费观看| 亚洲a级精品| 午夜电影一区| 999久久久国产精品| 欧美女人交a| 蜜桃久久精品一区二区| 欧美a级在线观看| 久久一区精品| 国产精品最新| 精品福利久久久| 99亚洲视频| 日韩大片免费观看| 亚洲国产一区二区精品专区| 国产一区二区在线| 久久久久综合| 亚洲在线网站| 国产一区二区三区| 国产精品成人3p一区二区三区 | 一区免费视频| 日韩伦理福利| 欧美精品国产一区二区| 精品视频在线播放一区二区三区| 久久精品欧美一区| 免费不卡在线视频| 久久精品国产免费看久久精品 | 9999精品免费视频| 国产精品流白浆在线观看| 欧美成人久久| 日韩电影免费在线观看| 欧美日韩亚洲国产精品| 一区二区精彩视频| 亚洲欧美清纯在线制服| 欧美黄色a视频| 日韩成人一级大片| 一区福利视频| 日韩一区中文| 亚洲伊人春色| 女主播福利一区| 高清在线一区| 日本亚洲免费观看| 一本色道久久精品| 欧美在线日韩| 国产一级成人av| 手机亚洲手机国产手机日韩| 亚洲毛片视频| 久久亚洲影视| 69堂精品视频在线播放| 国产日产精品_国产精品毛片| 欧美 日韩 国产精品免费观看| 另类图片综合电影| 国内精品久久久久久久影视简单| sdde在线播放一区二区| 日韩一区二区在线| 亚洲区小说区| 一本色道久久综合亚洲精品不| 卡一卡二国产精品| 精品视频免费| 日韩亚洲一区在线| heyzo欧美激情| 91综合在线| 日本亚洲三级在线| 首页国产欧美日韩丝袜| 成人在线啊v| 999亚洲国产精| 美女久久久精品| 天堂网av成人| cao在线视频| 人人爱人人干婷婷丁香亚洲| 久热re这里精品视频在线6| 91视频成人| 欧美日韩国产高清| 久久亚洲道色| 悠悠资源网久久精品| 91精品视频一区二区| 99热在线精品观看| 97色婷婷成人综合在线观看| 亚洲欧美日本视频在线观看| 亚洲日本中文| 蘑菇福利视频一区播放| 国产精品亚洲欧美日韩一区在线| 尹人成人综合网| 欧美高清hd| 日本精品三区| 国产精品视频3p| 国产乱子精品一区二区在线观看| 99视频精品全部免费在线视频| 久久91视频| 九九久久电影| 国产成人免费视频网站视频社区 | av女在线播放| 亚洲高清999| 福利一区在线| 亚洲高清影视| 亚洲欧洲专区| 麻豆免费在线| 精品久久电影| 亚洲毛片网站| 国产精品99一区二区三区| 亚洲网址在线观看| 亚洲二区av| 一区在线播放| 午夜电影一区| 美女视频网站黄色亚洲| 亚洲欧洲另类| 日韩精品视频中文字幕| 国产精品久久久久久久久久齐齐| 亚洲天堂男人| 亚洲精品3区| 婷婷久久综合九色综合99蜜桃| 欧美 日韩 国产一区二区在线视频| av国产精品| 国产v综合v| 宅男噜噜噜66国产日韩在线观看| 最新亚洲精品| 四虎国产精品免费久久| 一本不卡影院| 国产精品15p| 久久影院资源站| 婷婷激情一区| 99av国产精品欲麻豆| 一区二区三区视频播放| 亚洲精品麻豆| 日韩高清中文字幕一区二区| 在线看片不卡| 999在线精品|