Contact list project where the user enters first name

Assignment Help Programming Languages
Reference no: EM131316539

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.

Reference no: EM131316539

Questions Cloud

What type of network model and topology would you recommend : What type of network architecture/model and topology would you recommend, and why? The charity is expected to receive a substantial donation in the near future. This donation will enable it to double the size of its network to 14 PCs.
What is the standard deviation of portfolio : Stock A's expected return and standard deviation are E[RA] = A = 6% and A = 12%, while stock B's expected return and standard deviation are E[RB] = B = 10% and B = 20%. How would you construct a portfolio with expected return of 8% using stock A and ..
Exploration to the moon and mars outweigh the risks : Next, give your opinion on whether or not the benefits of space exploration to the Moon and Mars outweigh the risks and costs of exposing such travelers to gamma rays above Earth's atmosphere. Provide a rationale for your response
Make sure to clarify the intercept and the slope : The expected return on the market portfolio mu m = E[Rm] = 15%, the standard deviation is sigma m = 25% and the risk-free rate is Rf = 5%. Suppose the CAPM holds. Draw on a diagram with the Capital Market Line (CML) derived from the above data. Make ..
Contact list project where the user enters first name : Contact list project where 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.
Creating an effective marketing mix : Consider the need for a marketing mix in a marketing strategy. What would be the danger in too little or too much of a focus on one of the P's?
Discuss the five systems in bronfenbrenner''s theory : Does this statistic seem to follow the same trend supported by Bronfenbrenner's theory? If not, explain how it challenges the theory. Then, reflect on friendships in childhood and adolescence and address the positive and negative influences that..
Adapt ehr systems to serve national public health policy : How can you adapt EHR systems to serve national public health policy and practice? Why do privacy laws differ with regard to the release and use of health information in public health practice as opposed to public health informatics in the clinical s..
Describe what makes that decision unethical : Compose a 1,050-word analysis including: Describe what makes that decision unethical. Present an alternative ethical and legal solution to the decision focusing on the organization's responsibility to its stakeholders

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd