Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering 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 #1a would be "nice to have." This use case would replace the Use Case #1 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

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91341797
  • Price:- $40

Guranteed 36 Hours Delivery, In Price:- $40

Have any Question?


Related Questions in Computer Engineering

Sheridan company plans to introduce a new product and is

Sheridan Company plans to introduce a new product and is using the target cost approach. Projected sales revenue is $1770000 ($6.00 per unit) and target costs are $1563500. What is the desired profit per unit? $0.70 $3.0 ...

A banks assets equal its liabilities under a both

A bank's assets equal its liabilities under a. both 100-percent-reserve banking and fractional-reserve banking. b. 100-percent-reserve banking but not under fractional-reserve banking. c. fractional-reserve banking but n ...

Question discuss the advantages and disadvantages of

Question: Discuss the advantages and disadvantages of Incident Response testing. When is each type of testing appropriate? Are there situations that preclude the use of a particular type of testing? Requirement: I recomm ...

Scenario when i lived in milton vermont i owned a house out

Scenario: When I lived in Milton, Vermont, I owned a house out by the Sand Bar off Rt. 2 that was situated on a triangular lot. According to the deed, this lot measured 300 feet of road frontage (side A or "base"), by 50 ...

The national sporting goods association nsga conducted a

The National Sporting Goods Association (NSGA) conducted a survey of the ages of individuals that purchased skateboarding footwear. The ages of this survey are summarized in the following relative frequency distribution. ...

Now assume that a country a takes 100 hours to produce 20

Now assume that a country A takes 100 hours to produce 20 aircraft or 10 jet engines and country B takes 100 hour to produce 15 aircraft or 5 jet engines. Which country has an absolute advantage in which product? Does ei ...

Research the web for an example of a startup using a cloud

Research the Web for an example of a startup using a cloud infrastructure. What were the main reasons for choosing a cloud infrastructure? What alternatives did the startup have? Answer should be at least 1 page long dou ...

How much work energy must you do to lift 1 tonne 1000 kg of

How much work energy must you do to lift 1 tonne (1000 kg) of coal from a depth of 500 m to the surface? What fraction of the heat energy in that coal was this? This is a simple calculation of one part of the emergy to t ...

What are the key channels by which fiscal policy affects

What are the key channels by which fiscal policy affects output in a closed versus open economy? Using the models studied in class, discuss what is meant by "crowding out", and how the crowding out effect works in an ope ...

A sample of 36 us households is taken and the average

A sample of 36 U.S. households is taken and the average amount of newspaper garbage or recycling is found to be 27.8 pounds with a standard deviation of 2 pounds. Estimate, with 99% confidence, the mean amount of newspap ...

  • 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