

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Welcome to the Computer Sciences Corporation. We are a startup company specializing in software tools for business professionals. Since we are in the early stages of our company, we have absolutely no support software for building our applications. As one of our first employees, it is your job to develop the fundamental data structures and algorithms we will need for further application development.
The first data structure library we will need is set of linked list routines. This library will be used in many of the data structures you develop in future assignments.
Use the following struct for you linked list routines.
struct node { int id; char name[50]; double assets; struct node *next; };
You must implement the following linked list routines.
You should put the function prototypes in a header file โlinkedlist.hโ and use
โlinkedlist.cโ for your implementation. That way, you can simply include โlinkedlist.hโ in your main.c file for testing and in further assignments.
You must document your routines. Each function should be commented with what the function does, its input parameters, and what it returns. Comments are very important and will account for 15% of your grade.
You must thoroughly test your routines to ensure that they work. You will need to develop a main routine to test them and output the test results into a file. These results should be easily readable. For each routine, think about they type of input you might have and develop a test case for it.
You must submit all source files in addition to your test files to WebCT by the due date. Also, include a README file explaining how you tested your code and what problems you encountered. Note the code must be able to be compiled and executed on the Olympus unix system.
Grading will be based on the following:
60% correct functionality 25% testing code 15% documentation