Design a class to represent the database and another class

Assignment Help Basic Computer Science
Reference no: EM131077354

Repeat Programming Problem 5 of Chapter 16 using a dictionary implemented with a balanced search tree.

Programming 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: EM131077354

Questions Cloud

Maintain the privacy of medical and financial records : How would you allow people to maintain the privacy of their medical and financial records, while making it possible for companies to advertise products that are interesting and useful to consumers?
The traffic signal for the main street gets highest priority : The traffic signal for the main street gets highest priority because car are continuously present on the main street. Thus, the main street signal remains green by default.
Prepare an accounting software proposal : The company has asked you to prepare an accounting software proposal. Don't worry about the hardware components. The internal information technology department at Smith will work with that component.
Problem regarding the participant in the project : Begin your response by describing your EAI scenario. Be sure to include your role or perspective on this project. Were you a participant in the project, a consumer of the project's result, or both?
Design a class to represent the database and another class : For example, you could list people born in a given month. You should also be able to list everyone in the database
Find the eigenvalues and corresponding eigenvectors : Math 121A: Homework 4. Find the eigenvalues and corresponding eigenvectors of the matrix. Show that if λ is an eigenvalue of an orthogonal matrix A with eigenvector v, then λ = ±1
What hormone might she be given to treat the osteoporosis : What hormone might she be given to treat the osteoporosis? How does this medication help? How would this be effected by a low TSH?
Case study - short-term financial planning : The high degree of financial risk is a concern to the company's controller as she prepares the budget for the coming fiscal year.
Solve the system using row reduction techniques, : Math 121A: Homework 3. Alice, Bob, and Charlie are three siblings with ages a, b, and c respectively. Their combined age is 18 years. Solve the system using row reduction techniques, or otherwise

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Speculate on the primary concerns of deploying ad rms

Speculate on the primary concerns of deploying AD RMS in a corporate environment. Recommend a strategy that you might use to mitigate these types of concerns during the initial implementation of the AD RMS. Provide a rational for your recommendation.

  What are the ethical issues raised by this procedure

Compare your reactions to that procedure with your reactions to an analogous one in which people are given false feedback that they possess a very favorable personality trait or a very high ability level.

  How easy or difficult would it be to initiate such advantage

More generally, to what extent do specific technologies help companies gain an edge over their competitors? How easy or difficult would it be to initiate such advantages?

  Design and build a zoo organizer

You are to design and build a zoo organizer. The zoo organizer should keep track of a set of animals. The zoo organizer should be able to keep track of different sets of animals. The organizer only needs one set of animals open at a time. It should h..

  List the three features not supported in vcenter server

•In your words, write a brief explanation on processor, vRAM, vCPU entitlements as well as vCenter server and SUSE Linux for VMware.•List the three features not supported in vCenter server

  Why is the same not true if is replaced

Explain why replacing the extracellular with choline has little effect on the resting potential of an axon. Calculate the new resting potential with 90% of the extracellular removed. Why is the same not true if is replaced? (Assume the conductance..

  What communication is appropriate for each party

After reading the following scenario, determine how to communicate its negative information appropriately to your supervisor or manager, to the members of your project team, and to your travel agent in the scenario.

  Evaluate the potential remedies for breach of contract

Evaluate the potential remedies for breach of contract that might be available is someone breached the contract you created.

  Use jsp to display current date & time

Fail authentication page will ask user to create the new account if the user does not have an account on the system.

  While budget and schedule are critical components of project

While budget and schedule are critical components of projects

  What is meant by logical independence

What is meant by logical independence. Explain the term second normal form.

  Modify the data structures for multiple-mode locks

Modify the data structures for multiple-mode locks and the algorithms for read_lock(X), write_lock(X), and unlock(X) so that upgrading and downgrading of locks are possible.

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