Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

It is assumed that you need to design the software for Fine Management System fo

ID: 3912810 • Letter: I

Question

It is assumed that you need to design the software for Fine Management System for Road and Transport Authority. As the part of the assignment you need to design the set of classes used for the IS tool. Apply your thought and design the set of classes. Every driver is registered with Road and Transport Authority and the fine system is based on the number plate of the vehicle. If the driver commits ant mistake while driving, the mistake gets registered with the system. Based on the mistake conducted, the fine amount is picked up from the system and is updated with the registration number of the driver. The system then sends SMS to the driver of the fine amount and last date of the amount payment. You are free to design the IS tool using as many classes as possible with the set of attributes and methods.

Explanation / Answer

For the above Fine Management System for Road and Transport Authority, we can easily make 3 classes and that will be enough:-

1. Driver Class:- (Details of every registered driver)

Attributes:- int driverId,

String driverName,

String vehicleNo,

String vehicleType,

String address,

Methods:- Driver() //constructor

payFine() //pay fine (NOTE:-additional method)

2. MistakeList Class:-

Attributes:- int mistakeId,

String mistakeDescription,

int fineAmount,

Methods:- calculateFine(mistakeId) //calculate fine according to mistake

3. Authority Class:- (System that controls the software)

Attributes:-String mistake,

int fine,

date DueDate,

Methods:- registerDriver() //register driver to System ,

registerMistake() //register mistake to driverId ,

calculateLastDate() //calculate last date to pay fine ,

sendSMStoDriver() //send SMS to driver with last date.

=============================================================================

Thanks for asking....Keep on Chegging... :)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote