Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question: Phone book application

You are required to use data structures by developing a phone book application.

You have two options for implementing this application. The first is to design new data structures that you see appropriate and the second is to use the ones that you have learnt in the class. You are not allowed to use libraries of data structures except arrays and pointers. The data structures used in this project must be implemented by you.

The phone book application

The application you build should store the phone records in some data structures (instead of storing as a plain text) to allow efficient operations. In summary, you are required to design and implement the following:

• Data structures that model a collection of phone records. These structures are required to ensure the efficiency of the various functions of this application. The key of this project is to think about what kind of data structures should be used to support the proposed functions.

• Another data structure that models a single record. The attributes of the single record include last name, first name, and phone. You may add more attributes.

• A front end that displays the records. This end needs not be window-based, a console interface will be quite Functions of phone book application

The application must automatically load records (if exist) from the file when it starts. The application provides the user the options to perform the following actions:

Add: add a new record into phone book (into the data structure)

Retrieve: display a record that contains a particular attribute value

Delete: delete an existing record by given a specific attribute of that record

Load: read data from a file which contains data of the phone book

Save: write data of your phone book to a file since the data of a running program would be lost if the application crashes Documentation

A simple document must be provided. This document includes:

• What are the data structures used for each function?

• Why do you use these data structures?

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92392516
  • Price:- $10

Priced at Now at $10, Verified Solution

Have any Question?


Related Questions in Computer Engineering

If there are 30 students total and 13 of them have blue

If there are 30 students total and 13 of them have blue socks and 17 have red socks. Randomly select a student from the class list. What is the probability of the student having red socks?

The correlation between the height of fathers in the

The correlation between the height of fathers in the heights of their sons is r=0.52. Which kind of the following would not change r? a) measuring their height in centimeters rather than inches. b) removing two outliers ...

1 potassium metal is very reactive with liquid bromine the

1. Potassium metal is very reactive with liquid bromine. The result of the reaction is the formation of a white ionic solid. Explain what happens to these elements when they form an ionic compound and write the formula f ...

Question suppose we have a hash table which has the hash

Question : Suppose we have a hash table which has the hash function integer % 13. For Quadratic and Linear Probing, what sequence of 13 different integers > 0 (positive) would create a worst-case situation over the entir ...

A monochromatic source emitting photons at 250 nm shines

A monochromatic source emitting photons at 250 nm shines with equal intensity on a zinc electrode (threshold n =1.04 x1015 Hz) and a sodium electrode (threshold n = 5.51 x1014 Hz). Which of the following statements is tr ...

Consider the market for small business loans in the context

Consider the market for small business loans. In the context of this market. How adverse selection impact lenders. How does adverse selection impact borrowers? In the context of this market provide 2 things that a lender ...

Recommend a mechanism that will record event data on the

Recommend a mechanism that will record event data on the folders for each department. What events should be logged and how often do these logs need to be reviewed? Recommend an implementation for antivirus software. Sugg ...

About signed integer representation twos complement

About Signed Integer Representation. Two's Complement Overflow Explain how to perform the signed decimal to Hexadecimal conversion and vice versa. Show it with two examples for each.

At a certain temperature the equilibrium constant kc for

At a certain temperature, the equilibrium constant, Kc, for this reaction is 53.3. H2(g) + I2 (g) ------> 2HI(g) Kc = 53.3 At this temperature, 0.700 mol of H2 and 0.700 mol of I2 were placed in a 1.00-L container to rea ...

Cwrite function that takes an array of doubles and the

C++ Write function that takes an array of doubles and the array length as parameters (compute the array length using size of, don't just put in the number 5). In the function, find and return the largest value. Write sec ...

  • 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