1.4.3 Boolean Algebra Flashcards

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

What are adders useful for?

A

Outputting the results of binary addition and subtraction.

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

How many inputs does a half adder take?

A

Two

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

How many outputs does a half adder produce?

A

2

Sum and carry bit

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

What logic gates is a half adder made up of?

A

AND gate

XOR gate

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

What is the issue with half adders?

A

They only output the carry bit and do not use it in the addition.

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

What does a full adder combine?

A

Two half adders.

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

What is the boolean expression for the sum output from a half adder?

A

S = A ⊻ B

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

What is the boolean expression for the carry bit output from a half adder?

A

C = A ∧ B

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

What does a full adder allow for?

A

The input of the carry from the last calculation into the next calculation.

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

How many inputs does a full adder accept?

A

3

A, B and carry bit from previous

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

How many outputs does a full adder produce?

A

2

Sum and carry bit

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

What logic gates is a full adder made up of?

A

2 x Half adder (AND + XOR)

OR gate

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

What is the boolean expression for the sum output from a full adder?

A

S = A ⊻ B ⊻ Cᵢₙ

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

What is the boolean expression for the carry bit output from a full adder?

A

Cₒᵤₜ = (A ∧ B) v (Cᵢₙ ∧ (A ⊻ B))

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

How many full adders do we need to add together two binary numbers, n bits long?

A

n full adders.

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

What is a D-type flip-flop?

A

A sequential logic circuit that can store one bit and flip between two states.

17
Q

What are the inputs into a D-type flip-flop?

A

A control input = D

Clock signal

18
Q

When will a D-type flip flop only change the output value?

A

When the clock is at a rising edge.

19
Q

What happens when the clock is not at a positive edge?

A

The input value does not change.

20
Q

What is the use of a D-type flip-flop?

A

It can be used as a memory circuit to store the state of a bit.