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

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

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編程語言代做
  • 無相關信息
    合肥生活資訊

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

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

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

    欧美日韩国产综合网| 国产午夜精品一区在线观看| 91精品二区| 日韩福利视频一区| 深夜日韩欧美| 男女男精品视频网| 久久91在线| 国产午夜久久av| 日韩黄色在线| 欧美freesextv| 天天久久综合| 亚洲成人黄色| 亚洲欧洲二区| 日韩久久99| 免费欧美在线视频| 亚洲午夜精品久久久久久app| 亚洲欧洲av| 日本aⅴ亚洲精品中文乱码| 成人免费图片免费观看| 欧美精品一区二区久久| 精品三级久久久| 国产精品成人一区二区网站软件| 亚洲成a人片| 国产拍在线视频| 国产精品美女久久久| 久久久国产精品一区二区中文| 亚洲精品播放| 中文字幕一区二区三三 | 蜜桃视频第一区免费观看| 99精品在线免费在线观看| 一区二区三区视频播放| 亚洲精品国产动漫| 亚洲天堂免费| 亚洲国产精品第一区二区三区| se69色成人网wwwsex| 极品美女一区| 丝瓜av网站精品一区二区| 欧美日韩视频一区二区三区| 99欧美视频| 色吊丝一区二区| 精品久久精品| 欧美色图婷婷| 美女av一区| 牛牛精品成人免费视频| 成人看片黄a免费看视频| 日韩中文字幕| 一区二区中文字幕在线观看| 日韩精品丝袜美腿| 日韩成人午夜| 国产色99精品9i| 日本亚洲天堂网| 日韩电影一区二区三区| 久久不卡国产精品一区二区 | 91影院成人| 国产精品久久久久久久久妇女| 久久www成人_看片免费不卡| 蜜桃视频一区| 色777狠狠狠综合伊人| 亚洲综合社区| 欧美激情理论| 欧美裸体视频| 国产成人精选| 国产欧美一级| 99精品视频在线免费播放| 国产亚洲高清在线观看| 久久不见久久见国语| 精品一区视频| 久久人人97超碰国产公开结果| 欧美一区二区三区激情视频| 久久伦理在线| 亚洲精品97| 视频精品一区二区| 日韩理论电影院| 成人在线观看免费播放| 麻豆91在线播放| 欧美日韩中出| 美女精品视频在线| 六月丁香久久丫| 亚洲激情不卡| 高清av不卡| 欧美成人三级| 国产va免费精品观看精品视频| 久久久91麻豆精品国产一区| 91综合久久爱com| 欧美偷拍综合| 成人精品电影| ww久久综合久中文字幕| 最新国产精品久久久| 日韩精品成人在线观看| 久久久久国产| 蜜桃久久久久久| 欧美成人黄色| 日韩激情av在线| 久久人人99| 成人影院天天5g天天爽无毒影院 | 久久精品人人| 先锋影音国产精品| 亚洲福利免费| 国产精品久久久久蜜臀 | 男人的天堂久久精品| 亚洲二区av| 国产免费久久| 欧美日韩国产高清电影| 在线看片国产福利你懂的| 久久精品国产福利| 日韩电影在线观看一区| 亚洲成人日韩| 亚州欧美在线| 精品国产亚洲一区二区三区在线 | 久久99国产成人小视频| 久久精品不卡| 鲁鲁在线中文| 一区二区三区在线电影| 精品一区不卡| 国产精品精品| 你懂的国产精品永久在线| 成人羞羞视频在线看网址| 中文字幕人成人乱码| 青青青爽久久午夜综合久久午夜| 亚洲区小说区| 99视频在线精品国自产拍免费观看| 欧美天堂视频| 日韩av电影免费观看高清完整版| 黄色成人在线网站| 久久国产日韩欧美精品| 99亚洲乱人伦aⅴ精品| 首页国产欧美日韩丝袜| 国产精品地址| 免费成人av| 亚洲成人1区| 精品视频网站| 免费看av不卡| 色悠久久久久综合先锋影音下载| 午夜亚洲伦理| 亚洲一区二区| 亚洲精品在线观看91| 久久精品免费看| 日本久久成人网| 日本精品另类| 精品国产91乱码一区二区三区四区 | 日韩有码中文字幕在线| 99日韩精品| 国产精品www994| jlzzjlzz亚洲女人| 久久精品伊人| 欧美精选视频在线观看| 国产精品久久久久久模特| 久久国产一二区| 国产乱子精品一区二区在线观看| 精品久久久久久久久久久下田 | 老司机免费视频一区二区| 国产主播精品| 乱一区二区av| 一区二区日韩免费看| 综合色就爱涩涩涩综合婷婷| 欧美午夜精彩| 麻豆视频一区二区| 欧美女人交a| 伊人久久综合网另类网站| 在线亚洲自拍| 亚洲欧洲色图| 免费观看亚洲| 精品无人区麻豆乱码久久久| 久久亚洲人体| 亚洲精品午夜av福利久久蜜桃| 欧美国产高清| 免费精品视频最新在线| 日韩在线观看中文字幕| 偷拍中文亚洲欧美动漫| 久久久久一区| 综合激情一区| www.九色在线| 免费观看成人www动漫视频| 国产精品久久久久久久免费软件 | 1024日韩| 亚洲色图综合| 色偷偷色偷偷色偷偷在线视频| 黄色美女久久久| 日韩精品福利网| 老司机久久99久久精品播放免费 | 九一国产精品| 国产探花在线精品一区二区| 不卡一二三区| 欧美日韩国产免费观看视频| 国产麻豆精品久久| 国产成人精品亚洲日本在线观看| 91精品啪在线观看国产18| 一区在线不卡| 日本另类视频| 99视频精品| 精品国产91乱码一区二区三区四区| 在线观看一区| 日韩欧美不卡| 亚洲激情社区| 99久久人爽人人添人人澡| 亚洲精品韩国| 日韩在线观看不卡| 9国产精品视频| 精品国产中文字幕第一页| 99国内精品久久久久|