Unit 4 - Propositional Logic, Boolean Algabra and circuit design Flashcards

1
Q

What is a statement in logic?

A

A phrase that says something is or is not. It is always true or false and can be objectively evaluated.

“It is more than 26 degrees celcius”

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

What is a proposition in logic?

A

A proposition is the idea behind a statement.

If the statement is ‘It is more than 27 degrees celcius’ then the proposition is that the temperature is currently hotter than 26 degrees outside.

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

What is the Not operator?

A

Indicates negation.

“It is Not more than 27 degrees celcius”

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

What is the And operator?

A

It is a combined proposition connecting two ideas. The statement contains two propositions and both must be true.

“It is colder than yesterday and it is raining”

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

What is the Or operator?

A

Similar to And, except only one proposition has to be true.

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

What is propositional logic?

A

Using propositions that can be true or false, and combining them via logical connectives. These sentences are translated into symbols.

Also known as sentential logic.

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

What is a negation and what is its symbol?

A

Saying something is not true. You use the negation symbol (Alt 170):

¬

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

What is a conjunction and what is its symbol?

A

And is a conjunction in propositional logic. Symbol is an upwards arrow (Alt 24). (though really more of a ^)

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

What is a disjunction in propositional logic and what is its symbol?

A

The ‘Or’ operator. It is a downwards arrow (alt 25) (though really more of a V)

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

What is an implication?

A

It means if one proposition is true, then the other is also true. Written as: if…then. “If it is raining outside, then I should bring my umbrella).

Written as a right arrow (Alt 26)

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

What is the difference between imply and infer?

A

Imply is something that information does. It’s the sender.

Infer is receiving that information and understanding it.

“He inferred the implication”

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

What is a truth table in propositional logic?

A

A structured way to display false and true values of propositions.

T = true, F = false.

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

What does a conjunctive truth table look like?

A

T, F, F, F

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

What is an exclusive disjunction?

A

If both propositions are true, the outcome becomes false.

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

What does the disjunctive truth table look like?

A

T, T, T, F

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

What does an implication truth table look like?

A

T, F, T, T

17
Q

What is a literal?

A

Any element that can be evaluated as true or false. Also called a boolean system.

18
Q

What is the conjunctive normal form?

A

A single conjunction (just one AND) but both parts are made up of multiple propositions (disjunctions). The example below has four literals.

( P v ¬q) ^ (r v s)

19
Q

What is the disjunctive normal form?

A

A single disjunction (one OR) but both parts are made up of multiple propositions (e.g. conjunctives)

In this example the conjunctives are evaluated first, the disjunction later.

(p ^q) v (¬r ^ ¬s)

20
Q

What is the satisfiability?

A

That at least one outcome is true in your logic formula.

An example of an unsatisfiable formula that can never be true:

p ^ ¬p

21
Q

What is a logic circuit?

A

It accepts different inputs (1 and 0) and returns a value at the end.

22
Q

What are the operators in a digital circuit known as?

A

Logic gates.

23
Q

What is NAND?

A

The opposite of AND

24
Q

What is NOR?

A

The opposite of OR (a.k.a Neither). If neither input is 1, then the output is 1

25
Q

What is XNOR?

A

Exclusive NOR, it is only true if both values are the same. (If both values are 0 or both are 1, then the output will be 1)

26
Q

What is XOR?

A

Exclusive OR. If either value is true then true, but if both values are true then it is false.

27
Q

Show me logic gates binary truth tables

A

Here!

28
Q

Which logic gates symbols are used?

A

The U.S. version seems to be used most, even though there is also an international version (and a German one)