CMPS 257 Flashcards

1
Q

Conjunction

A

Operator AND denoted by (^). Other words include: but, also, in addition, morever Ex: A ^ B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Disjunction

A

Operator OR denoted by (v) Ex: A v B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Implication

A

Operation IMPLICATION denoted by (–>) Ex: A, then B A, therefore B A, only if B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Tautology

A

A statement which is always true not matte what truth values are assigned to the letters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

This law states,”NOT (A OR B) is equivalent to NOT A AND NOT B, also NOT (A AND B) is equicalent to NOT A OR NOT B” Ex: A implies B is equal to (A’ v B)

A

DeMorgan’s Law

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The opposite of tautology is something that is always false, this means it is a…

A

Contradiction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Some tautological Equivalences

A

A V B ↔ B V A = A^B ↔ B^A (commutative properties)

(AVB)VC↔AV(BVC) = (A^B)^C ↔ A^(B^C) (associative property)

AV(B^C) ↔ (AVB)^(AVC) = A^(BVC) ↔ (A^B)V(A^C) (distributive)

Av0 ↔ A = A^1↔ A (identity property)

AVA ↔ 1 = A ^ A ↔ 0 (compliment property)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are propositions?

A

statements which can be evaluated to true or false.

Ex: If there is a storm then class is cancelled. There is a storm therefore class is cancelled. First we assign values to the statements. S = “There is a storm” C = “Class is cancelled” sometimes people may want to assign S to storm. Storm is not a statement.

WFF = (S → C)^S→ C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Equivalence Rules Commutative

A

P v Q = Q vP

P ^ Q = Q ^ P

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Equivalence Rules Assocative

A

(PvQ)vR = Pv(QvR)

(P^Q)^R = P^(Q^R)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Equivalence Rules DeMorgan’s

A

(PvQ)’ = ‘P ^ ‘Q

(P^Q)’ = P’ v Q’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is recursion

A

something which is defined using the word itself.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Union

A

Given that A = {2, 4, 5, 6, 8, 10} and B = {1, 2, 3, 4 ,5}

A U B = {1,2,3,4,5,6,8,10}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Intersection

A

Given that A = {2, 4, 5, 6, 8, 10} and B = {1, 2, 3, 4 ,5}

A upsidedown U B = {2, 4, 5}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Truth Tables

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Boolean Algebra

A