======Part 2====== =====Entries===== ====Entry 1: October 5th, 2012==== This week in data structures we took are linked list program and broke it up into separate functions in separate files and had them pass nodes between them and create a menu for the program that could call each function on demand we then compiled them linked them together and where evaluated on them .In discrete we worked on are set program and are naive sort program I found the linked list project was a very good refresher on funtions and passing parameters between functions such as nodes and pointers ====Entry 2: October 20, 2012==== This week in discrete we starting writing a set program that takes in members than outputs them in set notation now we are modifying and improving that program to be menu driving and perform operations such as union, intersection and difference. in data we are finishing are modular menu driven doubly linked list and we have also started on a linked list based stack program. ====Entry 3: October Day, 2012==== This is a sample format for a dated entry. Please substitute the actual date for "Month Day, Year", and duplicate the level 4 heading to make additional entries. As an aid, feel free to use the following questions to help you generate content for your entries: * What action or concept of significance, as related to the course, did you experience on this date? * Why was this significant? * What concepts are you dealing with that may not make perfect sense? * What challenges are you facing with respect to the course? Remember that 4 is just the minimum number of entries. Feel free to have more. ====Entry 4: October Day, 2012==== This is a sample format for a dated entry. Please substitute the actual date for "Month Day, Year", and duplicate the level 4 heading to make additional entries. As an aid, feel free to use the following questions to help you generate content for your entries: * What action or concept of significance, as related to the course, did you experience on this date? * Why was this significant? * What concepts are you dealing with that may not make perfect sense? * What challenges are you facing with respect to the course? Remember that 4 is just the minimum number of entries. Feel free to have more. =====Keywords===== {{page>datapart2&nofooter}} {{page>discretepart2&nofooter}} =====Experiment 2===== ====Question==== Is an an array dynamic ? ====Resources==== I know from class and compile errors its not and thats what makes a linked list useful ====Hypothesis==== No memory needs to be allocated for the array so it has to be declared with a size and type ====Experiment==== write a program that uses a variable in the array decliration like so : int myArray[size] ====Data==== It actually compiled because its a logic error not a syntax error but the program did not work ====Analysis==== Based on the data collected: my hypothesis was correct but that outcome is not what I expected I for some reason expected compiler errors ====Conclusions==== although would be nice due to the way the c compiler allocates memory arrays must be declared with a size