program for an assessment

Suoritettu Julkaistu Apr 14, 2016 Maksettu toimituksen yhteydessä
Suoritettu Maksettu toimituksen yhteydessä

Address book of friends:

Write a program that functions as an address book. It should have entries containing at least the following information: first and last name, phone number, date of birth, address, and email address. You should be able to add entries and remove entries, as well as printing out any given entry. It should save entries to a file, and be able to read in entries from a file as well.

The address book must be able to sort by at least one field (preferably last name). You may use any sort for this that you like.

The address book will almost certainly contain a fixed limit on the total number of entries. However, it should be possible to increase this limit by simply changing a single line in your program and then recompiling with no other modifications.

An excellent program will be able to sort the entries by any field (first name, last name, DOB, phone number, email address, etc).

An excellent program will be able to display only entries matching a certain criteria (only last names beginning with the letter 'M', for example).

An excellent program easily and intelligently handles the use of multiple address books (multiple files).

A spectacular program features the ability to move an entry from one address book to another.

1) Load from file

2) Save to file

3) Add an entry

4) Remove an entry

5) Edit an existing entry

6) Sort the address book

7) Search for a specific entry

8) Quit

Please choose what you'd like to do with the database:

Just a recommendation: use a variable to keep track of the number of elements currently in the address book. This value will increase when you add new entries and decrease when you remove entries. This is the variable you will use in all your for loops for iterating through the array of records.

Once this variable reaches the capacity of the array ([url removed, login to view]), the address book is "full" and no new entries can be added.

Bonus: when loading a file containing an address book, the program automatically checks if there is a friend's birthday within 3 days and prints on the screen all the close birthdays (birthdays that are today, then the ones that are tomorrow and lastly the ones that are the day after tomorrow).

Bonus 2: Use encryption and passwords for the address book files in the following way:

XOR has a property very useful in encryption: A XOR B=C; C XOR B=A, thus A is your unencrypted file, B is your password and C is the encrypted file.

You will pick a password, say "computing" and you should perform XOR between each ASCII code of the password with each byte of the file: first character of the password with first byte of the file, second character in pwd with second character in file, etc. At the end of the PWD you go to the begining character of the password.

Incidentally this is the same way WinZip is password protecting the ZIP files.

Java

Projektin tunnus: #10224795

Tietoa projektista

3 ehdotusta Etäprojekti Aktiivinen Apr 14, 2016

Myönnetty käyttäjälle:

AhmedLabib93

Hello My name is Ahmed, i'm a top rated freelancer. i worked over 150 projects and over 250 hours doing java projects. plus i passed freelancer java exam with top 20% plus i got 2 java certificate 1Z0-803 and 1Z0- Lisää

$35 USD 2 päivässä
(373 Arvostelua)
6.5

3 freelanceria on tarjonnut keskimäärin $55 tähän työhön

yajnab

A proposal has not yet been provided

$30 USD 10 päivässä
(0 arvostelua)
0.0