Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You will create a single file named strmap.c containing your implementation of each of the interface functions, and nothing else. It may contain other auxiliary

You will create a single file named strmap.c containing your implementation of each of the interface functions, and nothing else. It may contain other auxiliary functions besides the implementation functions, and
6
it must include a hash function, but in particular it must not contain a main () program. It should not # include any files other than strmap.h.
You are responsible for ensuring that your implementation works correctly on your VM. It is strongly suggested that you develop and test your code on your VM. The Canvas page for this assignment will include links (and URLs) to the strmap.h file, as well as the source code for a rudimntary test program called tester.c.
To test your implementation with a test driver (i.e., a program that calls the hash map functions) named driver.c, compile it with your implementation like this:
gcc -Wall -o test driver.c strmap.c
This will produce the executable file test, which you can then execute by giving the command ./ test.
A rubric will be provided that describes what your code will be graded on. In addition, your code must satisfy the following requirements:
Support the creation and use (simultaneously) of any number of strmap_t instances, of any legal size.
Do not include any global or static global variables (you should not need any).
Do not call any library functions, other than those mentioned above (malloc, calloc, strcmp), and print f.
Correctly implement the behavior of the strmap_* functions as described in the header file.
None of the functions in your implementation (other than strmap_dump should produce any output. (So if you put in print statements during debugging, be sure to remove them or comment then out before you turn it in.) You will lose points for this (because it could mess up our grading process.)
Place a comment at the top of the file containing your name, which indicates that it is your code, written by you. If you use code from any other source, whether classmates, Internet, AI, or whatever, you must cite that source.
You will upload your strmap.c file as your only submission for this assignment. We will compile and run it with a test driver; that program will go well beyond what is included in the simple test program on the assignment page.
image text in transcribed

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

Step: 3

blur-text-image

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

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions

Question

=+ How well do you think you could do your job?

Answered: 1 week ago