Logic Gates Flashcards
What is a gate?
A device that performs a basic operation on electrical signals
Consist of transistors
What are circuits?
Gates combined to perform more complicated tasks
What are boolean expressions?
Uses Boolean algebra, a mathematical notation for expressing two-valued logic
What are logic diagrams?
A graphical representation of a circuit; each gate has its own symbol
What are truth tables?
A table showing all possible input values and the associated output values
What is functional notation?
Uses a function name followed
by a list of arguments in place of
the operands used in Boolean
expressions
What are the two main roles of transistors?
amplifier or binary switch
What is a NOT gate? What are notations?
accepts one input signal (0 or 1) and returns the opposite signal as output, sometimes referred to as an inverter
X= A′= Ā= ¬A
Why do we need to use transistors?
need to be able to implement the logic
functions in hardware and need to be able to pass the output
of one function to an input of another
they are power efficient and fast
What is an AND gate? Notation?
accepts two signals (0 or 1)
returns a 1 if both signals are one, if not it returns a 0
X=A*B
What is an OR gate? Notation?
accepts two signal (0 or 1)
returns a 0 if both inputs are zero otherwise it outputs a 1
X= A + B
What is the NAND gate? Notation?
(NOT of AND gate)
accepts two input signals, if both are 1 the output is 0 otherwise the output is 1
X=(A*B)’
What is the NOR gate? Notation?
(NOT of OR gate)
accepts two inputs, If both are 0, the output is 1; otherwise, the output is 0
X = (A+B)’
Can some gates be generalized to accept three or more input values?
yes
What would a three input AND gate act like?
will produce an output of 1 only if all input values are 1