Question
Project Description A telephone book system, also known as a telephone directory, telephone address book, or Phone book, is a listing of telephone subscribers in
Project Description
A telephone book system, also known as a telephone directory, telephone address book, or Phone book, is a listing of telephone subscribers in a geographical area or subscribers to services provided by the organization that publishes the directory. Its purpose is to allow the telephone number of a subscriber identified by name and address to be found.
Project Features
The features of telephone book system are mainly related to adding, listing, searching, sorting, modifying and deleting telephone directory-related records. All these operations are done through Array-List.
The information contained in the telephone directory records are the first name, last name, phone number, city,address, sex and email of the person whose record is entered in the telephone directory system.
Project Operations
Write a JAVA program that will maintain a phone directory using a Array-List. The program should be able to perform the following operations:
1) Add persons details (first name, last name, phone number, city, address, sex and email) to the phone directory, where phone numbers in the directory have to be unique. (Note: each person record will store in one node in the Array-list and insert each person to the last)
2) Delete any person details by a given phone number.
3) Update telephone number by providing person first name.
4) Display all details of persons from a phone directory.
5) Search telephone number based on person first name. (Note: use sequential search to find all telephones for the given first name)
6) Sort all persons in the phone directory ascending based on person first name. (Note: use sorting algorithm from your study to arrange the entire phone directory)
Project Outputs
The output has to display a menu of choices. Then the user can select which operation want to perform. Also, you can use the method System.exit(0); to exit the program. The menu of choices will be:
1) Add person details into the telephone book.
2) Remove a person from the telephone book.
3) Update a telephone number by providing person first name.
4) Display the entire telephone book.
5) Search a telephone number based on person first name.
6) Sort the entire telephone book.
7) Exit the program.
Project instructions
1) The total grade for the project is 05 marks.
2) The first 4 lines should be comments have your name, ID No & group Youre your project No.
3) Each student must implement the project individually without any participation with other students.
4) Your program has to be split into several appropriate functions and classes.
5) You need to use descriptive variable names by using comments.
6) The style and readability of your program will also determine your grade, in addition to the correctness of the program.
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