Answered step by step
Verified Expert Solution
Link Copied!

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
1,John,Smith,1990-02-10,42 Victoria St. Hurstville
NSW,2456,10001,AVAILABLE
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
6,Paris,Hilton,1990-02-10,1 Hilton St. Melbourne
Vic,3000,A1234567,SUPPORT
A mechanical record contains the same 6 fields as a driver. The last two
fields are qualification number and experience.
The format of a truck record contains data like
AL08UK,50000.00,5000.00
Each truck record contains a registration number, capacity, and weight.
The format of a trip record contains data like
1,2015-01-12,1,PKR768
5
1,Sydney,Melbourne
2,Melbourne,Hobart
3,Hobart,Perth
4,Perth,Adelaide
5,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

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

Big Data Fundamentals Concepts, Drivers & Techniques

Authors: Thomas Erl, Wajid Khattak, Paul Buhler

1st Edition

0134291204, 9780134291208

More Books

Students also viewed these Databases questions

Question

What is a cause-and-effect diagram? What is its primary purpose?

Answered: 1 week ago