Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The TMS helps a company to manage employees, vehicles, and trips. The system loads data of employees, vehicles, and trips from text files when the
The TMS helps a company to manage employees, vehicles, and trips. The
system loads data of employees, vehicles, and trips from text files when
the program starts. Then the program displays a menu so that a user can
choose what to do Such as displaying data, finding data, and saving
data into text files.
A company TMS application initially loads data on employees, vehicles,
and trips from text files.
The format of a driver record contains data like
John,Smith, Victoria St Hurstville
NSWAVAILABLE
A drivers record contains an employee number, first name, last name,
date of birth, address, postcode, license number, and status.
The format of a mechanic record contains data like
Paris,Hilton, Hilton St Melbourne
Vic,ASUPPORT
A mechanical record contains the same fields as a driver. The last two
fields are qualification number and experience.
The format of a truck record contains data like
ALUK
Each truck record contains a registration number, capacity, and weight.
The format of a trip record contains data like
PKR
Sydney,Melbourne
Melbourne,Hobart
Hobart,Perth
Perth,Adelaide
Adelaide,Wollongong
A trip consists of a trip number, trip date, drivers employee number,
truck registration number, and trip leg information.
Each trip may have one or more trip legs. An integer number below a trip
number indicates how many total trip legs. Then it is followed by the
number of rows for the trip legs of the trip. Each trip leg consists of
a leg number, departure city name, and destination city name.
After loading the data into the containers, the TMS displays a menu and
gets the users requirements.
The program can display all employees, trucks and trips according to the
users requirements.
The program can search and display an employee, a truck or a trip
information if it exists.
A user can input trip information and add the new trip to the container.
The program can save data of employees, trucks, and trips from the
containers to text files. develop a Design Class Diagram for the TMS above
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