Design a class to represent the database and another class

Assignment Help Basic Computer Science
Reference no: EM131076222

Repeat Programming Problem 5 of Chapter 16, using the ADT dictionary as the database.

Chapter 16 Problem 5:

Write a program that maintains a database containing data, such as name and birthday, about your friends and relatives. You should be able to enter, remove, modify, or search this data. Initially, you can assume that the names are unique. The program should be able to save the data in a fi le for use later. Design a class to represent the database and another class to represent the people. Use a binary search tree of people as a data member of the database class. You can enhance this problem by adding an operation that lists everyone who satisfies a given criterion. For example, you could list people born in a given month. You should also be able to list everyone in the database.

Reference no: EM131076222

Questions Cloud

Which implementation of adt dictionary would be efficient : Which implementation of the ADT dictionary would be most efficient as a symbol table?
Calculate the best possible approximation : Let X represent the number of individuals who respond to a particular online coupon offer. Suppose that X has approximately a Weibull distribution with a = 10 and b = 20.
Advantage of a real or imagined business : Write a 2 - 3 page paper where you explain the competitive advantage of a real or imagined business.
Relevant information to management : The best metrics are those that provide relevant information to management and add value to the decision making process. Explain how metrics provide a means for qualifying HR programs and activities. Explain how metrics demonstrate the value of HR..
Design a class to represent the database and another class : You should also be able to list everyone in the database.
Calculate the probability that time to failure : Let X denote the time to failure (in years) of a certain hydraulic component. Suppose the pdf of X is  a. Verify that f (x) is a legitimate pdf.
What time interval is required for a message to travel : What approximate time interval is required for a message to travel from Maine to California by radio waves? (Assume the waves can be detected at this range. The distance from Maine to California is approximately 5 000 km.
Foundation research summary form : Using all the information you have found, complete a "Foundation Research Summary Form" for at least one of the foundations you have targeted as a possible donor. (You will find this worksheet on your course Web site in the "Forms, Examples, Resou..
An increasing amount of stress until it snaps : A 12-in. bar that is clamped at both ends is to be subjected to an increasing amount of stress until it snaps. Let Y = the distance from the left end at which the break occurs. Suppose Y has pdf

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What is pseudocode

What is pseudocode? Why is it a useful way to describe a solution?

  How is the value of it assessed in your organization

What is the level of IT-business integration for your organization. How is the value of IT assessed in your organization

  How is privacy related to statistical database security

How is privacy related to statistical database security

  How many megabytes of data storage space are needed

The telephone exchange can store 3 minute audio messages of the same quality as that of the telephone channels. how many megabytes of data storage space are needed to store each of these messages?

  What is the intent of regulatory compliance

What is the intent of regulatory compliance, and what is the role of IT in maintaining corporate compliance?

  Demonstrations illustrating the types of storefronts

Store Front (www.storefront.net) is a vendor of e-business software. At its site, the company provides demonstrations illustrating the types of storefronts that it can create for shoppers. The site also provides demonstrations of how the company's..

  Create a new excel 2013 spreadsheet

Create a new Excel 2013 spreadsheet, name it "Excel 2013 project 3" and follow these steps to include the following:

  An excel spreadsheet with componets names

Physical Networking. We are having to put together an excel spreadsheet with componets names, descriptions, costs, total project costs. We must create a Description of a basement telecommunication and network server space, network equipment tha..

  Display the values of time and min

Write a program that displays information indicating whether the terminal referred to by standard input is in canonical or no canonical mode.

  What is stop word removal and stemming

Why are these processes necessary for better information retrieval?

  Synthesis that relates to the types of raw materials

In this exercise you must create a program that deals with material information so as to calculate the supply need for raw materials and to organize( program ) the production of intermediate and final products in order to satisfy some orders. The ..

  Parameterized constructor to initialize all members

A parameterized constructor to initialize all the members A function INTAX( ) to enter data for the tax payer and call function CompTax( ) to assign TotTax. A function OUTAX( ) to allow user to view the content of all the data members.

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