Exam code: 9618
1/910Still learning
Know0
Define half adder.
A half adder is a basic digital circuit that performs the addition of two single bit numbers.

Join for free to unlock a full flashcard set, track what you know,
and turn revision into real progress.
What are the inputs and outputs of a half adder?
Two inputs, A and B, and two outputs, Carry out (Cout) and Sum (S).
Which gate produces the Sum in a half adder?
An XOR gate, so S = A XOR B.
Was this flashcard helpful?
Define half adder.
A half adder is a basic digital circuit that performs the addition of two single bit numbers.
What are the inputs and outputs of a half adder?
Two inputs, A and B, and two outputs, Carry out (Cout) and Sum (S).
Which gate produces the Sum in a half adder?
An XOR gate, so S = A XOR B.
In a half adder, the Sum output is A B.
In a half adder, the Sum output is A XOR B.
Which gate produces the Carry in a half adder?
An AND gate, so Cout = A AND B.
In a half adder, what are Cout and S when A = 0 and B = 1?
0 + 1 = 1, which is 01 in two bits, so Cout = 0 and S = 1.
In a half adder, what are Cout and S when A = 1 and B = 1?
1 + 1 = 2, which is 10 in two bits, so Cout = 1 and S = 0.
What is the quick way to build the half adder truth table?
For each row, add A and B together and write the answer as a 2-bit binary number in the Cout and S columns.
True or False?
A half adder can add three bits.
False.
A half adder adds two single-bit numbers. It is a full adder that handles three bits.
Define full adder.
A full adder extends the half adder to handle the addition of three bits.
What are the inputs and outputs of a full adder?
Three inputs, A, B and carry in (Cin), and two outputs, carry out (Cout) and sum (S).
What does the Sum output of a full adder provide?
The XOR of the inputs A, B and Cin.
When is the Carry output of a full adder TRUE?
When at least two of the inputs A, B and Cin are TRUE.
True or False?
In a full adder, Cout is 1 only when all three inputs are 1.
False.
Cout is TRUE when at least two of the three inputs are TRUE.
In a full adder the three inputs are added, so the answer can be 0, 1, 2 or .
In a full adder the three inputs are added, so the answer can be 0, 1, 2 or 3.
In a full adder, what are Cout and S when A = 0, B = 1 and Cin = 1?
0 + 1 + 1 = 2, which is 10 in binary, so Cout = 1 and S = 0.
In a full adder, what are Cout and S when A = 1, B = 1 and Cin = 1?
1 + 1 + 1 = 3, which is 11 in binary, so Cout = 1 and S = 1.
What can a full adder be built from?
Two half adders and an OR gate.
What are the inputs to the first half adder in a full adder?
A and B.
What are the inputs to the second half adder in a full adder?
Sum1, the output of the first half adder's XOR gate, and Cin.
How is the final Cout produced in a full adder?
Carry1 and Carry2 are connected to the inputs of an OR gate, and the output of that gate is the final Cout.
What are SR and JK flip flops used for?
They are digital memory components used in sequential circuits, storing 1 bit of data.
A flip flop stores bit of data.
A flip flop stores 1 bit of data.
Name three uses of flip flops.
Counters, control systems and synchronous logic.
Define bistable circuit.
A bistable circuit has two stable states. It responds to clock signals and is often edge-triggered.
On which clock edge are flip flops typically triggered?
The rising edge.
What does SR stand for?
Set and Reset.
Which gates is an SR flip flop commonly built from in exams?
NOR gates.
Name the inputs and outputs of an SR flip flop.
Inputs are S (Set), R (Reset) and CLK (Clock) when edge-triggered. Outputs are Q, the current stored value, and NOT(Q), its inverse.
In a NOR-based SR flip flop, what happens when S = 0 and R = 0?
No change. The flip flop holds its current value, which is memory mode.
In an SR flip flop, what happens when S = 0 and R = 1?
Reset. Q becomes 0.
In an SR flip flop, what happens when S = 1 and R = 0?
Set. Q becomes 1.
In a NOR-based SR flip flop, what happens when S = 1 and R = 1?
It forces Q = 0. Both Q and NOT(Q) are driven to 0.
True or False?
In a NOR-based SR flip flop, S = 1 and R = 1 is an invalid state.
False.
In NOR-based designs it forces Q = 0. It is in NAND-based designs that this state is undefined.
An SR flip flop has S = 1, R = 0 and Q = 1. S then changes to 0.
What happens to Q?
The flip flop enters memory mode, so Q stays at 1.
Why is the JK flip flop more versatile than the SR flip flop?
It solves the problem of the SR's illegal state by using that condition to toggle, and it uses a clock to control the exact timing of changes.
The JK flip flop uses a to control the exact timing of changes.
The JK flip flop uses a clock to control the exact timing of changes.
In a JK flip flop, what happens when J = 0 and K = 0?
No change. This is memory or hold mode.
In a JK flip flop, what happens when J = 0 and K = 1?
Reset. Q becomes 0.
In a JK flip flop, what happens when J = 1 and K = 0?
Set. Q becomes 1.
In a JK flip flop, what happens when J = 1 and K = 1?
It toggles the output, so Q becomes NOT(Q).
True or False?
J = 1 and K = 1 resets the JK flip flop.
False.
It toggles the output, so Q becomes NOT(Q).
What is an SR flip flop typically used for?
Simple memory and control circuits.
What is a JK flip flop typically used for?
Toggles, counters and frequency dividers.
Define Boolean algebra.
Boolean algebra is a mathematical system used to manipulate Boolean values, allowing complex expressions to be made simpler.
How does Boolean algebra compare with Karnaugh maps?
It is a more powerful simplification method, and can simplify expressions that Karnaugh maps cannot.
What is X AND 0?
0. An AND only outputs 1 when both inputs are 1, so anything ANDed with 0 is 0 whatever X is.
What is X AND 1?
X. The output is whatever the value of X is.
True or False?
X AND 1 evaluates to 1.
False.
X AND 1 = X, so the output is whatever the value of X is.
What is NOT X AND X?
0. X and NOT X always hold opposite values, so one input is always 0, and an AND with a 0 input gives 0.
What is X OR 0?
X. An OR outputs 1 if either input is 1, so ORing with 0 leaves the output as whatever X is.
What is X OR 1?
1. An OR outputs 1 if either input is 1, so a 1 input forces the output to 1 whatever X is.
What is NOT X OR X?
1. X and NOT X always hold opposite values, so one input is always 1, and an OR with a 1 input gives 1.
Which symbols represent AND in Boolean notation?
A · B, or simply AB.
In Boolean notation the dot for AND is often , so AB means A AND B.
In Boolean notation the dot for AND is often omitted, so AB means A AND B.
Which symbol represents OR in Boolean notation?
A + B. The plus sign means OR, so A + B reads as A OR B.
How is NOT written in Boolean notation?
As ¬A, as A', or as a line drawn above the variable.
What does a line drawn above a variable or expression mean?
The value is inverted or negated. It is the NOT of that value.
What does (A + B)·C mean?
Do A OR B first, then AND the result with C.
What does A · B̅ mean?
A AND (NOT B). B is negated before the AND operation.
When an expression has multiple horizontal lines, what is negated?
The whole expression, not just one part of it.
Which line do you apply De Morgan's Law to first?
The outermost line.
State De Morgan's first law.
NOT (A AND B) is equivalent to (NOT A) OR (NOT B).
State De Morgan's second law.
NOT (A OR B) is equivalent to (NOT A) AND (NOT B).
When applying De Morgan's Law, what happens to the operator?
It changes: AND becomes OR, and OR becomes AND. Both terms are then negated.
Simplify NOT(A AND B).
(NOT A) OR (NOT B)
True or False?
Applying De Morgan's Law to NOT(A OR B) gives (NOT A) OR (NOT B).
False.
It gives (NOT A) AND (NOT B). The operator changes when the law is applied.
What are De Morgan's Laws particularly useful for?
Rewriting logic circuits using only NAND or NOR gates.
De Morgan's Laws allow a circuit to be implemented using only NAND or gates.
De Morgan's Laws allow a circuit to be implemented using only NAND or NOR gates.
Give two reasons to use De Morgan's Laws.
They make circuit design more efficient and cost-effective, and they are essential where NAND or NOR logic is cheaper or faster to implement.
Where are De Morgan's Laws commonly used?
In microprocessor and memory device design, for example flash drives.
Define Karnaugh map.
A Karnaugh map is a tool used for simplifying Boolean algebra expressions, offering a visual method of grouping together expressions with common factors.
What makes a Karnaugh map useful?
The format of the map makes it easy to identify and eliminate redundant terms.
Where are Karnaugh maps used?
In digital logic design, such as simplifying the logic of digital circuits.
What are the four steps of using a Karnaugh map?
Create the map, group the 1s, simplify each group, then combine the group expressions with OR to get the final simplified expression.
What does each cell in a Karnaugh map correspond to?
A term in the Boolean expression. Cells are filled with 1s and 0s corresponding to the output of that term.
How do you fill in a Karnaugh map from an expression?
Split the expression at each OR into subterms, then put a 1 in every cell where that subterm would be TRUE.
When mapping A OR B on a two-variable Karnaugh map, which cells get a 1?
Every cell where A is 1, and every cell where B is 1.
What shape must each group on a Karnaugh map be?
A rectangle.
Groups on a Karnaugh map must be in shape.
Groups on a Karnaugh map must be rectangular in shape.
What sizes can a Karnaugh map group be?
The size must be a power of 2, so a group contains 8, 4, 2 or 1 ones.
True or False?
Karnaugh map groups must have exactly 4 cells.
False.
A group's size must be a power of 2, so it can contain 8, 4, 2 or 1 ones.
How large should Karnaugh map groups be?
As large as possible.
True or False?
A cell on a Karnaugh map can only belong to one group.
False.
Groups can overlap, so a cell can be part of multiple groups.
What happens at the edges of a Karnaugh map?
The grid wraps round in all directions, so groups can wrap round.
How do you write the simplified expression for a group?
It consists of the variables that remain constant in all the terms in that group.
The simplified expression for a group consists of the variables that remain .
The simplified expression for a group consists of the variables that remain constant.
If a variable changes within a group, what happens to it?
It is eliminated from that group's term, because only the variables that stay constant are kept.
In a group where A is 1 in every cell, and B and C both change, what does the group represent?
A
In a group where B is 0 in every cell, and A and C both change, what does the group represent?
NOT B
How do you build the final simplified expression?
Combine the simplified expressions from each group using OR operations.
By signing up you agree to our Terms and Privacy Policy