Categories: Uncategorized

Phone Book Programming Project We are in need of a phone book which we can store individuals’ first and last names, addresses, and phone numbers. Contacts

Phone Book Programming Project We are in need of a phone book which we can store individuals’ first and last names, addresses, and phone numbers. Contacts should be sorted alphabetically.

For the implementation, we will need a class for Contact objects. This Class will contain the attributes for the first and last name, address and phone number.

Don't use plagiarized sources. Get Your Custom Essay on
Phone Book Programming Project We are in need of a phone book which we can store individuals’ first and last names, addresses, and phone numbers. Contacts
For $10/Page 0nly
Order Essay

A Second class will be your AddressBook Container class. This will have an aggregate relationship with the Contact class. This means it will have and maintain the sorted list of Contacts.

The container class can be either a linked list or an array style list. If you choose to make an array style list, you should implement a binary search to find contacts.

When the program starts it should open to a main menu with choices:

Add Contact
Find Contact
Edit Contact
Delete Contact
Display Current Contact

If there is existing data, your list should populate from the list. When you change the list. The data file should be updated. AddressBook
PersonContainer:This is either an array
list or linked list. The list needs to be
sorted
Current Position
+AddressBook()
+addContact(Contact):void
+delete Contact(Contact)
+findContact(Name):int
+getCurrent():Void
+MakeEmpty():Void
+^AddressBook()
Contact
+firstName:string
+lastName:string
+Phone Number
+Address:string
+Contact():void

Purchase answer to see full
attachment

admin

Recent Posts

Economic Debate #3- Progressive Income Tax – The Homework Helper

Economic Debate- Progressive Income Tax For this Economic Debate, we are going to discuss the…

2 years ago

MKT 6120 – Marketing Management – Davis Learning Engagement #7

TOPIC: Going Global Discussion Thread 1 (initial post due Wednesday for full credit) Please note:…

4 years ago

jvjvjhvjhvhjvj

Assignment Topic This week will culminate in the creation of a narrated PowerPoint to create…

4 years ago

Students are supposed to select a technological organization of their choice.

The Assignment must be submitted on Blackboard (WORD format only) via allocated folder. Assignments submitted…

4 years ago

Increases the risk of wildfires

you need to post your 2-page information flier to share with your Final Project Group.…

4 years ago

Statistics for Technology management

discussion: Discuss the methods used at your company to measure and ensure quality products and…

4 years ago