Section 8 - Boolean Algebra Flashcards

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

Define what an ‘NOT gate’ / Negation represents

A

Inverts the input - 0 to 1 and 1 to 0

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

Define what an ‘AND gate’/Conjunction represents

A

The output of A AND B is 1 only if the input A and input B are both 1

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

Define what an ‘OR gate’/Disjunction represents

A

The output of A OR B is 1 if either the input for A or B is 1

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

Define what an ‘XOR gate’ /Exclusive disjunction represents

A

The output of A XOR B is 1 if only one of A or B is 1

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

Define ‘de Morgan’s Laws’

A

Any Boolean function can be converted to one which uses only NAND functions or only NOR functions.

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

What is de Morgan’s first Law?

A

¬(A v B) = ¬A ∧ ¬B

X = ¬(A v B)

X = ¬A ∧ ¬B

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

What is de Morgan’s second Law?

A

¬(A ∧ B) = ¬A v ¬B

X = ¬(A ∧ B) = ¬A v ¬B

X = ¬A v ¬B

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

What are the general rules of Boolean Algebra

A

X ∧ 0 = 0

X ∧ X = X

X ∧ 1 = X

X ∧ ¬X = 0

X v 0 = X

X v 1 = 1

X v X = X

X v ¬X = 1

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

What are the two commutative rules of Boolean Algebra?

A

X ∧ Y = Y ∧ X

X v Y = Y v X

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

What are the two associative rules of Boolean Algebra?

A

X ∧ (Y ∧ Z) = (X ∧ Y) ∧ Z

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

What are the two associative rules of Boolean Algebra?

A

X ∧ (Y ∧ Z) = (X ∧ Y) ∧ Z

X v (Y v Z) = (X v Y) v Z

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

What are the two distributive rules of Boolean Algebra?

A

X ∧ (Y v Z) = (X ∧ Y) v (X ∧ Z)

(X v Y) ∧ (W v Z) = (X ∧ W) v (X ∧ Z) v (Y ∧ W) v (Y ∧ Z)

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

What are the two rule of absorption in Boolean Algebra?

A

X v (X ∧ Y) = X

X ∧ (X v Y) = X

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

What is the rule for double negation in Boolean Algebra?

A

X = ¬ ¬X

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

Define what is meant by the term ‘half-adders’

A

Takes two input of two bits and gives a two-bit output as the correct result of an addition of the two inputs.

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

Disadvantage of half-adder

A

Only has two inputs meaning unlike a full adder it cannot use the carry from a previous addition as a third input in order to add n-bit numbers.

17
Q

Define what is meant by the term ‘full-adder’

A

Combines two half-adders to add three bits together including inputs A and B, and a carry bit C. Additional Or gate to output the carry bit.

18
Q

Define what is meant by the term ‘flip flop’

A

Elemental sequential logic circuit that can store one bit and flip between two states, 0 and 1. Two inputs a control signal labelled D and a clock signal.

19
Q

What is the role of the clock in a flip flop?

A

Changes states at regular time intervals, needed to synchronise the change of state of flip flop circuits.

20
Q

What is a D-type flip-flop?

A

Positive edge-triggered flip-flop can only change output value when the clock is at a rising or positive edge.

21
Q

Why are flip-flop circuits important?

A

Used as a memory cell to store the state of a bit.

22
Q

How does the output Q change in accordance with the input D in a flip-flop?

A

Q only changes to match the input D in response to the rising edge on the clock signal. Q stores the value D by up to one clock cycle if the state does not change.