Definetly couldn't figure out this sort program due today. I even have issues sleeping because of it, I tell you.
I got rid of my unwanted global variable and feel very happy that it worked just like I had hoped. I still need to find an experiment though.
I am still stressing over the sort programs, even after talking with matt about it. I still don't get how to get them in their right positions…
Today we have a gaint storm coming through and i need to work out the kinks in my program, hope we dont lose power
queue enqueuing operation
Enqueuing is the operation of putting something at the end of a queue There for adding something to the queue
List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).
Queue Dequeuing Operation
Removes and returns the object at the beginning of the Queue (Represents a first-in, first-out collection of objects). Often referred to as a head-tail linked list.
Demonstration of the indicated keyword.
If you wish to aid your definition with a code sample, you can do so by using a wiki code block, an example follows:
/* * Sample code block */ #include <stdio.h> List deque(List list1) { //List is a stuct that contains the ending node's and starting node's address printf("%hhd", (list1 -> end)); (list1 -> end) = (list1 -> end) -> next //could also be previous instead of end, depends on the coder's choice //You could also use start instead of end in this situation, both logically would, just reads different return(list1); }
set difference
Set Difference is the resulting set from two different sets. The resulting set contains only values that were in the first set (aka set a) that are not in the second set (aka set b).
List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).
singleton set
A set containing only a single item in its set. (Editted by myself)
List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).
Demonstration of the indicated keyword.
If you wish to aid your definition with a code sample, you can do so by using a wiki code block, an example follows:
/* * Sample code block */ #include <stdio.h> int main() { return(0); }
Alternatively (or additionally), if you want to demonstrate something on the command-line, you can do so as follows:
lab46:~$ cd src lab46:~/src$ gcc -o hello hello.c lab46:~/src$ ./hello Hello, World! lab46:~/src$
dot files
A dot file is a file that is not normally visible using a basic ls command. These files tend to be configuration files for other programs, but not always.
List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).
pipes
In Unix, a pipe (or pipeline) is used to direct the flow of output from one command as input to another command. This can be used to connect two operations together on a single command line, instead of having to use multiple command line inputs to receive the same result.
In Unix systems, pipes are shown using a vertical bar symbol, |. This bar will take the output from the command on the left, and use it as the input for the command on the right.
An example of this would be:
who | grep $USER
This would execute the who command, and then use it as input to the grep command, which would parse who for all instances of your own username.
lab46:~$ who | grep $USER mowens3 + pts/22 2012-10-25 14:00 . 4935 (grrasp.offbyone.lan lab46:~$
What is the question you'd like to pose for experimentation? State it here.
Collect information and resources (such as URLs of web resources), and comment on knowledge obtained that you think will provide useful background information to aid in performing the experiment.
Based on what you've read with respect to your original posed question, what do you think will be the result of your experiment (ie an educated guess based on the facts known). This is done before actually performing the experiment.
State your rationale.
How are you going to test your hypothesis? What is the structure of your experiment?
Perform your experiment, and collect/document the results here.
Based on the data collected:
What can you ascertain based on the experiment performed and data collected? Document your findings here; make a statement as to any discoveries you've made.