Saturday, 27 September 2014

Week 3 Slog

During the third week of CSC165, Professor Heap introduced us to Conjunctions, Disjunctions and Negations. We learnt the different notations used to signify conjunctions and injunctions. Throughout the week, I also improved my ability of transferring english statements to mathematical symbols and have improved overall. In addition to this, we learnt how negation has the ability to change symbols. Hence, we were introduced to DeMorgan's Laws.

We often use conjunctions when combining two statements with an "and". This therefore symbolises that both the original two statements are true. Let us take an example, when making the statement, "There is a pen and telephone" we can therefore use a conjunction since the statement uses the word "and". Disjunctions on the other hand are different from conjunctions since they are joined together in order to prove that either one of them is true. It however does not prove that both are true. When negating a statement we put a "not" operator at the front in order to prove that the opposite of that statement is true. Hence, as an example, not(True) returns the opposite of the boolean value True, hence False. This therefore leads us to discuss DeMorgan's Laws. DeMorgan's Laws prove that when one negates an entire statement, every other element in the statement also turns into a negative statement.
As seen above the not operator is applied to s(1) as well as s(2). In addition, the Disjunction operator also changes to the the Injunction operator. Professor Heap taught us how this can be proven through Sets. This therefore not only increased my understanding of the theory behind this but also allowed me to understand how one can use this.

In order to illustrate implications and symbolic statements, we were introduced to truth tables which really allowed me to gain a better understanding of implications, conjunctions and disjunctions.

Lastly, we were also introduced to some simple terminology namely Tautology, Satisfiability and Unsatisfiability. One makes a judgement that a statement is satisfiable when the premises leads well into the conclusion. However, the opposite of this would mean that the statement is not satisfiable since there is a contradiction if one of our test cases fail. A Tautology is  when one explores various test case values in order to come to a conclusion.

Overall, this week really allowed me to gain a better understanding of using Logic in Computer Science. I believe that truth tables really allowed me to gain a better grasp on the subject material.


No comments:

Post a Comment