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

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

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

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

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

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

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

          9000px;">

                日韩欧美电影一区| 国产午夜亚洲精品理论片色戒 | 成人视屏免费看| 精品国内二区三区| 国产成人免费视频网站高清观看视频| 国产亚洲一区二区三区| 色婷婷亚洲一区二区三区| 一级中文字幕一区二区| 91精品国产色综合久久| 国产很黄免费观看久久| 中文字幕欧美一区| 欧美日韩精品专区| 国产精品18久久久久久vr| 1024成人网| 日韩午夜av电影| 99久久久无码国产精品| 日韩不卡一二三区| 国产欧美日韩三区| 欧美日本视频在线| 国产一区二区不卡老阿姨| 亚洲免费av高清| 精品久久久久久久久久久久久久久久久| 风流少妇一区二区| 丝袜美腿亚洲一区二区图片| 国产婷婷一区二区| 91精品欧美久久久久久动漫 | 日本精品一级二级| 免费高清在线一区| 亚洲品质自拍视频网站| 日韩精品综合一本久道在线视频| 成人精品一区二区三区四区 | 精品国产成人系列| 一本久道久久综合中文字幕| 男男视频亚洲欧美| 亚洲欧美国产77777| 精品奇米国产一区二区三区| 在线免费观看成人短视频| 成人免费高清视频在线观看| 蜜臀av国产精品久久久久 | 国产亚洲综合色| 欧美精品色综合| 91一区二区三区在线观看| 国产一区二区剧情av在线| 看电视剧不卡顿的网站| 青青草原综合久久大伊人精品 | 日韩 欧美一区二区三区| 日本一区二区三区免费乱视频 | 成人app网站| 国产一区二区视频在线| 天堂久久久久va久久久久| 亚洲人成小说网站色在线 | 日韩黄色免费电影| 亚洲黄一区二区三区| 国产精品国产三级国产a| 国产日韩三级在线| 欧美激情在线观看视频免费| 日本一区二区三区dvd视频在线| 精品久久久久久久一区二区蜜臀| 欧美一卡二卡三卡四卡| 91精品国产福利| 日韩一二在线观看| ww久久中文字幕| 欧美激情综合在线| 亚洲人成精品久久久久久| 国产精品久久久久aaaa| 亚洲欧美色一区| 亚洲一区二区三区影院| 午夜不卡在线视频| 麻豆国产欧美一区二区三区| 国产一区二区三区四 | 美女尤物国产一区| 久久99国产精品尤物| 国产麻豆精品一区二区| 成人精品一区二区三区四区| 一本色道亚洲精品aⅴ| 91国偷自产一区二区三区成为亚洲经典 | 免费av成人在线| 精彩视频一区二区三区 | 男男gaygay亚洲| 国产一区在线视频| 国产精品白丝av| 91丨porny丨首页| 欧美人妇做爰xxxⅹ性高电影| 欧美成人性福生活免费看| 国产色一区二区| 91影院在线观看| 欧美色国产精品| 精品久久久影院| 亚洲美女免费在线| 极品少妇一区二区三区精品视频| 成人av午夜电影| 日韩一区二区三区av| 欧美国产精品专区| 五月天网站亚洲| 成人精品小蝌蚪| 6080国产精品一区二区| 欧美一区二区三区免费观看视频 | 风间由美一区二区av101| 色丁香久综合在线久综合在线观看| 欧美日韩激情在线| 中文字幕欧美日本乱码一线二线| 亚洲一区中文在线| 国产成人av资源| 制服.丝袜.亚洲.另类.中文| 国产精品久线在线观看| 久久99在线观看| 91国偷自产一区二区三区成为亚洲经典| 日韩一级高清毛片| 亚洲国产欧美在线| 一本大道av伊人久久综合| 日本一区二区三区国色天香 | 成人高清视频免费观看| 日韩欧美不卡一区| 午夜精品福利一区二区三区蜜桃| 91免费精品国自产拍在线不卡| 久久只精品国产| 国产在线精品一区二区不卡了| 555www色欧美视频| 婷婷久久综合九色综合绿巨人| 91在线看国产| ...av二区三区久久精品| 成人永久免费视频| 国产精品你懂的| 成人一区二区三区在线观看| www亚洲一区| 国产激情视频一区二区在线观看| 日韩精品中文字幕一区| 日韩成人精品在线观看| 欧美一级理论性理论a| 丝袜美腿亚洲色图| 精品污污网站免费看| 日日夜夜精品免费视频| 欧美猛男超大videosgay| 亚洲国产一区二区三区| 欧美日韩精品系列| 亚洲福利视频一区| 欧美日韩精品久久久| 免费高清成人在线| 日韩欧美专区在线| 国产一区不卡视频| 欧美极品aⅴ影院| 在线观看一区日韩| 日韩av电影免费观看高清完整版| 精品欧美一区二区在线观看| 国产高清精品久久久久| 中文字幕在线观看一区二区| 欧美亚一区二区| 久久97超碰国产精品超碰| 欧美一区二区三区男人的天堂 | 亚洲成人1区2区| 欧美高清视频一二三区 | 国产精品99久久久久久宅男| 久久综合五月天婷婷伊人| 国产成人99久久亚洲综合精品| 欧美高清在线一区| 欧美唯美清纯偷拍| 亚洲国产精品久久久久秋霞影院 | 亚洲猫色日本管| 欧美乱妇15p| 国产一区二区不卡老阿姨| 亚洲欧洲日韩综合一区二区| 在线精品视频小说1| 经典三级视频一区| 精品99一区二区三区| 91丝袜呻吟高潮美腿白嫩在线观看| 亚洲国产精品自拍| 欧美激情在线一区二区| 色一情一伦一子一伦一区| 久久精品国产一区二区三| 欧美国产日韩a欧美在线观看| 91视频www| 国产精品主播直播| 亚洲大尺度视频在线观看| 中文字幕欧美日韩一区| 制服丝袜亚洲精品中文字幕| a4yy欧美一区二区三区| 久久99精品久久久久久动态图| 亚洲另类在线一区| 国产女人18水真多18精品一级做| 欧美日韩黄色一区二区| 99免费精品视频| 国产一区二区不卡| 午夜久久福利影院| 亚洲精品水蜜桃| 国产精品乱人伦一区二区| 精品国精品自拍自在线| 日韩午夜在线播放| 欧洲一区二区av| 9l国产精品久久久久麻豆| 国产精品一区二区在线观看网站 | 亚洲国产精品一区二区www| 国产精品欧美一区二区三区| 欧美精品一区二区三区四区 | 欧美乱熟臀69xxxxxx| 91久久香蕉国产日韩欧美9色| 国产成人免费在线视频| 韩国成人福利片在线播放| 日韩va亚洲va欧美va久久| 五月天丁香久久| 日本一区中文字幕|