Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Programming Language Expert

Contact list project where The user enters first name, last name, street address, email address, phone number and notes.

Use Case Name: Enter a new person

ID number: 1

Actors: user

Preconditions: The user has chosen to enter a new person into the contact list Primary course: The user enters first name, last name, street address, email address, phone number and notes.

Alternate course: If the user leaves one or more of the fields blank, the person will still

be entered into the contact list.

Exception courses: If the user leaves the last name blank, then the person will not be entered into the contact list. If the list is full, the person will not be entered into the contact list.

Postcondition: The new person is stored in memory. When the user quits the program, the new person is saved to disk with the rest of the contacts.

Use Case Name: Print the contact list

ID number: 2

Actors: user

Preconditions: The user has chosen to print the entire contact list

Primary course: The system prints all information about all contacts to the console, sorted by last name.

Alternate courses: none

Exception courses: none

Postconditions: The contact list is printed to the console.

Use Case Name: Retrieve a person's information by last name

ID number: 3

Actors: user

Preconditions: The user has chosen to retrieve a person's information from the contact list by last name

Primary course: The user enters a last name, and the system displays all of the information that was previously entered on that person.

Alternate courses:

1) If there is no one in the contact list with the given last name, the system will display a message to the user telling her that.

2) If there is more than one person in the contact list with the given last name, then all of the people with that last name will be displayed.

Exception courses: none

Postconditions: A person's information is displayed.

Use Case Name: Retrieve a person's information by email address

ID number: 4

Actors: user

Preconditions: The user has chosen to retrieve a person's information from the contact list by email address.

Primary course: The user enters an email address, and the system displays all of the information that was previously entered on the person with that email address.

Alternate courses:

1) If there is no one in the contact list with the given email address, the system will display a message to the user telling her that.

2) If there is more than one person in the contact list with the given email address, then all of the people with that email address will be displayed.

Exception courses: none

Postconditions: All of the information about one or more people is displayed.

Use Case Name: Retrieve all people who live in a given zip code

ID number: 5

Actors: user

Preconditions: The user has chosen to retrieve all people from the contact list who live in a given zip code.

Primary course: The user enters a zip code, and the system displays all of the information on anyone in the contact list with that zip code.

Alternate courses:

1) If there is no one in the contact list with the given zip code, the system will display a message to the user telling her that.

2) If there is more than one person in the contact list with the given zip code, then all of the people with that zip code will be displayed.

Exception courses: none

Postconditions: All of the information about one or more people is displayed.

The following Use Case #***** would be "nice to have." This use case would replace the Use Case #***** as specified above. Do not spend any time working on this until you have a fully functioning program that satisfies the first 5 use cases.

Use Case Name: Enter a new person

ID number: 1a

Actors: user

Preconditions: The user has chosen to enter a new person into the contact list Primary course: The user enters first name, last name, street address, email address, phone number and notes.

Alternate courses:

1) If the user leaves one or more of the fields blank, the person will still be entered into the contact list.

2) If the user cancels out of the operation in the middle, the person will not be entered into the contact list.

Exception courses:

1) If the user leaves the last name and/or the first name blank, then the person will not be entered into the contact list.

2) If the user enters an email address that does not satisfy the correct syntax for an email address, the system asks the user to reenter.

3) If the user enters a phone number that does not satisfy the correct syntax for a phone number, the system asks the user to reenter.

Postconditions: The new person is stored in memory. When the user quits the program, the new person is saved to disk with the rest of the contacts.

Programming Language, Programming

  • Category:- Programming Language
  • Reference No.:- M92071147
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Programming Language

Task silly name testeroverviewcontrol flow allows us to

Task: Silly Name Tester Overview Control flow allows us to alter the order in which our programs execute. Building on our knowledge of variables, we can now use control flow to create programs that perform more than just ...

Task arrays and structsoverviewin this task you will

Task: Arrays and Structs Overview In this task you will continue to work on the knight database to help Camelot keep track of all of their knights. We can now add a kingdom struct to help work with and manage all of the ...

Extend the adworks applicationi add dialogs to allow the

Extend the AdWorks application I. Add Dialogs to allow the user to Add, Edit, Read and Delete a Customer and refresh the view accordingly. 1. The user should be able to select a specific customer from the DataGrid and cl ...

Assignment - horse race meetingthe assignment will assess

Assignment - Horse Race Meeting The Assignment will assess competencies for ICTPRG524 Develop high level object-oriented class specifications. Summary The assignment is to design the classes that are necessary for the ad ...

Assignment - horse race meetingthe assignment will assess

Assignment - Horse Race Meeting The Assignment will assess competencies for ICTPRG524 Develop high level object-oriented class specifications. Summary The assignment is to design the classes that are necessary for the ad ...

Question 1 what is a computer program what is structured

Question: 1. What is a Computer program? What is structured programming? 2. What is modular programming? Why we use it? 3. Please evaluate Sin (x) by infinite series. Then write an algorithm to implement it with up to th ...

Php amp session managment assignment -this assignment looks

PHP & SESSION MANAGMENT ASSIGNMENT - This assignment looks at using PHP for creating cookies and session management. Class Exercise - Web Project: Member Registration/Login This exercise will cover adding data connectivi ...

Assignment - proposal literature review research method1

Assignment - Proposal, Literature Review, Research Method 1. Abstract - Summary of the knowledge gap: problems of the existing research - Aim of the research, summary of what this project is to achieve - Summary of the a ...

Assignment - haskell program for regular expression

Assignment - Haskell Program for Regular Expression Matching Your assignment is to modify the slowgrep.hs Haskell program presented in class and the online notes, according to the instructions below. You may carry out th ...

Question - create a microsoft word macro using vba visual

Question - Create a Microsoft Word macro using VBA (Visual Basic for Applications). Name the macro "highlight." The macro should highlight every third line of text in a document. (Imagine creating highlighting that will ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As