4.1 Boolean Logic Flashcards

1
Q

What is a logical operator

A

Inside of each computer system are millions of transistors.

These are tiny switches that can either be turned on (represented in binary by the number 1) or turned off (represented by 0).

Logical operators are symbols used to represent circuits of transistors within a computer

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

What are the three common operators

A

. NOT
. AND
. OR

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

What is a Truth Table

A

A truth table is a visual way of displaying all possible outcomes of a logical operator.

The input and output values in a truth table must be a Boolean value - usually 0 or 1 but occasionally True or False

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

NOT

A

A NOT logical operator will produce an output which is the opposite of the input.

NOT is also known as Negation.

The symbol for NOT is ¬

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

AND

A

An AND logical operator will output 1 only if both inputs are also 1.

AND is also known as Conjunction.

The symbol for AND is ∧

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

OR

A

An OR logical operator will output 1 if either input is 1.

OR is also known as Disjunction.

The symbol for OR is ∨

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