User Tools

Site Tools


opus:fall2012:swilli31:part1

Part 1

Entries

Entry 1: September 4, 2012

Today we looked at logic. There are three basic logic operators which can be used to build a vast variety of other logic operators and they are the AND, OR, and NOT logic operators. We also generated a truth table in which all the possible combinations of Boolean logic were mapped out. It turns out that there are 16 possible combinations. For my key word I will be looking closer at tautology.

Entry 2: September 11, 2012

Today we had to have the program written for our specific logic operation. It was a basic review of C and I am proud that I was able to write the program. I did have some issues at first figuring things out and then i realized that i was over complicating the program and needed to simplify. For my specific keyword, tautology, everything is a;lways true and therefore once realizing this the program was easy to write.

Entry 3:September 25, 2012

I am struggling with arrays. I understand the concept and how they work but cannot seem to implement them properly

Entry 4: September 30, 2012

Still having issues with arrays as well as my keyword. I have been researching converse implication but don't quite know how to demonstrate it. I guess that I need more time and practice with writing.

Keywords

discrete Keyword 1

Affirmation/Validity/Tautology

Definition

Everything is always evaluated as true

References

  • Tautology wikipedia page

Converse Implication, Discrete Phase 2

Definition

For any two propositions P and Q, if Q implies P, then P is the converse implication of Q.

It may take the following forms:

  1. p⊂q
  2. Bpq
  3. p←q
 P  |  Q  | XNq  
 _  _  _  _  _  
 0  |  0  |  0 
 0  |  1  |  0 
 1  |  0  |  1 
 1  |  1  |  0

References

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

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$ 

Experiment 1

Question

Can you use a function prototype to build an array

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

Yes. As long as they are all of the same data type

Experiment

Write a program that uses a function and writes the results into an array

Data

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

Analysis

Based on the data collected:

  • Was your hypothesis correct?
  • Was your hypothesis not applicable?
  • Is there more going on than you originally thought? (shortcomings in hypothesis)
  • What shortcomings might there be in your experiment?
  • What shortcomings might there be in your data?

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.

opus/fall2012/swilli31/part1.txt · Last modified: 2012/10/01 02:58 by swilli31