The downloads include a python starter program (P9HashTable1.py) that reads an employee file, sets up the data structures and then allows the user to search, add or delete employees from the database. You must store the employee file (EmployeeDB.csv) in the same folder as your python program. The python starter program has some missing functions that you must provide The deliverables this week are: 1. A search function that will find an employee record based on the employee ID. • Use a hash function Mod(12) to convert empID to a position in the Hash Dictionary • Using the beginChain value in the Hash Dictionary, traverse the Employee linked list 2. An insert function that will add a new employee to the database. • Check to see if this is the first node of the chain and process differently if it is 3. A delete function that will remove an employee from the database. • You’re not physically removing the employee record, you’re just using the ptr to pass over records that are deleted. 4. After a period of time the database grows to be very large and your client asks you to make some improvements to make searching faster. What are some of the things you could do?
The downloads include a python starter program (P9HashTable1.py) that reads an employee file, sets up
the data structures and then allows the user to search, add or delete employees from the
must store the employee file (EmployeeDB.csv) in the same folder as your python program. The python
starter program has some missing functions that you must provide
The deliverables this week are:
1. A search function that will find an employee record based on the employee ID.
• Use a hash function Mod(12) to convert empID to a position in the Hash Dictionary
• Using the beginChain value in the Hash Dictionary, traverse the Employee linked list
2. An insert function that will add a new employee to the database.
• Check to see if this is the first node of the chain and process differently if it is
3. A delete function that will remove an employee from the database.
• You’re not physically removing the employee record, you’re just using the ptr to pass
over records that are deleted.
4. After a period of time the database grows to be very large and your client asks you to make
some improvements to make searching faster. What are some of the things you could do?
Trending now
This is a popular solution!
Step by step
Solved in 2 steps