Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Compulsory Task 1 Answer the following questions: Create a Java file called linearProbing.java. Inside, write the algorithm for removing entries using linear probing. Compulsory Task

Compulsory Task 1
Answer the following questions:
Create a Java file called linearProbing.java. Inside, write the algorithm for
removing entries using linear probing.
Compulsory Task 2
Answer the following question:
Create a diagram that shows the hash table of size 9 after entries with the
keys 55,22,19,1,111,39,72, and 3 are inserted, using separate chaining.
Compulsory Task 3
Answer the following question:
Create a Java file called colours.java. Inside, write a Java
random-assignment program that allows the user to enter a list of names
and a list of colours (the lists must be equal lengths).
The program should assign each person a random colour.
Print out the pairs (i.e. name + colour)
Answer the following question:
Create a text file called hashing.txt. Inside, outline an algorithm that
hashes a simple object with at least 2 attributes. For example, a fruit with a
name and a colour.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Internals A Deep Dive Into How Distributed Data Systems Work

Authors: Alex Petrov

1st Edition

1492040347, 978-1492040347

More Books

Students also viewed these Databases questions

Question

Explain the various elements of a diverse workforce.

Answered: 1 week ago