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

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

PROG2004代做、代寫C/C++編程設(shè)計
PROG2004代做、代寫C/C++編程設(shè)計

時間:2024-12-03  來源:合肥網(wǎng)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


 

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

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

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    日韩视频免费在线观看| 国产高潮呻吟久久久| 99精品欧美一区二区三区| 国产精品美女呻吟| 欧美性一区二区三区| 久久狠狠久久综合桃花| 亚洲一区二区三区久久| 国产日本欧美在线| 国产精品吊钟奶在线| 欧美亚洲在线播放| 国产v亚洲v天堂无码| 欧美在线www| 91精品久久久久久久久久久 | 欧美激情精品在线| 免费看欧美黑人毛片| 久久视频国产精品免费视频在线| 色视频一区二区三区| 成人国产精品日本在线| 精品国产一二| 免费在线一区二区| 日韩视频精品在线| 日韩精品久久久| 久久久天堂国产精品女人| 国产99久久精品一区二区永久免费 | 亚洲精品免费一区二区三区| 国产女同一区二区| 久久777国产线看观看精品| 欧美极品日韩| 色噜噜狠狠狠综合曰曰曰 | 久久国产精品久久| 色播五月综合| 久久久欧美一区二区| 亚洲精品中字| 91国语精品自产拍在线观看性色| 伊人精品久久久久7777| 国产日韩欧美二区| 欧美大胆在线视频| 国产日韩欧美91| 欧美激情综合色综合啪啪五月| 国产人妻人伦精品| 伊人网在线免费| www.欧美日本| 亚洲二区三区四区| 久久综合精品一区| 日日鲁鲁鲁夜夜爽爽狠狠视频97| 久久婷婷五月综合色国产香蕉 | 久久久久狠狠高潮亚洲精品| 青青草国产免费| 国产精品无码乱伦| 免费毛片网站在线观看| 美日韩精品视频免费看| 高清一区二区三区日本久| 在线观看福利一区| 久久久久久99| 欧日韩一区二区三区| 国产精品日本一区二区| 国产一区国产精品| 一区二区三区国| 91精品国产精品| 日韩精品视频久久| 久久精品国产亚洲精品| 精品一区久久| 真实国产乱子伦对白视频| 国产精品69页| 欧美精品99久久| 久久国产精品久久久久久| 国产精品亚洲αv天堂无码| 亚洲熟妇无码另类久久久| 国产成人一区三区| 精品日本一区二区| 在线一区高清| 丝袜美腿精品国产二区| 国产日韩欧美黄色| 午夜dv内射一区二区| 久久精品欧美视频| 国产一区二区在线播放| 亚洲精品一区二区三| 久久视频精品在线| 国产精品尤物福利片在线观看| 婷婷五月色综合| 国产精品久久久久久久久久久久午夜片| 国产一区二区在线免费| 午夜探花在线观看| 久久综合久久美利坚合众国| 久久伊人资源站| 国产日韩欧美在线| 日本韩国欧美精品大片卡二| 国产精品第12页| 国产成人一区二区| 国产欧美日韩综合一区在线观看| 亚洲不卡中文字幕无码| 国产成人无码精品久久久性色| 国产女人18毛片| 日本a级片在线播放| 美女视频久久黄| 久久精品国产一区二区电影| 91精品视频在线| 国产又大又长又粗又黄| 日韩精品一区二区三区不卡| 在线一区日本视频| 久久精品视频在线播放| 国产精品12345| 国产视频一区二区不卡| 欧美一区二区中文字幕| 欧美一区二区三区在线免费观看| 国产精品美女免费| av一区二区三区免费观看| 韩国视频理论视频久久| 人体内射精一区二区三区| 亚洲一区二区在线观| 久久五月天色综合| 日韩视频免费大全中文字幕| 91国产精品视频在线| 国产欧美日韩亚洲精品| 麻豆精品视频| 青青在线视频免费观看| 午夜精品蜜臀一区二区三区免费| 欧美极品在线视频| 久久中文字幕国产| 国产精品日韩电影| 久久久噜噜噜久噜久久| 91九色在线免费视频| 国产欧美久久久久| 欧美 日韩精品| 人人妻人人添人人爽欧美一区| 天天爱天天做天天操| 亚洲一区三区在线观看| 欧美精品福利视频| 久久亚洲精品网站| 国产精品乱码视频| 国产精品美女久久久久av超清 | 国产精品50p| 97免费视频观看| 国产原创精品| 国产肉体ⅹxxx137大胆| 国产在线视频91| 激情欧美一区二区三区中文字幕| 热re99久久精品国99热蜜月| 亚洲免费av网| 亚洲视频精品一区| 亚洲第一精品区| 欧美一区二区色| 三级网在线观看| 日本国产精品视频| 欧美资源一区| 欧美高清视频一区二区三区在线观看| 欧美专区日韩视频| 韩国一区二区av| 免费av观看网址| 国产女教师bbwbbwbbw| 成人久久一区二区| 国产精品一区二区三区久久| www日韩在线观看| 久久手机在线视频| 久久久久久久久久福利| www.欧美三级电影.com| 精品国产依人香蕉在线精品| 国产精品欧美在线| 精品伦精品一区二区三区视频| 久久69精品久久久久久久电影好| 亚洲一区二区高清视频| 欧美久久精品一级黑人c片| 国产精品福利小视频| 国产精品久久久久久久久久久久久 | 国产国语刺激对白av不卡| 久草热久草热线频97精品| 国产二级片在线观看| 久久久久久免费精品| 国产精品男人的天堂| 久精品免费视频| 午夜视频久久久| 欧美亚洲伦理www| 俄罗斯精品一区二区三区| 国产成人综合精品在线| 久久精品国产一区| 精品国产一区二区三区麻豆小说| 亚洲一区二区在线| 青青青在线播放| 国产内射老熟女aaaa| 91高清视频免费| 久久天堂电影网| 欧美精品在线免费观看| 一级一片免费播放| 日韩视频免费播放| 国产原创精品| 久久综合毛片| 国产精品久久久久久久久免费看| 欧美激情18p| 日韩精品一区二区三区电影| 国产在线不卡精品| 久久久最新网址| 欧美成年人视频网站| 日韩中文字幕一区| 狠狠色狠狠色综合人人| 久久网站免费视频| www国产91| 欧美激情免费在线| 日韩久久久久久久久久久久| 国产亚洲欧美另类一区二区三区| 91精品国产高清久久久久久久久|