Answered step by step
Verified Expert Solution
Question
1 Approved Answer
So im working on a java program for one of my classes and i need to make a booking system for driving road test. I
So im working on a java program for one of my classes and i need to make a booking system for driving road test. I want to have like already existing users hard coded. I want this code to be simple, nothing too hard. Make sure you go through the program description as i explained the part nicely. I also made a class digram that you can use if you want. Remember this code should be on Java, and make it simple. One more thing, if you want to get a good understanding of how the booking system should look like, you can go on the ontario booking road test, but i dont think youll need it
The hard coded objective should have the users full name, address, and drivers license number
I will give you a thumps up
Program Description:
User being verified
Existing Users: When the program starts, the users will be asked to enter their driver's license number to verify their identity. The License number should look like something like S
If the driver's license number matches an existing entry in the database, the user is verified and proceeds to the appointment booking.
If there is no match, the user will need to register
New users will need to register inro the system by entering their name, email address, driver's license number, and its expiry date. Once they are registered in the system then these details are added to the system's database where if they want to access their data they can.
New users will also be asked to enter their class level in order to book an appointment. Which is G or G
Booking an Appointment
Once they put in their drivers license number and is verified, then the users can book a road test for classes G or G
The system displays available dates and times for appointments in real time, and the user will select their preferred date and time for the test.
Appointment confirmation
Once they picked an appointment, the user will be asked to double check their date time before confirming.
Once its confirmed, the appointment details includes like the date and time, which is being displayed to them. After that it will ask the user if they want to get the confirmation email to be sent to the user's registered email address. The email will include their name, driver license details, and the appointment details.
Managing appointments
If the users need to reschedule or cancel their appointment, they can do so by re entering their driver's license number or their full name to access their booking.
If they decide to change their appointments, they would need to do it before hours, then it'll be updated in with our real time and reflected in the system right after.
The user should be able to book once, not twice.
Help and support
During the step, if the user gets stuck then the code will give them an option where they can call a support number, which will be an option and when they click that itll give them a code like C and they can visit the booking center with a code generated by the system for further help. Once they click that part, itll print how some steps that can help them and it'll ask if they want to restart their code or continue entering their drivers license number to be verified
System Loop
The system continuously loops to accommodate new bookings, rescheduling, or cancellations. All appointments are stored in an array
Class digram is in the picture
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started