Approved-online-essay-writers

Modify your Registration project(s) to use a Hash Table to maintain the student information instead of the sorted array or BST. Extra Credit Projects

Modify your Registration project(s) to use a Hash Table to maintain the student information instead of the sorted array or BST.
Extra Credit Projects

You have to do ONE of the following:
Modify your Registration project(s) to use a Hash Table to maintain the student information instead of the sorted array or BST. Your hash function should be based on the last three (3) digits of the student ID.
In your comments, include the average runtime for your Search, Insert and Delete methods, and how your program will handle collisions.

Need Help Writing an Essay?

Tell us about your assignment and we will find the best writer for your paper.

Write My Essay For Me

Adapt your Registration projects to include a menu (like in the warm-up project) that will determine, based on the “stability” of the registration data, the implementation of the student data (sorted array or bst). The project should include a way to change from the BST to the sorted array.

Write a program to calculate the probabilities of collisions for the following:
You are asked to write a program to store information for customers for a small local business. The owner wants to use “date of birth” (not the year!) as a way to look up customer information because he/she believes that the probability of collisions is very small.
Your program should calculate the probability of two customers having the same birthday, and finding
a. How many customers give a 50% chance of collision
b. How many customers give a 95% chance of collision
The program is not difficult, but be careful about the actual calculations (n! overflows for relatively small n)

Describe how you would handle collisions for the data, and also explain how you would write the “hash function” to assign a customer to the hash table by birthday.

Write a program that could be used to schedule jobs based on the “shortest job” algorithm, and compare the running of the programs to using a queue.
Use the data from the given table to calculate the “turnaround” time for each job (time a job is completed – time a job enters the system), and the average waiting time for the jobs ((total turnaround time – total “running” time)/number of jobs)
a) using a queue
b) using a heap based on “expected run time” (CPU burst)
Which method gives the lower average waiting time?


 

PLACE THIS ORDER OR A SIMILAR ORDER WITH TODAY AND GET AN AMAZING DISCOUNT



The post Modify your Registration project(s) to use a Hash Table to maintain the student information instead of the sorted array or BST. Extra Credit Projects appeared first on Nursing Nursing.

Our essay writing company helps you enjoy campus life. We have committed and experienced tutors and academic writers who have a keen eye in writing original papers for university students. Buy high-quality essays online from our team of professional assignment writers. Every paper we deliver is original and crafted from scratch. Our expertise covers a wide range of assignments, regardless of their difficulty or academic level. From concise essays to extensive research papers, dissertations/theses, and coursework, we handle projects of all sizes.

Get Assignment Writing Help from Qualified Writers at Student-Friendly Prices. NO PLAGIARISM Guarantee!

PLACE YOUR ORDER

Share your love