Table of Contents

Part 2

Entries

Entry 1: October 16th, 2012

Definetly couldn't figure out this sort program due today. I even have issues sleeping because of it, I tell you.

Entry 2: October 19th, 2012

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.

Entry 3: October 26, 2012

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…

Entry 4: October 29, 2012

Today we have a gaint storm coming through and i need to work out the kinks in my program, hope we dont lose power

Keywords

data Keyword 2

queue enqueuing operation

Definition

Enqueuing is the operation of putting something at the end of a queue There for adding something to the queue

References

List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).

  • Reference 1
  • Reference 2
  • Reference 3

data Keyword 2 Phase 2

Queue Dequeuing Operation

Definition

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.

References

Demonstration

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);
}

discrete Keyword 2

set difference

Definition

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).

References

List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).

  • Reference 1
  • Reference 2
  • Reference 3

discrete Keyword 2 Phase 2

singleton set

Definition

A set containing only a single item in its set. (Editted by myself)

References

List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).

  • Reference 1
  • Reference 2
  • Reference 3

Demonstration

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$ 

unix Keyword 2

dot files

Definition

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.

References

List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).

  • Reference 1
  • Reference 2
  • Reference 3

unix Keyword 2 Phase 2

pipes

Definition

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.

References

Demonstration

lab46:~$ who | grep $USER
mowens3  + pts/22       2012-10-25 14:00   .          4935 (grrasp.offbyone.lan
lab46:~$

Experiment 2

Question

What is the question you'd like to pose for experimentation? State it here.

Resources

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.

Hypothesis

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.

Experiment

How are you going to test your hypothesis? What is the structure of your experiment?

Data

Perform your experiment, and collect/document the results here.

Analysis

Based on the data collected:

Conclusions

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.