Question
A flowchart showcasing detailed planning and drawings which outline the requirements for the creation of the solution Or detailed Algorithm describing each step of the
-
A flowchart showcasing detailed planning and drawings which outline the requirements for the creation of the solution Or detailed Algorithm describing each step of the program
The problem
Problem : Designing a Taxi booking System using Java
The Taxi Booking system will have a User interface where the user will be prompted to register.After the registration the users will get the text box where they can enter their source and destination for the ride.Now once the user enter this data the application will find the nearest driver for the ride and send him a request and thus the acceptance of the ride will provide the driver for the route to be taken to pick up the user.The driver will go the user and thus can complete the ride.
NEEDS OF THE CLIENT :
The client will need a user friendly interface to interact with the system.The Java application needs to be developed using Java UI for the interaction of the user with the system.The client will need that they should be able to
a) Enter the source and destination of their ride / journey
b) Get the details of the vehicle on the system for easy identification of the vehicle
c) Get the details of the driver like name and photo for identification and security
d) Get the details of the fare for the journey
e) Pay the fare of the ride / journey using online transaction or offline transaction
NEEDS OF THE CLIENT :
The Java application needs to be developed using Java UI for the interaction of the user with the system.The client will need the features stated above and they can be achieved by
a) Providing the text boxes to enter the source and destination of their ride / journey and to pass the values to be stored in the Java program/application
b) Provide the message box on the application which shows the details of the vehicle on the system for easy identification of the vehicle
c) Providing the message box on the application which shows the details of the driver like name and photo for identification and security
d) Providing a message pop up after the completion of the ride/journey to show he details of the fare for the ride/journey
e) Pay the fare of the ride / journey using online transaction or offline transaction
USER INTERACTION AND END RESULT :
The user will get a User interface which is easy to navigate and select options at each step which means that the user should get an Interface which is user friendly and has good reliability.The User interaction will involve all the needs as stated above in the NEED OF CLIENT section of the answer. The User interaction with the Java Application / program can be understood with data flow in the Java application.
1.First the Data of the vehicles and driver associated with that vehicle is stored in the program
2.Then the Message boxes and other messages can also be stored in the program/application which is to be shown to the user.
3.When the user opens the application the user gets two text boxes to enter the source and destination the user can also get suggestions from the previously stored data in the application for the sources and destination.
4.The user data of source and destination is entered in the Java program
5.Now based on the data entered by the user the driver and vehicle is allocated to the user
6.Now the Data of the driver and vehicle is shown using message box on the screen of the user
7.The data for the route to be taken is provided to the driver based on the source and destination of the user
8.Now the user gets the fare of the ride taken on the application which is calculated based on the distance travelled and the rate for each km travelled.
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