4.6.4 Logic Gates Flashcards
Define Logic Gates.
A physical or simulated electronic circuit that takes one or more binary inputs and produces a binary output based on a logical rule.
Define Boolean Logic.
A type of algebra where variables are either true(1) or false(0).
Define Truth Table.
A table that shows all possible input combinations for a logic gate or expression, and their corresponding output.
What is an example of a Boolean operation?
AND, OR, NOT…
What is a logical operator?
AND (.)
OR (+)
NOT (-)
What is a Boolean Expression?
A way to write the logic of a circuit using symbols.
In a binary half adder, what logic gate represents the Sum bit?
XOR gate.
In a binary half adder, what logic gate represents the carry bit?
AND gate.
How many inputs does a binary full adder need?
3, 2 for the values to add and the 1 carry from the previous column.
What is a D type flip flop?
It is a circuit that stores one bit of data. It is a memory unit.
It is used to store a value until the next clock cycle.
What are the inputs in a D type flip flop?
D - data ( the value you want to store)
CLK - clock ( controls when the value on D is stored)
What is the output on a D type flip flop?
Q - holds the stored value.
What happens when clock signal ticks?
On the rising edge of the clock ( when the clock changes from 0 to 1), the value currently on D is copied to Q. This value stays stored at Q, even if D changes.
The value only changes again on the next rising edge of the clock.
How is the D type flip flop gate helpful?
It creates stable, timed storage.
Flip flop only updates at the exact moment the clock ticks.
Used in registers, memory and counters to store and control binary data reliably.