Closed

simple coding project to make phonebook with linkedlist

(Use prewritten code attached)

Create a menu-driven application that will have the following options:

1.) Create PhoneBook (will prompt user for name of file to use as input) readFileCreateObject();

2.) Display Entire PhoneBook (in alpha order by last name, and then first name) printLinkedList();

3.) Find a Specific PhoneBook Entry (using user input of last name and first name) findAnEntry();

4.) Add a Specific Phone Book Entry (add it in the correct location of the linked list) addAnEntry();

5.) Change a Specific Phone Book Entry (ex. change the phone or email) changeAnEntry();

6.) Remove a Specific Phone Book Entry (make sure linked list is not "broken" from the removed node) removeAnEntry();

7.) Try-Catch blocks must be implemented to process any File IO Exceptions, as well as Input Format Exceptions from the user's entry of data.

For example, in any method that you ask the user to enter data (find, add, remove), be sure to use a try-catch block to catch the InputMismatchException.

Additionally, put the entire try-catch block in a while loop, checking the status of a boolean "mismatch" flag that will initially be set to true, and when you successfully

input all values, will be set to false.

Note:

To create the linked list of the Phone Book, follow these instructions:

1.) Create a program that will read an input file of at least 50 records for an address book.

2.) Each record read will be used to create an object called PhoneBook, consisting of the following 5 String attributes: firstName, lastName, cellPhoneNumber, emailAddress

3.) Each object created will become a node in a linked list address book, where the order of the linked list will be determined by alphabetical order or lastName followed by firstName.

For example, if there are 2 entries with the same last name, a sequential search through the nodes will take place to find the location to insert the new node by first name.

4.) Once all the nodes have been inserted in the linked list, iterate through the entire linked list and print all the nodes in alphabetical order by last name and then first name. Include the phone number and email address in the display.

5.) Try-Catch blocks must be implemented to catch any IO Exceptions, and process them gracefully.

Hints:

a.) Loop to display the menu, until the user selects to exit

b.) Evaluate the user's selection using a switch - case statement

c.) Create methods for each of the functions mentioned above.

More Hints:

Try to reuse code that is already there. For example, in the method called addAnEntry(), you can do some preliminary work like getting the new phone book entry from the user, creating a PhoneBook object, and then calling the method addToLinkedList(candidateEntry); to reuse code. Similarly, in the changeAnEntry() method, you can call the findAnEntry() method, then call the removeAnEntry() method, and then the addAnEntry() method.

Skills: Java

See more: freelance coding simple project, simple project coding, java simple project coding, simple project coding java, coding simple html project, iphone app coding simple, html coding simple pages, oracle project coding

About the Employer:
( 0 reviews ) United States

Project ID: #12191589

22 freelancers are bidding on average $93 for this job

it2051229

Hi there, I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.

$30 USD in 1 day
(926 Reviews)
7.4
NovaSofts

Hello Sir/Mam NovaSofts Inc. is the leading IT Company of Islamabad Pakistan. We have 9+ years of experience and strong knowledge about programming languages Java C++ C C# Android So you don't worry about thir More

$30 USD in 1 day
(73 Reviews)
5.7
$100 USD in 3 days
(91 Reviews)
5.9
quanlitysource

I am prof java developer. let me help you with this assignment. Plz PM for more information. Thanks

$55 USD in 3 days
(78 Reviews)
5.6
wizard2015

Dear sir/madam, I am experienced developer (please check my freelancer profile and customer reviews for more details) and I can complete this project for you. We can discuss all details in the private chat. I make war More

$55 USD in 2 days
(33 Reviews)
5.4
wangbeizou

Hello. Employer. I have read and understood the project. I'm an Expert in Data Structures and Algorithms. And I know well ; Java ,C/C++, Python ,PHP. I'm interested this project. So, firstly I want to discuss More

$70 USD in 1 day
(41 Reviews)
5.2
ig149

Hi , Java Expert here , well i have understand your task really well , it will be done in very short time . Looking forward to work with you . thanks

$88 USD in 3 days
(61 Reviews)
5.3
iridescent2x15

I m software engineer. I have read the description and I would like to work for you. For further details please inbox me. Thank you

$50 USD in 3 days
(28 Reviews)
5.0
vibearning

Hi, I can complete this phone book application for you. Lets discuss more on chat Thanks and Regards Vibearning

$100 USD in 5 days
(9 Reviews)
4.4
$150 USD in 3 days
(12 Reviews)
4.3
sud1312

Hi, We are a team of experienced programmers well versed in java [url removed, login to view] are OCJP certified. We have good knowledge of Collections, IO programming and [url removed, login to view] have worked on such kind of projects earlier an More

$111 USD in 2 days
(22 Reviews)
4.1
MohamedFouad

hello, I can get this done to you in no time at all, award me the project and I will get it done tonight.

$55 USD in 1 day
(5 Reviews)
3.3
sadaf03

Expert in Java programmiing and data structure linked list doubly link list trees stacks queues and graphs. implemented my own notepad++ using linked list

$50 USD in 1 day
(5 Reviews)
2.8
tvramesh

I have 6+ years of professional experience writing code in java and j2ee. I am familiar with Java, Swing JavaFX, J2ee, web applications, frameworks.I have B.S and M.S in Computer Science. Please feel free to chat if y More

$222 USD in 4 days
(4 Reviews)
2.7
$50 USD in 2 days
(3 Reviews)
1.8
Ferinota

More than 5 years experience in programming, especially in java. I can do your work in less time if you want.

$30 USD in 4 days
(3 Reviews)
1.6
Gibberfish

I am a graduate student who deals with Object Oriented Programming daily. This is a fairly simple task that would be easy to write code for, in a day. For a task like this, I can guarantee good looking, easy to read, t More

$30 USD in 1 day
(0 Reviews)
0.0
hastag

We develop mobile friendly & dynamic website with an advanced Content Management System and a personalised Administrative Login Panel for Customer Relationship Management. We also provide features like S.E.O., G.L.L., More

$500 USD in 6 days
(0 Reviews)
0.0
goshinaga

I am a passionate programmer with experience in programming java applications. I am a hard worker and problem solver and i want to apply my skills to create the application you have outlined

$66 USD in 3 days
(0 Reviews)
0.0
DTechs

We have over 10 years of programming,having programmed extensively in C++C#,MT4,Java, C,VB, AI, Excel programming etc and many more languages. Ability to consult and Program to clients need and ensuring deadlines(Si More

$188 USD in 3 days
(0 Reviews)
0.0