Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

School Management System ( SMS ) General Instructions: 1 - The project must be done in a team of two students. Working alone is not

School Management System (SMS)
General Instructions:
1- The project must be done in a team of two students. Working alone is not allowed. If there are
odd number of students, the Lecturer/Lab Assistant may allow a group of three students.
2- The coding should be equally divided among all members, based on classes. Each student
should put his name and ID in the comments for the class implemented by him.
3- Phase 1 is to understand the requirement analysis and design and write code for each class.
4- In Phase 2, the user interface will be created, and minor changes will be introduced to all the
existing classes. Then the code from all members will be integrated in a single Java project.
Task: Using the Requirement Analysis and Class Diagram, the students should write the java code for
all the classes provided below. All the methods (mentioned in the design) should be implemented.
Description:
School Management System is an Application which can be used to manage the working of any
School. The Requirement Analysis of the SMS is provided below along with the first stage Class
Diagram. Here, we see about the classes and the relationship involved in School Management System.
Classes :
SchoolManagement - This class contains the overall details of the school.
Classroom - This class contains the details of the classroom.
Student - This class is the base class of two child classes - Primary student and Higher
Secondary Student. Since Primary Student is a Student and Higher Secondary Student is a
Student.
Primary Student - This class is the child class of Student and contains the details of the
standard between Class 1 to Class 10.
Higher Secondary student - This class is the child class of Student and contains the
details of the standard Class 11 and Class 12.
Department - This class contains the details of the department in the School.
Lab - This class contains the lab details of any school with its necessary information.
Employee - This class is the base class of two child classes - Teacher and SupportStaff.
Since a Teacher is an Employee and SupportStaff is an Employee.
Teacher - This class is the child class of Employee and contains the details of the
teachers.
SupportStaff - This class is the child class of Employee and contains the details of the
support staff like nonteaching staff, bus drivers, etc.
NoticeBoard - This class contains the details of the noticeboard and its information.
Bus - This class displays the details of the bus for each area and also the driver details for
a particular bus and the areas visited by the bus.
Equipment - This class is the base class of two child classes - Lab Equipment and Class
Equipments. Since Lab Equipment is an Equipment and Class Equipment is an
Equipment.
LabEquipment - This class is the child class of Equipment and it contains the details of
all the equipment needed for the lab like test tubes, microscope, computers, etc.
ClassEquipment - This class is the child class of Equipment and it contains the details of
all the equipment needed for any classroom like fan, bench, light.
Auditorium - This class contains the details of the auditorium of the school and the
details associated with it like seat details, event details etc.
Playground - This class contains the details of the playground of any school and it also
shows whether the playground is occupied or not
Attributes :
SchoolManagement - SchoolName, Address, ContactNumber, MediumOfStudy
Classroom - ClassId, ClassName, TeacherId, StudentCount, EquipmentId
Student - StudentId, StudentName, ClassId, Section, BusId
Department - DepartmentId, DepartmentName, InchargeName, MemberList
Lab - LabId, InchargeId, LabName, EquipmentId
Employee - EmployeeId, EmployeeName, Salary, Departmentld
NoticeBoard-NewsList, InchargeName
Bus - BusId, DriverId, AreaList, BusNumber, Capacity.
Equipments - Equipmentld, Cost
LabEquipments - EquipmentName, EquipmentCount
ClassEquipments - ClassId, BenchCount, FanCount, LightCount
Auditorium - TotalSeats, SeatsOccupied, EventName, EventDate, EventTime
Playground - Area, ClassId
Methods :
SchoolManagement :
IsOpen()- This method is to check whether the school is open or not.
SchoolDetails()- This method displays the details of a school like the name of the
school, its region, its state etc.
Classroom:
ClassDetails()- This method contains the details of the classroom.
Student:
StudentDetails()- This contains the details of each and every student in the school along
with their personal details, which class they belong to.
PayFees()- This method shows the fee details of each student and allows the student to
pay the fees.
Department :
DepartmentDetails()- This class contains various departments of School like English,
Arabic, Art, etc.
Lab :
LabDetails()- This shows the details of the lab and its incharge name.
IsOccupied()- This method tells whether the lab is occupied or not.
PayFine()- This method shows the fine details of a particular student who breaks or
damages any equipment

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

More Books

Students also viewed these Databases questions