1. Homepage
  2. Exam
  3. [2022] UOW - CSIT121 Object Oriented Design and Programming - Final Exam - Q2 Project Team Manager

[2022] UOW - CSIT121 Object Oriented Design and Programming - Final Exam - Q2 Project Team Manager

This question has been solved
Engage in a Conversation


CourseNana.COM

Question 2 CourseNana.COM


CourseNana.COM

Write a Java program to allow user to manage project teams and project members. Each project team has a unique name, and it can include many project members. Each project member has a unique id, name and email (unique). CourseNana.COM

The details of the classes are given as follows: CourseNana.COM


CourseNana.COM


CourseNana.COM


CourseNana.COM

class CourseNana.COM

ProjMember CourseNana.COM

Instance variables CourseNana.COM

id, name and email of a member. CourseNana.COM

You may decide the type of each instance variable. CourseNana.COM

You may include additional variables as you deem fit. CourseNana.COM

Constructor CourseNana.COM

A non default constructor that receives parameters and initialises the instance variables. CourseNana.COM

Get and set methods CourseNana.COM

Include get and set methods for all instance variables. CourseNana.COM

Other methods CourseNana.COM

You may include additional methods as you deem fit. CourseNana.COM

toString CourseNana.COM

Return a descriptive String of the instance. CourseNana.COM

  CourseNana.COM

  CourseNana.COM

class CourseNana.COM

ProjTeam CourseNana.COM

Instance variables CourseNana.COM

Team name CourseNana.COM

Members of the team. Hint: ArrayList<ProjMember> CourseNana.COM

You may decide the type of each instance variable. CourseNana.COM

You may include additional variables as you deem fit. CourseNana.COM

Constructor CourseNana.COM

A non default constructor that receives one parameter which is the name of the project team. CourseNana.COM

Get and set methods CourseNana.COM

Include get and set methods for all instance variables. CourseNana.COM

Other methods CourseNana.COM

You may include additional methods as you deem fit. CourseNana.COM

toString CourseNana.COM

Return a descriptive String which includes the detail of each project member in the team. CourseNana.COM

  CourseNana.COM

The program will maintain a list of project team and a list of project members. When the program is started, both lists are empty. The program will allow the user to perform the following operations repeatedly: CourseNana.COM

1 Add member CourseNana.COM

2 Remove member CourseNana.COM

3 Add project team CourseNana.COM

4 Add member to project team CourseNana.COM

5 Remove member from project team CourseNana.COM

6 Print all teams CourseNana.COM

7 Quit CourseNana.COM


CourseNana.COM

CourseNana.COM

You may assume that the input values of project name, member id, name and email will be in the correct type and format. CourseNana.COM


CourseNana.COM

Option 1 Add member CourseNana.COM

The program will prompt the user to enter id, name and email of a member. The program must check that the id and email do not belong to an existing project member in the member list. If the values are valid, the program will add it as a ProjMember instance into the member list. Otherwise, the program will display an appropriate message. CourseNana.COM


CourseNana.COM

Option 2 Remove member CourseNana.COM

The program will prompt the user to enter an id, find the ProjMember instance in the member list that matches the id, and remove the instance from the list If there is no matching instance, the program will display an appropriate message. If an instance is found, the program must check if the instance is assigned to any project team. If it is assigned, the program will not remove the instance but will display an appropriate message. CourseNana.COM


CourseNana.COM

Option 3 Add project team CourseNana.COM

The program will prompt the user to enter the name of a project team. The program must check that the name does not belong to an existing project team in the project list. If the name is valid, the program will add it as a new instance in the project list. Otherwise, the program will display an appropriate message. CourseNana.COM


CourseNana.COM

Option 4 Add member to project team CourseNana.COM

The program will prompt the user to enter a project team name and a member id. The program will check if there is a matching project team (in the project list) and project member (in the member list). If there is no matching project team or member, the program will display an appropriate message. Otherwise, the program will add the member to the project team. CourseNana.COM

Get the Solution to This Question

WeChat WeChat
Whatsapp WhatsApp
CSIT121代写,Object Oriented Design and Programming代写,University of Wollongong代写,UOW代写,CSIT121代编,Object Oriented Design and Programming代编,University of Wollongong代编,UOW代编,CSIT121代考,Object Oriented Design and Programming代考,University of Wollongong代考,UOW代考,CSIT121help,Object Oriented Design and Programminghelp,University of Wollongonghelp,UOWhelp,CSIT121作业代写,Object Oriented Design and Programming作业代写,University of Wollongong作业代写,UOW作业代写,CSIT121编程代写,Object Oriented Design and Programming编程代写,University of Wollongong编程代写,UOW编程代写,CSIT121programming help,Object Oriented Design and Programmingprogramming help,University of Wollongongprogramming help,UOWprogramming help,CSIT121assignment help,Object Oriented Design and Programmingassignment help,University of Wollongongassignment help,UOWassignment help,CSIT121solution,Object Oriented Design and Programmingsolution,University of Wollongongsolution,UOWsolution,