Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Develop a simple Railway ticketing system that consists of a simple database (a text file). The system manages to dynamically input record/data into the database.

image text in transcribed

Develop a simple Railway ticketing system that consists of a simple database (a text file). The system manages to dynamically input record/data into the database. The data from the database can be sorted, searched and updated. User also should be able to add new records/data, remove any data and etc. What should you do? 1. Use only notepad (a text file) as your simple database. 2. The system that will be developed must use a linked list structure. Use any sorting techniques to sort your data. 4. Use any searching techniques to search for a data. 5. The development of the system must use C++ and text file only for the database. Example of the user interface for a Railway tickefing system. Main Menu Welcome to PQR Railway Ticketing System. Please select your choice: 1. Adding a new customer record 2. Updating an existing customer record 3. Search a customer record. 4. View customers record. 5. Remove a customer record. 6. Exit. Guideline: 1. When updating the existing data, you should prompt a user to enter the ID. Once the ID is ready, you have to find the ID from your file/database. Retrieve data of the database. Then you can update the data such as the new address and phone number. Of course, you cannot edit the ID, name and DOB. 2. When searching for a data, you should display the result. For example, if the data is found, the details of the data should be displayed. 3. Add function should able the new record being added into the existing database. For example, before this you have 4 records in your database, after adding a record, your file should have 5 data. 4. To view data of your record, the result should be sorted

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_2

Step: 3

blur-text-image_3

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

Systems Analysis And Synthesis Bridging Computer Science And Information Technology

Authors: Barry Dwyer

1st Edition

0128054492, 9780128054499

More Books

Students also viewed these Databases questions

Question

Discuss the Hawthorne experiments in detail

Answered: 1 week ago

Question

Explain the characteristics of a good system of control

Answered: 1 week ago

Question

State the importance of control

Answered: 1 week ago

Question

What are the functions of top management?

Answered: 1 week ago

Question

8. Managers are not trained to be innovation leaders.

Answered: 1 week ago