Question: Task 1(20 points): PLEASE WRITE THIS IN C LANGUAGE... In this task, you would be provided a text file and the format of the text

Task 1(20 points): PLEASE WRITE THIS IN C LANGUAGE...In this task, you would be provided a text file and the format of the text file is as following: Data.txt Address, Data 1,Hell is other people 78,Bob Dylan 54,Time-Pink Floyd 127,To be or not to be 17,An iron rod bends while it is hot 1009,Know Thyself 1001,Lagrange Duality .. You have to implement the get and put method. Mainly what you had done in your previous assignment is the put method. In this assignment, you have to implement the get method additionally. Here each row has the format . Now your task would be to parse the file and inject the data in the hashmap as following: Take the last 4 bits of the address (name it as set ) and that would be the index in your hash map. Change in your getKey method. What do you think?? What would be the minimum array size, if you take the last 4 bits of the address and you should have a unique index for all possible strings??Given that, the range of addresses would be [0-1023].

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!