1.4.3 - Boolean Algebra Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What does ¬ mean?

A

NOT

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

What does V mean?

A

OR

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

What does ^ mean?

A

AND

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

What does ⊻ mean?

A

XOR

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

What is a Karnaugh map?

A

Are a visual method for simplifying logical expressions.

They show all the outputs on a grid of all possible outcomes.

The method is to create blocks of 1s as large as possible so that the 1s are covered by as few blocks as possible and
no 0s are included.

The blocks can wrap around the diagram if necessary, in both directions, from side to side or from top to bottom.

The rules for using Karnaugh maps are:
no 0s (zeros) allowed
no diagonal blocks
groups as large as possible
every 1 must be within a block
overlapping allowed
wrap around allowed
the smallest possible number of groups.

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

What are the outputs of an AND gate?

A

The output is true ONLY if both inputs are true (1,1 or 0,0)

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

What are the outputs of the OR gate?

A

The output is true if either or both of the inputs are true. (1,1, 1,0 = 1 but 0,0 = 0)

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

What are the outputs of the NOT gate?

A

The output is the negative of the input (1 = 0, 0 = 1)

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

What are the outputs of a NAND gate?

A

The output is true if one or both of the inputs are false (0,0 = 1, 1,0 = 1, 0,1 = 1, 1,1 = 0)

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

What are the outputs of a NOR gate?

A

The output is true if both the inputs are false (0,0 = 1, anything else = 0)

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

What are the outputs of an XOR gate?

A

The output is true if only one of the inputs is true, but not both (1,1 = 0, 1,0 = 1, 0,1= 1, 0,0 = 0)

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

What are de morgan’s laws

A

Involve breaking a negation and changing the operator between two inputs.

¬(A V B) ≡ ¬A ∧ ¬B
¬(A ∧ B) ≡ ¬A V ¬B

They are used when a negation applies to the whole of an operator between two inputs, and result in two negated inputs acted upon by a different operator.

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

What is the distribution law?

A

Another two useful laws, distribution applies to conjunction over disjunction as well as disjunction of conjunction. You can think of these as being similar to expanding brackets.

Conjunction over disjunction: A ∧ (B V C) ≡ (A ∧ B) V (A ∧ C)

Disjunction of conjunction: A V (B ∧ C) ≡ (A V B) ∧ (A V C)

It’s also important to note that distribution can be carried out over the same operator:
A ∧ (B V C) ≡ (A ∧ B) V (A ∧ C)
A V (B ∧ C) ≡ (A V B) ∧ (A V C)

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

What is the association law?

A

Associative laws involve the addition or removal of brackets and reordering of inputs in a
Boolean expression.
(A ∧ B) ∧ C ≡ A ∧ (B ∧ C) ≡ A ∧ B ∧ C
(A V B) V C ≡ A V (B V C) ≡ A V B V C

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

What is the commutation law?

A

Laws of commutation show that the order of inputs around an operator does not matter, in the same way that
3 + 2 = 5 = 2 + 3.

A ∧ B ≡ B ∧ A
A V B ≡ B V A

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

What is the double negation law?

A

If you negate an input twice, you can remove both negations and retain the same truth value. NOT NOT A is the same as A.

¬(¬ A) ≡ A

17
Q

What are the three logic circuits we need to know?

A

D-Type Flip Flops, Half Adders and Full Adders.

18
Q

What is a flip flop?

A

A flop flop is a type of logic circuit which can store the value of one bit. A flip flop has two inputs, a control signal and a clock input. A clock is a regular pulse generated by the CPU which is used to coordinate the computers’ components.

A clock pulse rises and falls, with edges labelled rising or falling. The output of a D-type flip flop can only change at a rising edge, the start of a clock tick.

19
Q

What is an adder?

A

An adder is a logic circuit which adds together the number of inputs which are true, and outputs that number in binary. There are two adder circuits you need to know: half and full.

20
Q

What is a half adder?

A

A half adder has two inputs, A and B, and two outputs, Sum and Carry. The circuit is formed from just two logic gates: AND and XOR. (AND is the CARRY and the SUM is the XOR)

21
Q

What is a full adder?

A

A full adder is similar to a half adder, but has an additional input, allowing for carry in to be represented.

The full adder logic circuit is formed from two XOR gates, two AND gates and an OR gate as shown in the diagram.

Because the full adder has a carry input, the circuits can be chained together to form an adder with as many inputs as is required.

Cout (is the carry bit)
Cin, A, B (are the inputs)
S (the sum)