Create a simple contact manager application

Assignment Help Computer Engineering
Reference no: EM131267351

Assignment

For this assignment you will create a simple contact manager application. This application will track personal information about the user's friends and acquaintances. The user will be able to enter information for new contacts and also lookup information for a contact.

For this assignment you will create a simple class hierarchy. You will create an inheritance relationship between two classes -- a Friend class and a Person class - Friend will inherit Person.

Your Person class will have the following attributes:

first_name

last_name

phone_number

Your Friend class will have the following attributes:

email

birth_date

Both your Person class and your Friend class will have a get_info method.

For the Person class, the get_info method will return a string with the full name and phone number of the person.

For the Friend class, the get_info method will return a string with the full name, phone number, email address, and birth date.

The application will present a main menu to the user that will allow the user to add a contact, lookup a contact by name, or exit the application.

When the user chooses to add a contact, the application will ask the user if they want to add a regular person or a friend. If the user wants to add a new regular person contact then the application will ask for the first name, last, name and phone number for that person. If the user wants to add a new friend contact then the application will ask the user for the first name, last name, phone number, email address, and birth date.

When the user chooses to lookup a contact by name, the application will ask the user for the last name, and then the application will display the full information for all contacts with that last name.

Reference no: EM131267351

Questions Cloud

Write a program to compute diameter in centimeters of a rod : Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and copper rod, which can withstand a particular compression load.
Forefront of internet conversations : Censorship has always been on the forefront of internet conversations, especially in countries where government control is a way of life. Do you work for a company that has foreign entities? If you were the business owner, how would you react?
What arguments based on the fourth amendment : What arguments based on the Fourth Amendment to the United States Constitution should Deft make in support of this motion - what arguments should the prosecutor make in opposition to the motion, and how should the court rule on the motion? Discuss.
Differences between extending a class : Explain the differences between extending a class ,creating a new class and implementing interface; and when each one of them will appropriate.
Create a simple contact manager application : For this assignment you will create a simple contact manager application. This application will track personal information about the user's friends and acquaintances.
Discussion-analyzing implications : Assignment: Discussion-Analyzing Implications. Implications of arguments can be used as tools for evaluating and assessing arguments. These can help you decide whether you want to accept or support an original argument or not. In this assignment, y..
Define and state the objectives of sales promotion : Define and state the objectives of sales promotion. -  What is the primary factor that determines sales promotion objectives?
Determine the svd of h : Based on the SVD of H, determine an equivalent MIMO system having two independent channels, and find the optimal power allocation and channel capacity when H is known at the transmitter and the receiver.
Describe the objectives of the database environment : Describe the problems and constraints. Describe the objectives of the database environment. Describe the scope and boundaries. List the data specifications (must include a minimum of three entities with attributes).

Reviews

Write a Review

Computer Engineering Questions & Answers

  Optimize a multiprogrammed batch system

Contrast the scheduling policies you might use when trying to optimize a time-sharing system with those you would use to optimize a multiprogrammed batch system.

  Save the punch in or punch out date

Display an input field called "Choice" to input one of the four options - Inputting an incorrect option shall display a prompt indicating that the input was invalid and to try again.

  Draw the timing diagram for a digital signal

Draw the timing diagram for a digital signal that continuously alternates between 0.2 V (binary 0) for 2 ms and 4.4 V (binary 1) for 4 ms.

  Question1 illustrate a structured flowchart describing the

question1. illustrate a structured flowchart describing the steps you would take to cook popcorn in a microwave oven.

  Analysis class diagram focusing on problem domain

Produce an analysis class diagram focusing on the problem domain. At this point it is not required to be fully attributed. However it is important that you attempt to model as many of the entities as possible

  Explain two types of computer attacks/ viruses

In order to limit the creation of malicious code, do you think that access to elements of document object model and some Javascript functionality be limited? In discussing the answer, describe two types of computer attacks/ viruses that may be ini..

  Display the account in a listbox

Create an application that list accounts from a Dictionary Object - Display the account in a ListBox. If the user enters new values, they can click on the Add Button to add a new account to the dictionary item.

  Write paper based on your crowdfunding research

Write a 4- to 5-page paper based on your crowdfunding research, select one that you consider to be an innovative technology or an innovative use of an existing technology

  Develop a charter for the rals rostering project

Analyse these risks, assign a risk to an appropriate member, and describe a strategy for the management of each specific risk - Define Scope and produce a Scope Management Plan - Develop a charter for the RALS Rostering project.

  Paper on what virtual systems can be used for

Write a one page paper on what virtual systems can be used for

  Computing the total tax

In following example, second line of the table signifies that tax due on a salary of $2,000.00 is $225.00 plus 16% of excess salary over $1,500.00 (that is, 16% of $500.00). Compute the total tax.

  Questionthis is compulsory to write a report on

questionthis is compulsory to write a report on object-oriented systems. the report must focus on the following systems

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