Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello.I want the java coding made on the java software named IntelliJ for the attatched picture task.Thank you Activity 1 (Portfolio Task): Implement classes Student,

image text in transcribed

Hello.I want the java coding made on the java software named IntelliJ for the attatched picture task.Thank you

Activity 1 (Portfolio Task): Implement classes Student, Module and StudentSupportOffice that provide the following functionality: Class Student: o Stores student id o Creates a human friendly representation of the class (i.e. toString()) o Allows a total ordering of students (i.e. students are comparable) . Class Module: o Stores module id, a class list (an array of enrolled students with default capacity for 5 students), and the current size of the class list o Allows students to be enrolled if a student is not already in the class list (while maintaining the class list in ascending order based on student id) o Allows students to be unenrolled (the class list must not have gaps that "break the sequence of enrolled students) o Creates a human friendly representation of the class (i.e. toString(), improve print outs by ignoring empty elements within the class list) Class Student SupportOffice: o Creates three modules: "CIS2344", "CIS2360" and "CIM2130" o Creates five students: "U0000001", "U0000002", "U0000003", "U0000004", "U0000005" o Enrols/unenrolls students to modules as described below Initially, students enrol to modules: Module "CIS2344" contains in its class list: o Student "U0000001" o Student "U0000004" Module "CIS2360" contains in its class list: o Student "U0000001" o Student "U0000003" o Student "U0000005" Module "CIM2130" contains in its class list: o Student "U0000003" o Student "U0000004" Student "U0000005" Subsequently, students change modules (enrol and unenroll). Finally, modules contain the following students: Module "CIS2344" contains in its class list: o Student "U0000001" o Student "U0000002" o Student "U0000003" o Student "U0000004" o Student "U0000005" Module "CIS2360" contains in its class list: o Student "U0000001" o Student "U0000002" o Student "U0000005" Module "CIM2130" contains in its class list: o Student "U0000001" o Student "U0000003" o Student "U0000004" Discuss your progress with your Tutor during practical sessions. What to include in your Portfolio: Report: Describe in your report which parts of Activity 1 have been successfully implemented IntelliJ Project: Include your Java code for Activity 1 in your Intellij project under package "Practical_11

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Datacasting How To Stream Databases Over The Internet

Authors: Jessica Keyes

1st Edition

007034678X, 978-0070346789

More Books

Students also viewed these Databases questions