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

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

PROG2004代做、代寫C/C++編程設計
PROG2004代做、代寫C/C++編程設計

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



Assessment Brief 

PROG2004 
Object Oriented Programming (Assessment 1) 
 
Title Assessment 1 
Type Programming 
Deadline 4 December 11:59 AM 
Weighting 20% 
Academic Integrity Contract cheating and the use of GenAI, such as ChatGPT, in this assignment are strictly prohibited. Any 
breach may have severe consequences. 
Submission You will need to submit 2 Java projects as detailed. 
Unit Learning Outcomes This assessment task maps to the following ULOs: 
• ULO1: explain, compare, and apply advanced class design concepts 
• ULO2: apply object-oriented programming principles to solve intermediate problems 
• ULO3: distinguish between and use advanced collection classes 2 
Assessment Brief 
 
Task 1: 
 
 In this assignment, you will write the code that manages the product categories on any website, such as Alibaba (Use another website). 
 
 To get started: 
 
• Create a new Java project called Project1 in IntelliJ. 
• In the src directory, create a new class called AssignmentOne. 
• In the AssignmentOne class, create the main method. 3 
Assessment Brief 
 
 
Module 1 - Advanced class design 
The following part of the assessment covers the content in Module 1. 
Part 1 – Creating abstract classes and interfaces 
Go to the website you choose and explore all the different categories of products that they sell. While you are doing this, have a look at the 
different product categories as they go from more general to more specific. At the top level of the Inheritance hierarchy, you need a generic 
product. In your Java project: 
• Create a new interface called Product with at least two generic methods that are suitable for ALL product categories on the the website 
you choose. 
Alibaba sells physical and digital products. Therefore, in the inheritance hierarchy, under products, you would need to handle physical products 
and digital products. In your Java project: 
• Create an abstract class called PhysicalProduct that implements the interface called Product. 
• Create an abstract class called DigitalProduct that implements the interface called Product. 
The PhysicalProduct and DigitalProduct abstract classes must have the following at a minimum that are suitable for ALL physical OR digital 
product categories on the Alibaba website: 
• At least two instance variables 
• A default constructor 
• A second constructor that sets all the instance variables 
• At least one abstract method 
• At least one non-abstract method 
• Any other methods or variables that you feel are necessary for the class to be usable in the program 
 
 
Part 2 – Using abstract classes and interfaces 
On the Alibaba website, choose one physical product category and one digital product category. In your project: 
• Create one concrete class that extends the PhysicalProduct abstract class. 
• Create one concrete class that extends the DigitalProduct abstract class. 
 
 The classes should match the physical product category and digital product category you chose on the Alibaba site and have the following at 
a minimum: 4 
Assessment Brief 
 
 
• At least two instance variables (one of these variables must be a boolean as a boolean instance variable is required in a later section of the 
assignment) 
• A default constructor 
• A second constructor that initialises all the instance variables (including the instance variables in the abstract superclass) 
• A method that prints the Product details, e.g. "The product details are:" followed by all instance variables formatted for readability 
(including the instance variables in the abstract superclass) 
• Any other methods or variables needed so that your products match the physical product category and digital product category you 
chose on the Alibaba site. 
For each class, in the class comments, you MUST provide a link to the product category on Alibaba that you based 
your class on. In the main method: 
• Add the following comment - // Part 2 – Using abstract classes and interfaces 
• Create an object for the concrete class that extends the PhysicalProduct abstract class using the constructor that sets all instance 
variables. 
• Create an object for the concrete class that extends the DigitalProduct abstract class using the constructor that sets all instance 
variables. 
• Add the following code - System.out.println(" -------------------- "); 
 
 
Part 3 – Polymorphism 
In the AssignmentOne class, write a method called demonstratePolymorphism that takes one parameter. The parameter type can be either a: 
• Product 
• PhysicalProduct 
• DigitalProduct 
 
 In the main method: 
• Add the following comment - // Part 3 – Polymorphism 
• Add a second comment that explains how you are going to use the method you just created to demonstrate your understanding of 
polymorphism 
• Write the code to create an object and use the method you just created to demonstrate your understanding of polymorphism 
• Add the following code - System.out.println(" -------------------- "); 5 
Assessment Brief 
 
 
NOTE: Do not remove the code in the main method for Part 2 (or any other part of the assignment). You can comment it out when you are 
developing; however, when you submit your assignment, the main method must contain all the code required for all parts of the assignment, i.e., 
your marker should be able to run your main method, and all parts of your assignment should run in one go. 
 
 
Module 2 – Generics and lambdas 
The following part of the assessment covers the content in Module 2. 
In Part 2 of this assessment, you created a concrete class that extends the PhysicalProduct abstract class. For the remainder of this 
assessment, this class will be referred to as yourClass as, in theory, all students should have a different name for this class. 
 
 
Part 4 – Generic classes 
In this part of the assignment, you are going to write the code for an ArrayList that can store instances (objects) of 
yourClass. In the main method, write the code to: 
• Add the following comment - // Part 4 – Generic classes 
• Declare an ArrayList 
• Add at least 5 instances of yourClass to the ArrayList 
• Add the following code - System.out.println(" -------------------- "); 
 
 
Part 5 – Generic methods 
In this part of the assignment, you are going to sort the ArrayList that we created in part 4. 
In yourClass, implement the Comparable interface. When you implement the compareTo() method from the Comparable interface, you must 
use at least two instance variables in the comparison. 
Once you have implemented the Comparable interface in the main method: 
• Add the following comment - // Part 5 - Generic methods 
• Write the code to sort the ArrayList that you created in Part 4. 
• Add the following code - System.out.println(" -------------------- "); 6 
Assessment Brief 
 
 
Part 6 – Wildcards 
In the AssignmentOne class, create a method called DemonstrateWildcards that takes an ArrayList generic parameter <? extends T>. In 
the method, call one of the methods from PhysicalProduct abstract class. 
In the main method: 
• Add the following comment - // Part 6 - Wildcards 
• Add a second comment that explains how you are going to use the method you just created to demonstrate your understanding of wildcards 
• Write the code to create an object and use the method you just created to demonstrate your understanding of wildcards 
• Add the following code - System.out.println(" -------------------- "); 
 
 
Part 7 – Simple lambda expressions 
In the AssignmentOne class, create a method called DemonstrateLambdas that takes an ArrayList of yourClass and a Predicate as a 
parameter. In the method, test the Boolean instance variable from yourClass and print a suitable message based on whether it is true or false. 
In the main method: 
• Add the following comment - // Part 7 - Simple lambda expressions 
• Write the code to pass the Arraylist that you created in Part 4 to the DemonstrateLambdas method 
• Add the following code - System.out.println(" -------------------- "); 
 
• Add a default constructor and a second constructor that sets the instance variables (Staff and Person) using parameters 
• Add getters and setters for all Staff instance variables 
• 
 
In the Member class: 
• Extend the Person class 
• Add at least 2 instance variables suitable for a School member 
• Add a default constructor and a second constructor that sets the instance variables (Member and Person) using parameters 
• Add getters and setters for all Member instance variables 
In the Classroom class: 
• Add at least 3 instance variables suitable for a Clasrooms. One of these instance variables must be of type Staff, i.e. used to track the trainer 
running the Classroom. 
• Add a default constructor and a second constructor that sets the instance variables using parameters. 
• Add getters and setters for all Classroom instance variables. 
 
In the AssessmentTwo class add the following code: 
public class AssessmentTwo { 
public static void main(String[] args) { 

public void partOne(){ 

public void partTwo(){ 

public void partThree(){ 

public void partFour(){ 

public void partFive(){ 

public void partSix(){ 


 9 
Assessment Brief 
 
Module 3 - Advanced Collections 
The following part of the assessment covers the content in Module 3. 
 
Part 1 – Lists 
The Classroom class is missing the ability to store a collection of Members who have signed up for the Classroom. For this part of the assignment: 
 
• Using a LinkedList, update Classroom so that a Classroom object can store a collection of Members (i.e. datatype Member) who have signed up for 
the 
Classroom. 
 
In addition to adding a LinkedList, you need to add the following methods to Classroom that work with the LinkedList: 
 
• A method to add a Member to the Classroom. 
• A method to check if a Member is in the Classroom. 
• A method to remove a Member from the Classroom. 
• A method that returns the number of Members in the Classroom. 
• A method that prints the details of all Members signed up for the Classroom (you must use an Iterator or you will get no marks). 
 
Note: Make sure all the above methods print suitable success/failure messages. 
 
Demonstration 
In the partOne method in the AssessmentTwo class: 
• Create a new Classroom object. 
• Using the methods you created: 
o Add a minimum of 5 Members to the LinkedList. 
o Check if a Member is in the LinkedList. 
o Remove a Member from the LinkedList. 
o Print the number of Members in the LinkedList. 
o Print all Members in the LinkedList. 10 
Assessment Brief 
 
 
Part 2 – Collection Class 
There is no way to sort the Members who have signed up for a Classroom. For this part of the assignment: 
• Create a class (you can choose the name) that implements the Comparator interface. When you implement the compare method from the Comparator 
interface, you must use a minimum of two of the instance variables in your comparison. 
• Create a method in the Classroom class that sorts the LinkedList using the sort(List list, Comparator c) method in the Collections class. 
 
Note: You MUST use the Comparator interface. You CAN NOT use the Comparable interface. 
 
Demonstration 
In the partTwo method in the AssessmentTwo class: 
• Create a new Classroom object. 
• Using the methods you created: 
o Add a minimum of 5 Members to the LinkedList. 
o Print all Members in the LinkedList. 
o Sort the LinkedList 
o Print all Members in the LinkedList again to show that the LinkedList has been sorted. 
 
 
Part 3 – Queue Interface 
As most School classes would have a maximum number of members that can sign up, the program needs the ability to keep track of Members who 
are waiting to join the School class and the order in which they joined the waiting list, i.e., first in first out. 
For this part of the assignment: 
• Using a Queue, update the Classroom class so that a Classroom can store Members (i.e., Member objects) who are waiting to join the Classroom. 
 
 In addition to adding a Queue, you need to add the following methods to the Classroom class that work with the Queue: 
• A method to add a Member to the Queue. 
• A method to remove a Member from the Queue. 
• A method that prints all the details for all Members in the Queue in the order they were added. 
 
Note: Make sure all the above methods print suitable success/failure messages. 11
Submission ZIP file via USB drive (Name+ Complete student number + Assignment 1) 
You are required to submit Three items for this assessment, including: 
• Project 1 
• Project 2 
• A 10 minutes video explain Project 1 and Project 2 
Assessment Criteria 
• Java code compiles with Java 17 LTS. 
• Use of correct coding style, including the use of comments. 
• Accuracy of coding. 
• Use of suitable coding structures. 
• Correct submission and naming conventions of assessment items as required. 
 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp


 

掃一掃在手機打開當前頁
  • 上一篇:代做QHE5701、代寫SQL程序設計
  • 下一篇:代寫QHE5701、SQL編程語言代做
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業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怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    欧美亚洲国产日韩2020| 国产精品一区二区久久| 国产亚洲欧美另类一区二区三区| 国产精品视频导航| 精品一区二区国产| 国产aaa一级片| 91久久在线视频| 日韩精品久久久免费观看| 日韩日本欧美亚洲| 国产一区自拍视频| 正在播放国产精品| 久久久视频精品| 青青草成人在线| 久久成人这里只有精品| 91精品国产综合久久久久久蜜臀 | 国产伦视频一区二区三区| 欧美精品九九久久| 国产精品99久久久久久久久久久久 | 欧美亚洲精品日韩| 欧美成人中文字幕在线| 91免费看国产| 欧美一级二级三级| 中文字幕色呦呦| 7777在线视频| 激情综合在线观看| 亚洲一区二区精品在线观看| 久久久久久久久久码影片| 国产一区二区在线视频播放| 亚洲第一页在线视频| 久久九九亚洲综合| 成人9ⅰ免费影视网站| 日本成熟性欧美| 久久国产精品免费视频| 国产成人精品免费视频大全最热| 黄色一级大片免费| 日韩av观看网址| 欧美精品在线观看| 久草综合在线观看| 国产女大学生av| 性欧美激情精品| 久久资源免费视频| 久久精品国产精品青草色艺| 国产小视频免费| 日韩欧美电影一区二区| 中文网丁香综合网| 国产精品美女久久久久av超清 | 无码人妻h动漫| 操日韩av在线电影| 久久久久在线观看| 成人做爽爽免费视频| 欧美极品色图| 日日摸天天爽天天爽视频| 久久av在线播放| www.日本久久久久com.| 91精品国产91久久久久久| 国产一区二区丝袜高跟鞋图片| 日本韩国在线不卡| 一区二区不卡在线观看| 欧美另类第一页| 久久久国产在线视频| 久久这里只有精品23| 国产欧美精品一区二区三区| 欧美久久久久久一卡四| 日本一区二区黄色| 亚洲一区二区三区乱码aⅴ| 久久中国妇女中文字幕| 久久久精品日本| 久久久日本电影| 99热在线这里只有精品| 国产欧美一区二区白浆黑人 | 久久久噜噜噜久噜久久| 116极品美女午夜一级| 成人亚洲综合色就1024| 国产日韩精品推荐| 国产中文字幕亚洲| 黄色片一级视频| 欧美乱偷一区二区三区在线| 日本伊人精品一区二区三区介绍| 夜夜爽www精品| 久久99精品久久久久久青青91 | 久久久一本二本三本| 成年人网站国产| www黄色av| 成人国产精品一区| 成人www视频在线观看| 国产精品自在线| 成人做爽爽免费视频| av在线com| 97精品在线观看| 99精品人妻少妇一区二区| 高清一区二区三区视频| 成人av在线不卡| 国产人妻777人伦精品hd| 国产三级精品网站| 国产欧亚日韩视频| 丰满少妇大力进入| 99久久免费国| 国产精品av免费在线观看| 久久综合九色综合88i| 国产成人亚洲精品无码h在线| 久久露脸国产精品| 久久www视频| www.日本久久久久com.| 国产精品嫩草影院久久久| 精品国内自产拍在线观看| 久久久久久网站| 久久久国产影院| 久久久精品中文字幕| 国产精品视频在线播放| 国产精品国产自产拍高清av水多| 久久夜色精品亚洲噜噜国产mv| 国产精品免费电影| 精品久久久久久无码中文野结衣| 色综合色综合网色综合| 在线观看欧美一区| 天堂av在线中文| 欧美最猛性xxxx| 麻豆一区区三区四区产品精品蜜桃| 国产在线精品一区| 福利视频一区二区三区四区| 91国产视频在线播放| 久久66热这里只有精品| 日韩一区二区欧美| 久久这里只有精品99| 亚洲伊人成综合成人网| 日本三级中文字幕在线观看| 欧美极品欧美精品欧美| 国产剧情日韩欧美| 国产成人亚洲综合91| 国产精品电影观看| 亚洲.欧美.日本.国产综合在线| 欧洲亚洲免费视频| 国产精品一色哟哟| 久草综合在线观看| 精品国产乱码久久久久久郑州公司 | 国产精品欧美日韩| 亚洲最大的av网站| 欧美性猛交久久久乱大交小说| 国产欧美一区二区三区在线| 国产成人一区二区三区免费看| 国产精品九九九| 午夜精品久久久久久久99热浪潮 | 久久久久久久久久久久久久国产 | 国产精品入口日韩视频大尺度| 尤物av无码色av无码| 人人妻人人添人人爽欧美一区| 国内精品久久久久久久| 国产精品99久久久久久大便| 国产精品毛片一区视频| 欧美一区二区三区四区夜夜大片| 黄色国产一级视频| 国产精品91在线观看| 久久亚洲精品成人| 日本一道本久久| 国产麻豆电影在线观看| www高清在线视频日韩欧美| 欧美激情极品视频| 欧洲日本亚洲国产区| 不卡日韩av| 国产精品乱码视频| 色综合久久久久久久久五月| 国产午夜福利在线播放| 久久久久久网站| 亚洲巨乳在线观看| 免费精品视频一区二区三区| 久久黄色免费看| 一区二区成人国产精品| 蜜桃视频在线观看91| 日韩中文字幕国产精品| 色女人综合av| www插插插无码免费视频网站| 日韩在线视频观看| 午夜精品久久久久久99热| 国产欧美日韩精品在线观看| zzjj国产精品一区二区| 日本精品一区二区三区高清 久久| 国产精品午夜一区二区欲梦| 国产精品久久激情| 欧美亚洲另类久久综合| 国产成人a亚洲精v品无码| 亚洲欧洲精品一区二区| 国产精品永久免费| 国产精品久久久久9999爆乳 | 欧美性大战久久久久xxx| 97精品国产97久久久久久春色 | 国产午夜福利100集发布| 国产精品久久久久久搜索| 日本91av在线播放| 91高清免费视频| 亚洲中文字幕久久精品无码喷水| 国产日韩av网站| 国产精品高潮呻吟视频| 黄色成人在线看| 久久久成人精品| 欧美久久综合性欧美| 精品久久久91| 琪琪亚洲精品午夜在线| 国产经典一区二区| 日本亚洲精品在线观看| 久久免费看av|