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.
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).
|