Apply ahash function to a first and last name

Assignment Help Basic Computer Science
Reference no: EM131040450

1) Write a java program that is able to apply ahash function to a first and last name (key) ofa person, and lookup the appropriate index in ahash table modeling a telephone directory. Thetelephone number (value) should be returned ondoing a lookup (you can prepopulate the tablewith 20 entries for this purpose). You can useexisting Java code (or libraries) to model thehash table, however, your program should becustomized to use the hash table structureappropriately.Demonstrate that your program works by providingmeaningful console messages that walk the testerthrough the search function in the directory.

2) Implement the same telephone directory searchusing a Binary Search Tree.You can use existing Java code (or libraries) to model the BST, however, your program should be customized to use the BST structure appropriately.Demonstrate that your program works by providingmeaningful console messages that walk the testerthrough the search function in the directory.

Reference no: EM131040450

Questions Cloud

Steps required for effective product positioning : What are the five steps required for effective product positioning? Give an example of a product positioning matrix for an organization of your choice
Teamwork and leading teams : Teamwork and Leading Teams Describe in detail an experience working with teams in or outside your workplace. Explain in detail and provide examples of the advantages and challenges of working in teams discussed in your reading that you experienced.
Java application that stores words in an array : Write a short Java application that stores words in an Array or ArrayList. You get to pick the number of words to store. Generate a random number between 0 (inclusive) and the length of the Array or ArrayList (exclusive).
Method service facilities use to orientation for customers : Which of the following is not a method service facilities use to provide orientation for customers?
Apply ahash function to a first and last name : Write a java program that is able to apply ahash function to a first and last name (key) ofa person, and lookup the appropriate index in ahash table modeling a telephone directory.
Major factor that could influence facility design : Which one of the following is not a major factor that could influence facility design?
Provides the best explanation for your personality today : Prepare a 5-to-7 page Argumentative Essay explaining which type of theory, psychodynamic or non-psychodynamic, provides the best explanation for your personality today. In this paper you will use vocabulary and concepts from two or more of the the..
Does maynard have any arguments to have his money refunded : Maynard, 18, was shopping for his first car. With a mere $4,000, he was hoping for a deal. He found a used convertible 1979 Mustang at Pierre's Awesome Car Place for $5,000. Was a valid contract formed between Pierre's and Maynard? Explain. If a vali..
Deal with something in the computer field : The topic must deal with something in the computer field. It may not be about a person, company, or a history of something (the internet, a company, a computer.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Logic circuit to figure out how many of the bits

Design a logic circuit to figure out how many of the bits in a 6 bit unsigned number equal 1. Design the simplest possible circuit to accomplish this.

  Explaining reliable information systems staff member

How many information systems staff member do you think Reliable can reasonably afford to employ? what mix of skills would they need?

  Show how the value ascii miriam is stored in memory

Show how the value ASCII "MIRIAM" is stored in memory in Big Endian format starting at location 100 hexadecimal. Assume that each memory location stored two ASCII characters.

  Install easy php and my sql

Install EasyPHP and MySQL and take a screen shot that shows the MySQL prompt on your screen.

  What is true about databases

What is true about Databases?a) Large repository of datab) Shared resource, used by many departments and applicationsc) Contains several different record typesd) "knows" about relationships in datae) All of the above.

  How do c++ chars differ from java chars

How do C++ chars differ from Java chars?

  How to use dss tool to support business

This is an interesting DSS tool where you can view yourself walking or driving down a street in San Francisco or Seattle. If you operated a business in this city how could you use this tool to support your business.

  Rough country miles of alaska

Rough Country Miles of Alaska (RCM) is a teardrop snowshoe manufacturer (worn by lumberjacks) that has contacted you to install Windows Server 2012 R2 and Active Directory. It owns the RoughCountryMiles.com domain name. It has 300 users, equally disp..

  Write and test a version of selection sort for linked lists

Write and test a version of selection sort for linked lists. Write a program to test insertion sort for linked lists.

  Calculate the matrix determinant value

The matrix coef has exactly four columns and three rows. The function should return a row vector s that contains solution values each of which satisfies the equation below as x, y and z. You are allowed to use det to calculate the matrix determina..

  How and why would ejecta affect short term climate

Many things can happen when a large NEO strikes earth. Consider only ejecta for a moment. How and why would ejecta affect short term climate?

  What kinds of solutions might you propose

Consider applying a voice and video over an IP solution for a company interested in enabling its geographically distributed sales force to collaborate efficiently

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